Reputation: 133
I have an application that is written for windows mobile 6.0. Now the company moved the same application to windows ce Motorola MC32N0 .The application
works fine for most of the time. Sometimes it crashes.
I don't know why this is happening. i am really stuck in this.Any help would be appreciated.It is a very big project. so i am not posting any code.
sometime in the error log i hva the error
Can't find PInvoke DLL 'rfidapi32.dll'. System.MissingMethodException: Can't find PInvoke DLL 'rfidapi32.dll'. In the reference the dll syMbol.RFID3.Device is already added.
Upvotes: 0
Views: 1012
Reputation: 2210
It seems that your CE image is missing a dll or, at least, an entry point inside it. What you reference in .NET is a wrapper that links the DLL at runtime, so using it is not enough, if the DLL is not there (or it's a different one) it will not work. Check that the DLL is inside the \Windows folder or inside one of the folders referenced in the [HKEY_LOCAL_MACHINE\Loader] SystemPath registry entry.
Upvotes: 0