>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.
>
They aren't really parameters, they're properties - it happens that you can pass in parameters (arguments supplied to a function or method invocation) that are stored in properties of the object if you pass them in when the object is created.
>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.
>
Yep, just like other properties of both COM and non COM objects.