Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM server creation
Message
From
05/06/2001 14:58:06
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00513802
Message ID:
00515329
Views:
13
James,

I just added my AEvent class library and flagged the events I need to OLEPublic. When I attempt to instantiate the classes I get the same 80004005 error message.

Any ideas?

TIA

Rex

>>James,
>>
>>I am in Win 95/98.
>>
>>Here's the latest:
>>
>>I have recreated my ImpactCOM project.
>>
>>First I created a DLL from just the MM base class libraries and programs. I created a CAbstractFactory class successfully.
>>
>>Next I created ImpactCOMObject as a subclass of CApplicationCOM. I set ImpactCOMObject OLEPublic to .T.. When I try to create an ImpactCOMObject instance, I get an:
>>
>> OLE Error code 0x80004005 Unspecified error
>>
>
>Rex, instead of creating your application object, try marking your event object as ole public and creating that instead. Example: oTest= createobj("ImpactCOM.myEvent") Make sure the autorun property is set to false, and then run it manually. The application object is not meant to be created directly. It is used by your bizobjs for support methods and procedures. Another test would be to mark one of your bizobjs as ole public and creating that. You can have more than one object marked as ole public. The ones that are not marked as ole public can still be called from within the com object, but they will not have a public interface.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform