>I'm looking for a way to communicate with Verifone Card Terminal ocx or dll.
>If upt.ocx is added to form, About box is shown properly.
>If run from prg file using
>
>
>LOCAL upt as UPT.UptCtrl.1 OF upt.ocx
>upt= CREATEOBJECT('UPT.UptCtrl.1','upt.ocx')
>* how to fix error in next line: OLE error code 0x8000ffff: Catastrophic failure.
>upt.AboutBox()
>RETURN
>
>AboutBox call causes error
>
>OLE error code 0x8000ffff: Catastrophic failure.
>
>how to fix this so that this ocx can called from prg ?
Can you create a visual class with this object added and instantiate that class in your code?
If it's not broken, fix it until it is.
My Blog