Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing boolean parameters in DLLs
Message
From
17/07/2003 16:03:24
 
 
To
17/07/2003 15:56:10
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00811175
Message ID:
00811259
Views:
14
>Fred,
>Here are the specifications:
>
>Name 3PartyDll.dll (Active X Object)
>Version 2.1.3
>Environment Win32
>
>Calls Arguments Type Explanation
>
>Signal ComPort String "com1"
> Filename String "\Myfile.txt"
> Result Integer See the Return Codes List
> ExResult String Returns the 40 Digit Hex Signature SupError Boolean
> Pass String Any String is accepted, even ""
> Dos Boolean Selects the Dos Codepage (437) or Windows
>

I'm sorry, but I have no idea. If what you tried as a DECLARE didn't work, and what you've provided is insuffcient to go on to treat it as an ActiveX component, then I guess you need to get in touch with the manufacturer of the product.



>>>Fred,
>>>I know to CREATEOBJECT() with classes. Not with DLLs
>>>
>>>Can you please tell me how to do it in this case.
>>>The name of the DLL is 3PartyDll.dll and the function Signal.
>>>
>>
>>There needs to be more information.
>>
>>It's usually of the form:
>>
>> oObjRef = CREATEOBJECT("dllname.classname")
>>
>>and then you:
>>
>> oObjRef.FunctionName(parameter1, parametern)
>>
>>
>>
>>
>>>Thanks,
>>>
>>>
>>>
>>>>>Stephane,
>>>>>
>>>>>The name of the DLL is 3partyDll.dll
>>>>>The developer describes it as "Active X Object"
>>>>>What id the difference between a Windows DLL and a COM DLL ?
>>>>
>>>>An ActiveX is accessed by CREATEOBJECT(). A Windows DLL can be accessed using DECLARE.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform