Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shared VCXes with different paths
Message
From
17/08/1997 01:57:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Shared VCXes with different paths
Miscellaneous
Thread ID:
00045155
Message ID:
00045155
Views:
57
So I've decided to port my class library to my partner's machine, and here's what happens: the paths to many things are hardcoded into the ..vcx, so when we run it on his machine, the bloody thing can't locate comctl32.ocx, because it doesn't look for it in "there where the Windows system directory is", but in "c:\w95\system". Of course, his Windows directory is "C:\Win95", and the .vcx knows nothing about it. There were some other glitches like this: I've installed VFP in c:\vfp, while he did it in d:\vfp, and there was also some problem with that. Could "Set Path To ...;c:\w95" have helped with this? I mean, if we include the Windows and Windows\system directories into the VFP path, would it stop writing full paths into the vcxes? Any other idea? I can't figure out how would it work in a compiled .exe, if it had the paths to the .ocxes hardcoded in the .vcxes, and then on install found that the .ocxes should go to some other directory (not the same as on the development machine). How'd it find them at runtime then?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Reply
Map
View

Click here to load this message in the networking platform