Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make Self COM Object Quit ?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00687723
Message ID:
00687835
Views:
18
>I have an MTDLL that gets called from ASP and from some non-ASP environments. In the Init(), I want to make sure a given file exists and if not then quit. Is it possible to make that happen without killing/hanging the caller?

Yes, you can return .F. from Init() function and COM object will not be created. In that case the caller will get an OLE error 0x80004005 ("Unspecified error").
Previous
Reply
Map
View

Click here to load this message in the networking platform