B
baronics
I've been writing a Win CE 5.0 app in C# and testing in VS 2003 with the
"Windows CE .NET Emulator" as my target.
As long as I stay within .NET, I'm fine.
I just added code that calls an unmanaged function via
System.Runtime.InteropServices. Even though my unmanaged DLL is loaded along
with my exe in the Emulator's file system, I always get
"MissingMethodException" when calling any function within the DLL. I
downloaded numerous examples from the web and always get the same result.
The unmanaged DLL was built using eMbedded Visual C++ 4.0 with the emulator
target.
Now, I tried running the "STANDARDSDK_500 - SDK Emulator" version
4.1.0.(Build 14) as my target. The first time I deployed my app, it went to
load the .NET Compact framework and popped up 2 separate times a warning
that the environment I was installing on might not allow .NET to run
properly. I let it install anyway. According to cgacutil, I'm running
1.0.2268.00.
Now, all my unmanaged calls work fine.
Can someone explain this to me?
I prefer the CE .NET emulator because it looks to be more full featured with
a DOS shell and other extras that the SDK emulator doesn't have.
baronics.
"Windows CE .NET Emulator" as my target.
As long as I stay within .NET, I'm fine.
I just added code that calls an unmanaged function via
System.Runtime.InteropServices. Even though my unmanaged DLL is loaded along
with my exe in the Emulator's file system, I always get
"MissingMethodException" when calling any function within the DLL. I
downloaded numerous examples from the web and always get the same result.
The unmanaged DLL was built using eMbedded Visual C++ 4.0 with the emulator
target.
Now, I tried running the "STANDARDSDK_500 - SDK Emulator" version
4.1.0.(Build 14) as my target. The first time I deployed my app, it went to
load the .NET Compact framework and popped up 2 separate times a warning
that the environment I was installing on might not allow .NET to run
properly. I let it install anyway. According to cgacutil, I'm running
1.0.2268.00.
Now, all my unmanaged calls work fine.
Can someone explain this to me?
I prefer the CE .NET emulator because it looks to be more full featured with
a DOS shell and other extras that the SDK emulator doesn't have.
baronics.