Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use a DLL
Message
From
04/04/2000 22:35:51
 
 
To
31/03/2000 02:18:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00352607
Message ID:
00355458
Views:
16
They are both on the Visual Studio CDs. Anyway, you probably have the quickwatch program. Just right click on the dll while you're in Windows Explorer.

Vlad

>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
Reply
Map
View

Click here to load this message in the networking platform