P
Polaris
Any one can show me the steps to call and debug a C++ DLL inside a C#/.NET
project?
I tried using the PInvoke service with [DllImport
("C:\\Proj\\Bin\\MyCppDll.dll")] and also the prototype of the function I
like to call: public static extern int FuncFromCppDll(); but got error
message:
An unhandled exception of type 'System.EntryPointNotFoundException' occurred
in CSharpProj.exe
Additional information: Unable to find an entry point named FuncFromCppDll
in DLL C:\Proj\Bin\MyCppDll.DLL.
Any help/hint is appreciated.
TIA
PS: Once the call is successful, could I directly debug into the C++ Dll
from within the C# code? How can I inform the C# project as to where to look
for the source code of the C++ Dll?
project?
I tried using the PInvoke service with [DllImport
("C:\\Proj\\Bin\\MyCppDll.dll")] and also the prototype of the function I
like to call: public static extern int FuncFromCppDll(); but got error
message:
An unhandled exception of type 'System.EntryPointNotFoundException' occurred
in CSharpProj.exe
Additional information: Unable to find an entry point named FuncFromCppDll
in DLL C:\Proj\Bin\MyCppDll.DLL.
Any help/hint is appreciated.
TIA
PS: Once the call is successful, could I directly debug into the C++ Dll
from within the C# code? How can I inform the C# project as to where to look
for the source code of the C++ Dll?