Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi Ed,
Thanks. I guess I have not worked with COM where I had to pass parms.
But your example told me what I neede to know. This works:
oHPA32N=CreateObject("Hpa32n.dllClass")
oHPA32N.HPAPath = 'D:\HPA'
oHPA32N.Profile = Space(19)+'1'
ETC.
ErrorMsg = oHPA32N.IntializeDLL()
? ErrorMSg Returns '00 OK' now.
Thanks for everything. I thought the parms had to be passed within the (..) in the CreateObj statement.
The difference between the Set Parms and the Get parms is that once the object is created the get parms are available via ? oHPA32N.Settings or lcSettings = oHPA32N.Settings. Which I am now able to do thanks to you and the others.
I can now go on the the other functions.
Very Appreciative,
Paige
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement