G
greg
Hello,
I'm having problems loading my MFC exported function from my C# Web
service. I'm using the DllImport to load the dll and declare the
function like the following:
[DllImport("MyDLL.dll")]
public extern static int MyFunction();
and in the MFC dll it is exported like the following:
__declspec(dllexport) int MyFunction();
When I try to run the web service that makes the call to MyFunction I
get a "Unable to Load DLL" error - what all am I missing? Is their
anything special I need to be doing for loading an MFC Dll from a C#
Web Service?
Thanks,
Greg
(e-mail address removed)
I'm having problems loading my MFC exported function from my C# Web
service. I'm using the DllImport to load the dll and declare the
function like the following:
[DllImport("MyDLL.dll")]
public extern static int MyFunction();
and in the MFC dll it is exported like the following:
__declspec(dllexport) int MyFunction();
When I try to run the web service that makes the call to MyFunction I
get a "Unable to Load DLL" error - what all am I missing? Is their
anything special I need to be doing for loading an MFC Dll from a C#
Web Service?
Thanks,
Greg
(e-mail address removed)