Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HPA DLL
Message
From
30/11/1999 14:28:03
 
 
To
30/11/1999 14:02:02
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00296825
Message ID:
00297050
Views:
39
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform