Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check that a OLE server was correctly instanciate
Message
From
29/02/2000 11:17:44
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338617
Message ID:
00339143
Views:
24
I've created a brand new DLL called Proj1.Test in VFP. In it's initialisation event, I return False. Here is the lines I've put in VB:

Dim lotest As proj1.test
Set lotest = New proj1.test

I get "Automation error" the second line.

If I have to insert an On Error redirection, I will add it. I just want to know if it's the only way to check if a COM was started correctly.

TIA
>Try to change your component or your class name, rebuild it and try again.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform