Hi Clay, unfortunatly I'm calling my program from inside a CMD file (.bat for non-W2k/NT people) so it needs to be a master type enviroment variable.
Suppose it'll be the registry hack approach !
Adrian
------------------
Announcement
Collapse
No announcement yet.
Setting enviroment variables
Collapse
X
-
Adrian,
There are some API's for manipulating the environment. They are
detailed in win32.hlp.
It's been my experience that it is IMPOSSIBLE to set/change an
environment variable in the MASTER environment after 32-bit Windows
has booted. However, the API's allow you to mainpulate the
variables in the process's own, child environment.
Regards,
------------------
Clay C. Clear
Clay Clear's Software
mailto:[email protected][email protected]</A>
Leave a comment:
-
Setting enviroment variables
Hi folks, does anyone know how to set an enviroment variable from either PB DLL or PB CC ?
tia
Adrian
------------------
Tags: None
Leave a comment: