Hi all, I'm using C# to write the windows mobile 2003 application and deployed on the smartphone.
I used the method
[DllImport ("vam.dll")]
public extern void detect(string xmlFile, string imgName);
to import the dll into the application "Debug" folder.
i call the dll funcion using
detect("xmlFile", myImage);
My application is to detect the region on the image file automatically on the desktop and it runs successfully on the desktop version.
Now, i have to migrate my existing automatic detecion of region on desktop to the smartphone. I using the same method mentioned above, there is no compile error found. But, when i run on the smartphone, I get the error while running.
The error is "NotSupported"
Is it due to the dll problem If i remove the line where i call the dll function, it works fine.
I've put the dll in the same folder of the application folder in smartphone. I cannot put the dll in CAB file.
Can somebody tell me what's e problem