Aamir Iqbal

hello all,

I am developing a windows mobile application ( Pocket PC 2003 ) using Visual Studio 2005.

When i run the application(F5) to read the contents(Appointment,Contacts etc), i get this error message:

Can't find an Entry Point '#20' in a PInvoke DLL 'cemapi.dll'.

Can anyone please help me in resolving this error

thanks in advance

Re: Smart Devices General Resolve this error::Can't find an Entry Point '#20' in a PInvoke DLL 'cemapi.dll'.

Ilya Tumanov

I would guess you¡¯re trying to use classes from ¡°Microsoft.WindowsMobile.PocketOutlook¡± namespace. These classes are only supported on WM 5.0 and above, you can¡¯t use them in older devices as OS has no hooks for them (that¡¯s why you¡¯re getting this exception).

If for some reason you can¡¯t drop support for PPC 2003 (which is pretty much dead) you have to use POOM COM interface instead.