Friday, February 10, 2012

Cannot find PInvoke DLL SqlCeMe30.dll

I create a smll app that should created a database in the hand held, it compiles without problem but when I debugg it

I ge the error message: Cannot find PInvoke DLL SqlCeMe30.dll

I found such dll to be located in:C:\Program Files\Microsoft SQL Server 2005 Mobile Edition\Device\Mobile\v3.0\wce500\x86 among other folders.

Why then is "not found"?

Soft reset your device, reinstall the SQL Mobile CAB(s) and try again. I have seen issues on WM5 devices where it appears that SQL Mobile cannot find DLLs that are actually there. I've seen it under low memory situations on the device and immediately following errors during replication or RDA.

Darren

|||

hi, i have found this issue very frequencly happened on the WM5 devices.

I believe softreset and reinstall is a better way but it is cause by the programming behaviour which is not apply logically. For example create a lot of object and did not dispose properly. Is there anyother way to avoid the low memory occur by clear off the prvious undispose object or thread that are still runnning in the background?

Please advise.

Thanks

|||

Maybe this will be helpful: (LoadLibrary) - http://forums.microsoft.com/msdn/showpost.aspx?postid=1349826&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=1

No comments:

Post a Comment