<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for How Win32 app calls WPF dll (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/446259-how-win32-app-calls-wpf-dll/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for How Win32 app calls WPF dll (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/</link></image><description>How Win32 app calls WPF dll</description><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/</link><language>en-us</language><pubDate>Tue, 02 Dec 2008 16:43:00 GMT</pubDate><lastBuildDate>Tue, 02 Dec 2008 16:43:00 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Re: Re: Re: How Win32 app calls WPF dll</title><description>Hi Vesuvius (are you Italian? :D)&lt;br&gt;I'm trying to create a Win32 Application and I'd like to create also a WPF dll separately.&lt;br&gt;So whenever I call my dll from my Win32 app it will do something.&lt;br&gt;I imported the dll file in my Win32 project with all the referencies but I'm not able to call the dll and show it in a window.&lt;br&gt;I hope I'm fulfilling,&lt;br&gt;Thanks a lot,&lt;br&gt;Carmelo.&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446446</link><pubDate>Tue, 02 Dec 2008 16:43:00 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446446</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446446/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi Vesuvius (are you Italian? :D)I'm trying to create a Win32 Application and I'd like to create also a WPF dll separately.So whenever I call my dll from my Win32 app it will do something.I imported the dll file in my Win32 project with all the referencies but I'm not able to call the dll and show&amp;#8230;</evnet:previewtext><dc:creator>Carmelo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446446/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: How Win32 app calls WPF dll</title><description>Why are you trying to do this? Surely if you are writing something from scratch you may as well use the 1 tech, as your application is easier to maintain that way.&lt;br&gt;&lt;br&gt;If I was upgrading a Winforms application, then I'd look at interop. Is this mostly a win32 app or a WPF one?&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446321</link><pubDate>Mon, 01 Dec 2008 18:47:23 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446321</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446321/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Why are you trying to do this? Surely if you are writing something from scratch you may as well use the 1 tech, as your application is easier to maintain that way.If I was upgrading a Winforms application, then I'd look at interop. Is this mostly a win32 app or a WPF one?</evnet:previewtext><dc:creator>vesuvius</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446321/Trackback.aspx</trackback:ping></item><item><title>Re: Re: How Win32 app calls WPF dll</title><description>Hi everybody and thanks for the replies,&lt;br&gt;maybe I haven't been too clear...&lt;br&gt;I've already read about "&lt;b&gt;WPF and Win32 Interoperation Overview&lt;/b&gt;" and I've tried the "&lt;a href="http://msdn.microsoft.com/en-us/library/ms771499.aspx"&gt;Win32 Clock Interoperation Sample&lt;/a&gt;".&lt;br&gt;So I created my WPF dll and I put it in my Win32 app.&lt;br&gt;Now I have to write the code in my Win32 app in order to call/run my dll added, but I'm not able to do it... :(&lt;br&gt;&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446299</link><pubDate>Mon, 01 Dec 2008 15:58:18 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446299</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446299/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi everybody and thanks for the replies,maybe I haven't been too clear...I've already read about "WPF and Win32 Interoperation Overview" and I've tried the "Win32 Clock Interoperation Sample".So I created my WPF dll and I put it in my Win32 app.Now I have to write the code in my Win32 app in order&amp;#8230;</evnet:previewtext><dc:creator>Carmelo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446299/Trackback.aspx</trackback:ping></item><item><title>Re: How Win32 app calls WPF dll</title><description>&lt;A href="http://msdn.microsoft.com/en-us/library/ms742522.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms742522.aspx&lt;/A&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446286</link><pubDate>Mon, 01 Dec 2008 15:12:59 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446286</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446286/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>http://msdn.microsoft.com/en-us/library/ms742522.aspx</evnet:previewtext><dc:creator>Scott</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446286/Trackback.aspx</trackback:ping></item><item><title>Re: How Win32 app calls WPF dll</title><description>Carmelo, a WPF application compiles to a .exe which can be executed alone.&lt;br&gt;&lt;br&gt;If you have produced a DLL, tyhen it seems that you have created a WPF Control, which fo simplicity's sake, should be used in a WPF project (you need to reference it)&lt;br&gt;&lt;br&gt;If you need to use it in Winforms, then you need to look up WPF / Winforms Interop. (Again, you need to add a reference to the dll you created, copying it in is not sufficient)&lt;br&gt;&lt;br&gt;If it is a Win32 MFC app, then I don't think WPF will interop with that, but I could be wrong.&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446280</link><pubDate>Mon, 01 Dec 2008 15:04:28 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446280</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446280/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Carmelo, a WPF application compiles to a .exe which can be executed alone.If you have produced a DLL, tyhen it seems that you have created a WPF Control, which fo simplicity's sake, should be used in a WPF project (you need to reference it)If you need to use it in Winforms, then you need to look up&amp;#8230;</evnet:previewtext><dc:creator>John</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446280/Trackback.aspx</trackback:ping></item><item><title>Re: How Win32 app calls WPF dll</title><description>It wasn't all that clear.&amp;nbsp; An "application" is an EXE, not a DLL.&amp;nbsp; If you really did create a WPF application, just use one of the many "spawn" APIs to start the WPF application (CreateProcess, spawn, ShellStart, etc.).&amp;nbsp; If, however, you've created a WPF user control or something similar, and what to display that from a Win32 application, you'll need to use interop APIs.&amp;nbsp; &lt;A href="http://msdn.microsoft.com/en-us/library/ms742522.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms742522.aspx&lt;/A&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446279</link><pubDate>Mon, 01 Dec 2008 15:02:23 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/446259-How-Win32-app-calls-WPF-dll/?CommentID=446279</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446279/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>It wasn't all that clear.&amp;nbsp; An "application" is an EXE, not a DLL.&amp;nbsp; If you really did create a WPF application, just use one of the many "spawn" APIs to start the WPF application (CreateProcess, spawn, ShellStart, etc.).&amp;nbsp; If, however, you've created a WPF user control or something&amp;#8230;</evnet:previewtext><dc:creator>William Kempf</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446279/Trackback.aspx</trackback:ping></item></channel></rss>