www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Smith <l...@optonline.net>
Subject general/6504: Can't run Visual Basic program as CGI script
Date Wed, 06 Sep 2000 20:53:28 GMT

>Number:         6504
>Category:       general
>Synopsis:       Can't run Visual Basic program as CGI script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Sep 06 14:00:02 PDT 2000
>Originator:     lrs5@optonline.net
>Release:        1.3.12
W98SE. Running the vanilla Win32 binary d/l from Apache.org. The only conf change was "ServerName
lrsapache" and (recently) "LogLevel debug".

Note - "lrsapache" (lrs=my initials) was used, but I don't have a permanent IP address. I
have a cable modem, but my ISP issues me a 3-day TCP/IP lease, and may change the IP address
at any time.
>From my original posting to comp.infosystems.www.servers.ms-windows:

I've written a CGI program using Visual Basic, compiled into an .exe file.

The program works fine under PWS4 (W98SE), but fails totally under Apache 1.3.12.

I've tracked it down to the fact that when I issue the GetStdHandle() Win32
API call from my VB program to get a handle for stdout, I get back -1,
rather than a valid handle. Hence all my attempts to write to stdout fail,
and Apache rightfully complains.
As noted above, I don't have a permanent IP address. However, I'm quite willing to send you
the source for the VB program, upon request.
Not a one!
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database 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!     ]

View raw message