Re: Cannot load 32-bit DLL "name" (Error 1753)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

Perhaps a missing dependent dll ? Open MyDll.dll with \Program Files\Microsoft Visual Studio\Common\Tools\DEPENDS.EXE to verify.

Abdeslam

beihong@xxxxxxxxx a écrit :
Here is the code. Thanks

in .cpp:
long __cdecl MyDLLFunction()
{
}

in .def:
LIBRARY MyDll
EXPORTS
MyDLLFunction@1

in VFP:
DECLARE LONG MyDLLFunction IN "J:\Carol\MyDll.dll"
ReturnCode=MyDLLFunction()

Dan Freeman wrote:

Can you post the code that's throwing this error?

Dan

beihong@xxxxxxxxx wrote:

Hi,



I created a dll using MFC AppWizard(dll). I had a test program writen
in VC++ 6. The dll worked fine with the test program. But I got
"Cannot load 32-bit DLL "name" (Error 1753)" in FoxPro. I am new to
VFP. Could anyone shed some light on this? Thanks in advance,

Carol


.