You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by st...@apache.org on 1999/04/29 06:21:08 UTC

Re: os-windows/2494: Error re-loading 16 bit CGI after loading an HTML page

[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]


Synopsis: Error re-loading 16 bit CGI after loading an HTML page

Comment-Added-By: stoddard
Comment-Added-When: Wed Apr 28 21:21:04 PDT 1999
Comment-Added:
I spent a good deal of time working on this a few months back 
with mixed success. I managed to get 16 bit CGIs working reliably
but I really had to hack the code to do it. The problem is that
CreateProcess behaves rather unpredictably when passed 16 bit CGI's.
Does not handle stderr too well and sometimes it will return a PID = 0,
which Apache doesn't handle too well.

Try encapsulating your 16 bit CGI in a .bat file. I think that
will work around this problem.