Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HPA DLL
Message
De
30/11/1999 14:28:03
 
 
À
30/11/1999 14:02:02
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00296825
Message ID:
00297050
Vues:
38
>Hi Ed,
>
>I've modifed my .prg as follows:
>
>SET Path to d:\hpa32c && That's where it is
>

There's no need to use a SET PATH - CREATEOBJ() resolves the COM server through the registry.

I assume that you have the COM object installed and registered properly already...

>oHPA32N=CREATEOBJECT('Hpa32n.dllClass')
>errormsg=ABC.InitializeDLL()

If you name the object oHPA32N, then you'd say:

errormsg = oHPA32N.InitializeDLL()
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform