General information
Category:
Coding, syntax & commands
Yes, this DLL was written in C++. I have not depend.exe, dumpbin.exe. I will seek on inet this programs.
Thanks
Maros Klempa
>The error is usually caused because the dll function names are case sensitive.
>
>It may also be a C++ dll (since it works with a C++ program). A C++ dll should
>export functions in C style to be visible
>from VFP. If it exports functions in C++ style, then the function names are
>encoded (mangled) and they can
>be used only from C++ programs.
>
>The easiest way to diagnose the problem is to look into the dll and see what
>functions are exported.
>To do it, you can use the Quick Viewer, the Dependency Walker (depend.exe)
>from the WinNT Resource Kit, or the
>dumpbin.exe program installed by VC++. There are any other dll viewers, but,
>usually, at least one of the above
>is available on any development computer.
>
>Vlad
>
>>I have DLL named SIP.DLL. This DLL contain function SendLine.
>>I want use it. In VFP I use command
>>DECLARE INTEGER SendLine IN SIP.DLL STRING cPort, STRING cString, STRING cAddress, STRING cFlowControl
>>This command work o.k. Next I use command
>>nRetVal=Sendline('1','Text','1')
>>When I use this command VFP return error 'Cannot find entry point
>>SendLine in the DLL'. What does it mean?
>>Name of function SendLine is correct, because I have another program
>>in C++ which use SendLine and this C++ program work o.k.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only