Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs NewObject()
Message
From
24/08/2007 08:02:10
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:
01250137
Views:
24
>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.

Thanks, but it was just pseudo code, easier than typing the english version. ;)
Previous
Reply
Map
View

Click here to load this message in the networking platform