Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dll
Message
 
 
À
18/02/2003 06:54:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Re: Dll
Divers
Thread ID:
00754378
Message ID:
00754396
Vues:
18
>>>>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

How do I find the class name?

John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform