Mail Archives: djgpp/1997/09/11/21:04:54
Jenda,
I think you must be right. I was having the same problem with DJGPP &
CGI. I switched
to MS Visual C++ and now everything works fine. A Thousand thanks for
the info:-)
John
Jan Krynicky wrote:
> Visionary wrote:
> >
> > If anybody could help me with this, it would be much appreciated.
> >
> > The situation:
> >
> > I have a Windows NT Pentium Pro running IAS, and
> PERL for Win32. Our
> > perl scripts work great, but when I try to run an *.exe CGI written
> in
> > C, (ie: I reference the exe in my
> > <FORM ACTION="{path}/myfile.exe"></FORM> tag), I get an error saying
> the
> > proper headers could not be returned, yet the exe works ok if I run
> it
> > from the DOS window command line.
> >
> > NOTE: I compiled the exe with DJGPP - the GNU ANSI C
> compiler ported
> > over for the IBM PC DOS environment. I compiled it on the NT machine
>
> > under the DOS window.
> >
> > <snipped>
>
> Does the DJGPPP create DOS appilactions or WinNT Console applications?
>
> I was unable to use the first (Borland Pascal7.0 for DOS),
> but had no problems with the second (MSVC 4.0).
>
> HTH, Jenda
- Raw text -