Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dll
Message
From
18/02/2003 06:54:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Re: Dll
Miscellaneous
Thread ID:
00754378
Message ID:
00754391
Views:
23
>>>We are trying to use a third party activeX control the control is a dll file, it does not have to be registered with windows the file is just copied into the windows folder.
>>>
>>>I am having problems talking to the dll I have tried:
>>>
>>>ohhcom = CREATEOBJECT("HH32commDriver")
>>>
>>>and
>>>
>>>ohhcom = NEWOBJECT("HH32commDriver")
>>>
>>>trying this I receive an Class definition HH32commDriver is not found.
>>>
>>>I can open the dll in the class browser and see all the methods and events has anyone any ideas on how to talk to the control?
>>>
>>>Thanks
>>>
>>>John
>>
>>Did you try :
>>ohhcom = CREATEOBJECT("DLLname.HH32commDriver")
>>Cetin
>
>Hi Cetin
>
>HH32commDriver is the name of the dll.

If it's a COM dll then (should be as it's an ActiveX dll):
ohhcom = CREATEOBJECT("HH32commDriver.ClassName")

else :
declare retValType FunctionName in HH32commDriver paramlist
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform