Hi,
I'm trying to call a MFC DLL function from C# code, but I just don't know how to do it.
I've got the DLL's function names using "Dependency Walker" but they look like this:
?AddApl@CDocsHe adings@@QAEHPAV CDocsApl@@@Z
?AddItem@CDocsH eadings@@QAEHPA VCDocsItems@@H@ Z
?AddNew@CDocsHe adings@@UAEXXZ
?AddRef@CDocsHe adings@@QAEXDVC String@@@Z
.....

I've got the C++ header files used to make the DLL, so I know how many parameters and what parameter types the DLL's functions expect.
Any idea on how can I accomplish this?
Alejandro Gutierrez
I'm trying to call a MFC DLL function from C# code, but I just don't know how to do it.
I've got the DLL's function names using "Dependency Walker" but they look like this:
?AddApl@CDocsHe adings@@QAEHPAV CDocsApl@@@Z
?AddItem@CDocsH eadings@@QAEHPA VCDocsItems@@H@ Z
?AddNew@CDocsHe adings@@UAEXXZ
?AddRef@CDocsHe adings@@QAEXDVC String@@@Z
.....
I've got the C++ header files used to make the DLL, so I know how many parameters and what parameter types the DLL's functions expect.
Any idea on how can I accomplish this?
Alejandro Gutierrez
Comment