Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OCX path hardcoded into .vcx
Message
De
28/08/1997 15:51:25
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
OCX path hardcoded into .vcx
Divers
Thread ID:
00047418
Message ID:
00047418
Vues:
60
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform