Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exclude VCX from a project
Message
From
09/07/2003 08:49:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/07/2003 02:09:31
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00806761
Message ID:
00808436
Views:
13
>>If I exclude vcx from a project, I want to know what other potential problems I need to anticipate in additional to make sure that VFP can find the vcx during runtime. For example, will it have any effect on coding which is going to programmatically create class or add object based on the excluded vcx?
>
>Hi Peter,
>have a look at NEWOBJECT() (and the like) help for the order VFP searches for a class. If a class is "build in" in an exe, you can not use a class with the same name from outside the exe. Also you have to check that your vcx is in scope (either searchpath or full qualified filename, again check help for the command you use to create the object).
>
>So to me the biggest problem is how to tell the exe where the classlib is located.
>
>HTH
>Agnes

Agnes,
You can still use another classlib's class with same name.

set classlib to myOtherClassLib.vcx alias my2 additive
oMy2 = createobject('my2.mySameNameClass')

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform