T
Tim Johnson
I've finally gotten my legacy C++/MFC dll working again under WM5 and VS2005
after numerous problems, and my legacy C++ test app works too. The dll has
both an exported class with methods and an exported set of "flat" API
functions. I can call both from my C++ app.
I also have an existing C# app, which uses P/Invoke to call into the dll.
I've recompiled this under VS2005 too with no reported problems. But when I
run it under WM5 I now get "Can't find an Entry Point 'myMethod' in a
PInvoke DLL 'myclass.dll'". Under Windows Mobile and VS2003 this all works
fine. Note this isn't a "MissingMethod" exception.
Any thoughts on what causes my exported functions (verified by dumpbin
/Exports) to be callable from C++ but not C#/PInvoke?
after numerous problems, and my legacy C++ test app works too. The dll has
both an exported class with methods and an exported set of "flat" API
functions. I can call both from my C++ app.
I also have an existing C# app, which uses P/Invoke to call into the dll.
I've recompiled this under VS2005 too with no reported problems. But when I
run it under WM5 I now get "Can't find an Entry Point 'myMethod' in a
PInvoke DLL 'myclass.dll'". Under Windows Mobile and VS2003 this all works
fine. Note this isn't a "MissingMethod" exception.
Any thoughts on what causes my exported functions (verified by dumpbin
/Exports) to be callable from C++ but not C#/PInvoke?