I am trying to read data from a sensor to the pocket pc through a
flash interface. The sensor came with a DLL which exports the basic
functions for data acqusition from the sensor. To initialize the
sensor, I have to pass the calling app's application handle to the
sensor APIs. How can I do that?
Thanks,
Shan
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:<uF**************@TK2MSFTNGP10.phx.gbl>...
Shan,
I would take this to mean that the GetHINSTANCE method is not supported
on the compact framework. You will have to find some other way of getting
the application instance handle and passing it to whatever API you are
calling.
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Shan" <ar****@yahoo.ca> wrote in message
news:22*************************@posting.google.co m... Hello,
I am developing an application for pocket PC. I tried to use the
System.Runtime.InteropSerices.Marshal class. But I could not use the
GetHINSTANCE method in my code. I received an error saying
"'System.Runtime.InteropSerices.Marshal' does not contain a definition
for GetHINSTANCE. Any pointers will be helpful
Thanks,
Shan