J
james.nelson.ii
I have a .dll program I created in VS2005 C++ that is referencing
an .lib file from an API. My main code is in C#, for Windows Mobile
5.0 Pocket PC. The C# program uses the following lines of code to
PInvoke the .dll:
[DllImport("Sample.dll", EntryPoint="StartHere")]
public static extern bool StartHere();
The .dll uses a .def file, which is simply:
LIBRARY "Sample"
EXPORTS
StartHere @1
Right now, I'm getting a "Can't find PInvoke DLL 'Sample.dll'." error
message during runtime. I'm trying to test directly on a Pocket PC
device from VS2005.
Those are pretty much all of the specifics I can think of at this
moment. Any suggestions?
an .lib file from an API. My main code is in C#, for Windows Mobile
5.0 Pocket PC. The C# program uses the following lines of code to
PInvoke the .dll:
[DllImport("Sample.dll", EntryPoint="StartHere")]
public static extern bool StartHere();
The .dll uses a .def file, which is simply:
LIBRARY "Sample"
EXPORTS
StartHere @1
Right now, I'm getting a "Can't find PInvoke DLL 'Sample.dll'." error
message during runtime. I'm trying to test directly on a Pocket PC
device from VS2005.
Those are pretty much all of the specifics I can think of at this
moment. Any suggestions?