Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs NewObject()
Message
 
To
23/08/2007 10:27:42
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01249678
Message ID:
01250096
Views:
27
Hi Mike,

>IF NOT "VCXNAME" $ SET("CLASSLIB")
> SET CLASSLIB TO VCXNAME ADDITIVE
>ENDIF

Just want to point out that "VCXNAME" should include the extension ".VCX". The code might still cause problems if for some reason the user installed the application in a folder that happens to contain the VCX name. Not likely, but hard to trace down when it does. And it's one way to force an application into an error if you need to bypass some security measures.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform