Re: Problem setenv/putenv for msgget

2006-03-28 Thread Brian Dessent
Martine Carannante wrote: > Does that mean it is impossible to set environment variables once the > program is started ? In that case; the setenv/putenv are not equivalent > to UNIX functions. No, of course you can set environment variables using getenv/putenv. They should work just as expected.

Re: Problem setenv/putenv for msgget

2006-03-28 Thread Martine Carannante
Brian Dessent wrote: Martine Carannante wrote: IIS , and I don't know how to set the CYGWIN variable before the application is launched. You should be able to set this in the standard windows way: Control Panel -> System -> Advanced -> Environment Variables -> System variables.

Re: Problem setenv/putenv for msgget

2006-03-28 Thread Brian Dessent
Martine Carannante wrote: > IIS , and I don't know how to set the CYGWIN variable before the > application is launched. You should be able to set this in the standard windows way: Control Panel -> System -> Advanced -> Environment Variables -> System variables. > So , I tried to set the environ

Problem setenv/putenv for msgget

2006-03-28 Thread Martine Carannante
I 'm using CYGWIN (the last version 1.5.19.4). My application use the IPC messages queue. The cygserver is started correctly. The application server side (is a service) is launched by cygrunsrv ... with -e CYGWIN=server , it is OK If I launch the application client in a shell script, it is OK