Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Development Pathing Issue
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Development Pathing Issue
Miscellaneous
Thread ID:
01015635
Message ID:
01015635
Views:
63
I develop on a PC at work where my projects are located
at d:\projects\vfp1\{project}\{version}\source.

From time to time, I take a project home. At home, the project
files are on one PC acting as a sever, and I develop on another.

On my development PC, I mapped a drive to the projects location
on the server as G:\projects.

So, the development path then becomes g:\vfp1\{project}\{version}\source.

I just simply ZIP up the project and UNZIP in the other PC when necessary.

How then do I tell the application where files are? I could use #DEFINE's
in my project.h file such as
#DEFINE APP_PATH_1 d:\projects\vfp1\{project}\{version}\source.
#DEFINE APP_PATH_2 g:\vfp1\{project}\{version}\source.
But how does the app know which path to use based on which PC
I'm on?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform