>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()