hi,
I have a native C++ dll and i want to call it from an atl dll.I have included the necessary header files and libraries but it doesn't work. Could you tell me the steps to do this operation?
User Profile
Collapse
-
how to use a native C++ dll in an ATL dll
-
bltfr started a topic Attempted to read or write protected memory while importing function from c++ dllin CAttempted to read or write protected memory while importing function from c++ dll
hi,
I have a native c++ dll and i am trying to import a function of the class in the dll to use it in c# so i wrote a wrapper :
Code:public struct myclassUnman{ public: [DllImport("mydll.dll", EntryPoint="??0myclass@@QAE@XZ", CallingConvention=CallingConvention::ThisCall)] static void ctor(myclassUnman*); [DllImport("mydll.dll",
No activity results to display
Show More