Thanks all for taking the time to help me out. I 
finally got the problem resolved. It appears that PHP
was trying to use cygwin1.dll and could not find it.
I am not sure why; I didn't think I even need
cygwin to run php w/ Apache. Once I put a copy of
cygwin1.dll in my system32 directory, my c++
.exe file started running.

Hope this helps someone else. If someone knows why
PHP needs any cygwin dlls, I would be interested in
knowing the reason. 

"Ladan Pickering" <[EMAIL PROTECTED]> wrote in
> Thanks Ernest for your suggestion.
> I tried you idea with forward and backward slashes
> nothing seem
> to change. I still see the return_var of 128. PHP is
> trying to tell me what
> the problem was, but I am unable to find what 128
> means. Any idea as
> where the the "return_var" for the "system" and
> commands are defined?
> Thanks
> --- Ernest E Vogelsinger <[EMAIL PROTECTED]>
> wrote:
> > At 00:00 09.11.2002, Ladan Pickering said:
> > --------------------[snip]--------------------
> > >When I look at the program (hello.exe) under
> > cygwin.
> > >I see that the "x" bit is set for all. As far as
> > can
> > >tell anyone is permitted to execute this program.
> > --------------------[snip]-------------------- 
> > 
> > Make your command like this
> > 
> >     c:/abc/hello.exe 2>&1
> > 
> > to see if some error is given... might be a
> > with environment space?
> > 
> > 

Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to