Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dll
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Re: Dll
Miscellaneous
Thread ID:
00803718
Message ID:
00803727
Views:
6
Hi Machmod,

First, you've to find out if this DLL is Windows DLL or COM/Activex DLL. If it's Windows DLL, you'll use DECLARE staement to acces functions inside it. Keep in mind that name of the function is case-sensitive in declare. Otherwise you'll have to register DLL and either drop it on the form or use CREATEOBJECT() to work with it.

>Hi All:
> I am using a DLL from skipjack a third party software vendor. The name of the DLL I am using is SJComAPI. When I run my program I get an error. The error is 'Cannot find entry point AuthorizeEX in the dll.'
>
>Below is my code:
>
>Set defa to D:\Temp\Lib
>Declare Integer AuthorizeEX IN SJComAPI AS DialEntry ;
> String @ PhoneNum, String @ CrdNum
>
> PhoneNum = '2527830'
> CrdNum = 'abc123'
>
> lnRtn = DialEntry(@PhoneNum,@CrdNum)
> Clear DLLS
>
>Do I need to registor the SJComAPI dll first? If yes, what are the steps?
>IF not, what am I doing worng?
>Thanks
>MA
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform