<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using POOM with .Net Compact Framework Whidbey Beta1</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx</link><description>Note: Be sure to also read the update to this post . Working with POOM in the Compact Framework is even easier now that version 2 has shipped. ----- One of the areas that I work on in the .Net Compact Framework group is native code interoperability. Now</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Using the POOM IDL</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#210047</link><pubDate>Fri, 06 Aug 2004 21:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:210047</guid><dc:creator>Windows Mobile Team Blog</dc:creator><description /></item><item><title>re: Using POOM with .Net Compact Framework Whidbey Beta1</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#212685</link><pubDate>Wed, 11 Aug 2004 13:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:212685</guid><dc:creator>John Cody</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;I know this is a little off-topic, but I have been beating my head against the wall, and would really appreciate any help anyone can offer :)&lt;br&gt;&lt;br&gt;I designed a mod to eVB that allows it to create apps for both Smartphone 2002 and 2003 devices. Everything works great, eVB apps can use ActiveX components and even call API's of either OS.&lt;br&gt;&lt;br&gt;The only remaing problem I have is trying to use the POOM functions (pimstore.dll) on the Smartphone. I can create the &amp;quot;Pocketoutlook.application&amp;quot; object, but when I try to invoke any method, even &amp;quot;pol.logon&amp;quot;, I get a &amp;quot;Object doesn't support this action 'pol.logon'&amp;quot;.&lt;br&gt;&lt;br&gt;I am not a COM expert, but from my limited understanding of COM, it seems that the pimstore.dll file in Smartphones doesn't support the &amp;quot;IDispatch&amp;quot; interface, which I believe is what eVB needs in order to call the routines in POOM (something to do with late binding?).&lt;br&gt;&lt;br&gt;Again, not being a COM expert, my understanding is that a TypeLib for POOM might just be what eVB needs to properly use the pimstore.dll file. Thats why my hope [to fix this issue] was raised when I saw this article. However, not being much of an eVC developer, I did not know how to fully use the info in this post to fix my issue.&lt;br&gt;&lt;br&gt;I placed a copy of the pimtlb.dll file (typelib for POOM) that is included in the &amp;quot;eVB Runtimes for Pocket PC 2003&amp;quot; CAB file in the \windows directory of my Smartphone, and I have added the typelib's GUID &amp;quot;{4E130E40-7DBE-11D2-8F23-0000F87A4335}...&amp;quot; to the registry of the device, but all POOM calls still fail.&lt;br&gt;&lt;br&gt;The one thing that I am confused about is this...how is eVB suppose to know that there is a typelib on the device when the typelib GUID regkey values doesn't reference the POOM GUID (0505...), and visa-versa? My last guess is that maybe there is some way to add the POOM typelib's GUID to my eVB project file so that my eVB app then becomes aware of the typelib and uses it to make all the POOM calls...but this may just be my mis-understanding of COM interfaces.&lt;br&gt;&lt;br&gt;So, I was hoping that someone could shed some light on my issue and maybe confirm my assumtions, or even offer a solution that will allow eVB to call the functions in the pimstore.dll file in smartphone 2002 and 2003 devices.&lt;br&gt;&lt;br&gt;REWARD: Anyone who provides a solution to this problem will receive a FREE copy of ALL of my apps (&lt;a target="_new" href="http://www.omnisoft.com/products.asp"&gt;http://www.omnisoft.com/products.asp&lt;/a&gt;), expecially my most popular one: John Cody's SATALERT&lt;br&gt;&lt;br&gt;Thanks for any help!&lt;br&gt;-John Cody</description></item><item><title>re: Using POOM with .Net Compact Framework Whidbey Beta1</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#213624</link><pubDate>Thu, 12 Aug 2004 17:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:213624</guid><dc:creator>stevenpr</dc:creator><description>Hi John - I've never used eVB so I'm not sure how great my help will be, but I'm happy to try.  It was my understanding that installing the eVB runtime on a device should take care of registering the POOM type lib for you.  If that's not the case, the C code in my post can help.  Send me an email at stevenpr@microsoft.com and I'd be happy to build and send you an exe you can use to make sure the POOM type lib is registered properly on your Smartphone.  In terms of your question about how eVB knows there's a typelib - basically the discovery of the type lib happens down in COM, so eVB doesn't need explicit knowledge.  When you call a method through IDispatch, the component's IDispatch implementation typically delegates to the typelib so all this should be &amp;quot;hidden&amp;quot; from eVB.  By the way, have you tried using eVB on a PocketPC to call POOM?  That might shed some light on the problem as well.  Anyway, contact me and I'll send you my registration program.  In the meantime I'll try to find someone around here that knows more about eVB.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Steven</description></item><item><title>PocketOutlook and COM Interop</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#213836</link><pubDate>Fri, 13 Aug 2004 02:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:213836</guid><dc:creator>Jeremy Hance</dc:creator><description /></item><item><title>PocketOutlook and COM Interop</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#213837</link><pubDate>Fri, 13 Aug 2004 02:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:213837</guid><dc:creator>Jeremy Hance</dc:creator><description /></item><item><title>PocketOutlook and COM Interop</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#213842</link><pubDate>Fri, 13 Aug 2004 02:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:213842</guid><dc:creator>Jeremy Hance</dc:creator><description /></item><item><title>re: Using POOM with .Net Compact Framework Whidbey Beta1</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#216699</link><pubDate>Wed, 18 Aug 2004 20:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:216699</guid><dc:creator>Paul Kubitscheck</dc:creator><description>Hi Steven,&lt;br&gt;&lt;br&gt;your example provides high value for my work. Thanks! I have sucessfully created pimstore.tlb and pocketoutlook.dll. Afterwards, I created a UseVTable = 1 DWORD value in HKEY_LOCAL_MACHINE\SOFTWARE\.NETCompactFramework. Also successful was the creation of a Appointment item and of some properties in my app:&lt;br&gt;&lt;br&gt;outlookApp.Logon(0);&lt;br&gt;PocketOutlook.AppointmentItem appointment = (PocketOutlook.AppointmentItem)outlookApp.CreateItem((int) PocketOutlook.OlItemType.olAppointmentItem);&lt;br&gt;//appointment.AllDayEvent = true; -&amp;gt;NotSupported&lt;br&gt;//appointment.Start = new DateTime(2004, 9, 15, 15, 0, 0); -&amp;gt;NotSupported&lt;br&gt;//appointment.End = new DateTime(2004, 9, 15, 16, 0, 0); -&amp;gt;NotSupported&lt;br&gt;appointment.Subject = &amp;quot;Paul\'s Birthsday&amp;quot;;&lt;br&gt;appointment.ReminderOptions = PocketOutlook.OlReminderOptions.olVibrate;&lt;br&gt;appointment.ReminderMinutesBeforeStart = 60;&lt;br&gt;appointment.ReminderSet = true;&lt;br&gt;appointment.Location = &amp;quot;Room 53 542&amp;quot;;&lt;br&gt;appointment.Save();&lt;br&gt;outlookApp.Logoff();&lt;br&gt;&lt;br&gt;But, on stetting the properties AllDayEvent, Start, and End, I got a NotSupported exception! What can be the reasion for that?    &lt;br&gt;&lt;br&gt;Best Regards,&lt;br&gt;Paul</description></item><item><title>re: Using POOM with .Net Compact Framework Whidbey Beta1</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#219130</link><pubDate>Mon, 23 Aug 2004 22:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:219130</guid><dc:creator>stevenpr</dc:creator><description>Hi Paul - The reason you are getting the NotSupportedExceptions is that the AllDayEvent, Start and End properties require marshaling types that we haven't implemented support for in Beta1.  Specifically, we don't support Date by value (which is an 8 byte float) or VARIANT_BOOL by value.  We will support these in the next community drop or in the next Beta.  If you need to work around this now, you'll have to use IDispatch which involves registering the type library.  If you decide to go that route feel free to send me an email (stevenpr@microsoft.com) and I'll send you a program to run on your device which will register the POOM type lib.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Steven</description></item><item><title>re: Using POOM with .Net Compact Framework Whidbey Beta1</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#219651</link><pubDate>Tue, 24 Aug 2004 18:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:219651</guid><dc:creator>Jose</dc:creator><description>Thanks for this useful post, can you please send me the project? The email address is jose_simon at hotmail dot com . &lt;br&gt; regards,&lt;br&gt;         Jose</description></item><item><title>Update on “Using POOM with .Net Compact Framework Whidbey”</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#429586</link><pubDate>Thu, 16 Jun 2005 02:48:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:429586</guid><dc:creator>Steven Pratschner's .Net CF WebLog</dc:creator><description>Last summer I wrote a post about how to access the PocketOutlook Object Model (POOM) using the Beta1...</description></item><item><title>Software Information &amp;raquo; Windows Mobile Team Blog : POOM IDL</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#7242722</link><pubDate>Fri, 25 Jan 2008 20:04:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7242722</guid><dc:creator>Software Information » Windows Mobile Team Blog : POOM IDL</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://softwareinformation.247blogging.info/windows-mobile-team-blog-poom-idl/"&gt;http://softwareinformation.247blogging.info/windows-mobile-team-blog-poom-idl/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Whidbey: can't find tlbimp under my 'Windows CE Tools' directory | keyongtech</title><link>http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx#9361332</link><pubDate>Thu, 22 Jan 2009 04:54:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9361332</guid><dc:creator>Whidbey: can't find tlbimp under my 'Windows CE Tools' directory | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/461674-whidbey-cant-find-tlbimp-under"&gt;http://www.keyongtech.com/461674-whidbey-cant-find-tlbimp-under&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>