研究了两天,终于找到window ce和mobile下dll的创建和调用方法,记得,在定义源型的时候一定要使用 extern "C" _declspec(dllexport) int sum(int a, int b) { return a+b; } 不要只在头文件里定义,否则在调用时会出错. 同事们,一定要注意了.
查看dll中导出函数及地址。 This utility displays the list of all exported functions and their virtual memory addresses for the specified DLL files. You can easily copy the memory address of the desired function, paste it into your debugger, and set a breakpoint