Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runtime : Set classlib .. in myFile ?
Message
From
11/07/2003 18:44:23
 
 
To
11/07/2003 18:37:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809354
Message ID:
00809466
Views:
47
>Hi Fred,
>
>Really appreciate all the help.
>
>I just noticed something.
>
>My development folder is "C:\__Morco". The folder containing myMain.exe and myLibraries.exe is "C:\Program Files\Morco" (no underscore)
>
>When I run "C:\Program Files\Morco\myMain.exe" it runs fine.
>But then I rename "C:\__Morco" to "C:\__Morco1" and myMain.exe can't find at least 1 ClassLib.
>The message I get is "Cannot find C:\__Morco\myBase.vcx" with my development folder listed as where it's looking.
>
>I interpret that to mean that somewhere I have "C:\__Morco" hardcoded. Would you draw the same conclusion?
>
>I've checked all the CLASSLOC in all my vcx and scx files. Do you know of somewhere else that it might be hardcoded?

Not really. If you're using VFP8, you can use the Code References tool to search everything in your project.

I've tried an example similar to yours with both a SET PROCEDURE TO and SET CLASSLIB TO and it finds everything just fine. I even made sure I moved the .PRG with the classes (and any .FXP that may have been laying around) and the .VCX/.VCT with the other classes to a different folder. As long as my two .EXEs were together, or I specified the path to them in the SET PROCEDURE/SETCLASSLIB commands, everything was found at runtime just fine.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform