Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing boolean parameters in DLLs
Message
From
17/07/2003 16:07:30
 
 
To
17/07/2003 16:05:23
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00811175
Message ID:
00811262
Views:
13
If it's an ActiveX, you'll need to know the class name. Have you tried looking in the registry for any references to "3PartyDll"?


>the same as before. just more readable..
>
>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
>
>
>>>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