I am working with LCC-Win32, and it's very nice! :)
I would like install it on my usb key for portable programming...
I did the full install and copied it over to the key and can compile
no problem but when using wedit it still references C:\Documents and
Settings\me\My Documents\lcc when looking for it's it's to
configuration files.
I was hoping copying the config files local to the key in the bin
directory would work make wedit reference them there but it did not.
I see in the projects/configuration it is specified but I can't change
it (non-editable field). Can someone tell me if I can make Wedit
reference these files in a different location (in my case from the
key)?
Also the registry has settings for the linker, etc., I am guessing
these can be set via a batch file somehow?
Thanks in Advance.
Christopher
I hope I understand you correctly, you may like to check or try
there is a command line flag for wedit
wedit /projectsroot:
If you have installed lcc on the stick and it has some drive letter,
this should be picke up and be used, however I've never tried it....
But what surely works is just moving the lcc directory elsewhere,
after restarting the pathes are properly resetted, AFAIKT.
Regards
Friedrich
--
Please remove just-for-news- to reply via e-mail.
Hi Friedrich,
Cool!!! Moving projects.ini to E:\ProgramFiles\lcc\bin (the usb key
location of wedit) and calling wedit thus wedit /projectsroot:E:
\ProgramFiles\lcc\bin results in it looking that the projects.ini and
wedit.prj on the key.
One this I noticed though, it still does not want to save my
modifications to the wedit enviroment (say changing a font colour or
the project windows size). Is there something I need to tweak for
this?
Thanks so much,
Christopher
>
> Hi Friedrich,
>
> Cool!!! Moving projects.ini to E:\ProgramFiles\lcc\bin (the usb key
> location of wedit) and calling wedit thus wedit /projectsroot:E:
> \ProgramFiles\lcc\bin results in it looking that the projects.ini and
> wedit.prj on the key.
>
> One this I noticed though, it still does not want to save my
> modifications to the wedit enviroment (say changing a font colour or
> the project windows size). Is there something I need to tweak for
> this?
Hm those setttings are saved in the user home directory. We have not provided
anything to fetch the things from wherever the user likes...., so
currently we've not switch or the like for achieving what you want.
OK.
What mechanism does Wedit use to know what is the user home directory?
An environment variable, a registry key or some other way?