Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATEOBJECT returning empty object
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00563897
Message ID:
00564108
Views:
21
The other objects that I create from the same vendor do let me see the properties after CREATEOBJECT in VFP6. I left out the error I get when I try to check any properties after the CREATEOBJECT because I thought it was because of the empty object. The error is "OLE error code 0x80000ffff: Unexpected Failure".

Any further thoughts.

>Since that is an OLE object, you will not see any PEMs in VFP6 if you look at it in the debugger. Same goes for creating a Word or Excel object. In VFP 7, I can at least see the props. This does not mean they are not available however.
>
>>I am attempting to use CREATEOBJECT and when I do I get an object with no properties or methods, essentially not creating the object that I was after. From this same vendor I have a couple other objects that I can create and use properly, just one does not work. Any suggestions as to what I can try?
>>
>> oPinPad = CREATEOBJECT('OPOS.PinPad')
>>
>>I have checked the registry entries and all looks ok.
>>
>>I have tried sys(2333,0) and sys(2333,1).
>>I have set _VFP.AutoYield equal to .T. and .F. .
>>I have tried all combinations of the above.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform