Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verification for the creation of an object
Message
From
09/07/2001 01:19:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Verification for the creation of an object
Miscellaneous
Thread ID:
00528001
Message ID:
00528001
Views:
50
Assuming we create an object, such as:
loProcess=CREATE("UniversalThread",loServer)
Why would there be a need to verify this:
IF VARTYPE(loProcess)#"O"
   *** All we can do is return...
   WAIT WINDOW NOWAIT "Unable to create Process object..."
   RETURN .F.
ENDIF
if the same program who fires those lines contains the following:
DEFINE CLASS UniversalThread AS wwProcess
I am wondering in which situation it could failed.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform