Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set('classlib') into an .exe
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Set('classlib') into an .exe
Miscellaneous
Thread ID:
00457219
Message ID:
00457219
Views:
155
Hi its hard to me explain this, so i try to explain it in some steps

1 create a pjx
2 ...create any class (for this example i name it 'myClass' )
3 include it into the pjx
4 in the main prg i put some like this:
Set Classlib To C:\The_Folder_of_libs\myLib_where_MyClass_is_stored
CreateObject('myClass')
Read Events
5 compile all into an exe file

Ok, this works fine since i have my folder and structure intact, but i want to compile one exe and have it to be independent of any folder or file structure, i mean the user can execute it within any location, but the exe give one error when it try to execute the 'set classlib to'... because C:\bla_bla_bla does not exist more.
What im doing bad?

TIA

Ariel Gimenez

our power is our knowledge

Next
Reply
Map
View

Click here to load this message in the networking platform