[C# & C++][POOM wrapper exemple] Does someone use this sample correctly

Hi,
I download the Microsoft POOM wrapper exemple but i can't make it run.
I get the famous "missingMethodeExcepetion".
I look at the C++ dll of the exemple and all entry points are ok (good names)
No compilation errors no link error no warning.

But when i run my app i get this excepetion.
So is anybody have a working wrapper ?

Here is the sample :
http://www.opennetcf.org/samples/POOM.zip

[545 byte] By [lmussier] at [2007-12-16]
# 1
There would be two versions of the c++ dll, make sure you have the correct one - X86 for VS2003 Emulator, ARM for a device.
On the other hand you may want to try the community edition of this wrapper:-
http://www.inthehand.com/WindowsMobile.aspx

Peter

PeterFoot at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 2
Sorry to bring this back up, but as I have a majority of clients on the Symbol MC50 (WM4.2) devices, I need to be able to make use of these POOM wrapper classes.

What I notice with the example app is that is uses the PocketOutlook.dll which I can't find in the Windows directory of my device. I.E...

[ DllImport("PocketOutlook.dll", EntryPoint="ITask_get_Categories") ]
private static extern int do_get_Categories(IntPtr self, ref IntPtr rbzCategories);

I thought it was the PIMSTORE.dll file that contained all Contact, Task, Appointment information?

Tryst

Tryst at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 3

That wrapper contains a native dll PocketOutlook.dll which must be deployed - it contains static functions which the C# code can P/Invoke into - the reason for this was that .NETCF v1.0 had no support for COM interop.

Peter

PeterFoot at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 4
Thanks for the reply, Peter.

I have since read the readme1st.txt file :) and have openned up the pocketoutlook project in embedded Visual C++ 4.0, and I get the following message...

Could not find the file pimstore.h.

I have installed the Windows CE SDK.

How can I get this file into the project/ or configure something so that I can get the project to see this file?

Thanks

Tryst at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...