Announcement

Collapse
No announcement yet.

Setting enviroment variables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adrian C Aitken
    replied
    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

    ------------------

    Leave a comment:


  • Clay Clear
    replied
    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:


  • Adrian C Aitken
    started a topic Setting enviroment variables

    Setting enviroment variables

    Hi folks, does anyone know how to set an enviroment variable from either PB DLL or PB CC ?

    tia

    Adrian

    ------------------
Working...
X