Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Error Code 0x800200009 after create object
Message
 
To
22/11/2012 08:37:45
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01557799
Message ID:
01557857
Views:
30
>>I'm trying to create a multi-threaded DLL that will be used to pass a dataset to C# .NET via XML. I have created my .DLL in VFP and then I went to test it by issuing this command from the command window:
>>
>>
>>oDemo = CREATEOBJECT("comtest.VFPCom")
>>
>>
>>After issuing that command I get an OLE Error. I'm not sure there is enough in that error for anyone to know what I'm doing wrong, but I was wondering if anyone has any pointers on how to debug a COM server like this?
>
>Have you tried AERROR() to find out what error the server is throwing? Also, consider using COMReturnError() in the DLL's error handler to get detailed info back.
>
>Tamar


Hi Tamar,

Since my original post I have created an Error procedure in my project which I have placed inside the define for my OLEPUBLIC class. But it doesn't appear that when I try testing it in VFP with the CREATEOBJECT that it even gets to my error handler code. It is given the OLE error before that even occurs. Any other thoughts would be greatly appreciated.

Thanks,
Don
Don Knoup
don.knoup@ticomix.com
Ticomix, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform