Title: Message
Okay, good, at least we verified that the server and basic code are acceptable.
 
Yes, the dependencies of the file could have an affect on it... try putting all of the required files in system32 to test them, but unless you have really good reason to do so, you probably shouldn't leave them there, as they could be a security hazard.
 
Another thing that you might try is to put your exe's and dll's into a folder under your site called "bin" and mark that folder as "Executable" via the IIS Manager (assuming that you're using IIS webserver software)... That might make some difference for you.
 
Did you write/compile the executables? Do they output on "STDOUT"? I don't know all that much about this, but in VB, for instance, it does NOT by default output on STDOUT, so you have to include a code module to provide that functionality. Perl, on the other hand, outputs to STDOUT by default. I have absolutely no idea about cobol and pascal, however.
 
--Jon
-----Original Message-----
From: Mario R. Sanchez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 3:08 PM
To: Jon Jaques; [EMAIL PROTECTED]
Subject: Re: executables under windows

hi jon

thank you so much - the code you provided works perfectly. however, when i replace whois whith my hello.exe it does not display anything.

could it be that it may have something to do with that these .EXE's? one is an .exe created in pascal from an old dos compiler, the other a newer win32 cobol compiler that creates an exe but requires 2 .dll's to run?

odd how under the command prompt perl hello.pl works perfectly using either of these .EXEs - but via the browser/cgi they dont work.

thank you so much for any ideas.
mario

Jon Jaques wrote:

 Okay, try this: (it uses "whois.exe" from softgears.com, which must be placed in your system32 dir):  -------------------------------------------------------------------------# This code has been tested, and can be seen at:# http://monitor.sysconn.com/cgi-bin/test.pluse CGI qw/:standard :netscape :html3 -no_debug/;
my $query = new CGI;
$| = 1;print
 header,
 start_html('DOMAIN RESEARCHER!');
my $action;
my $val;$action = "";
$val = `$action`;
print "The value is: \n<pre>" . $val . "</pre>";-------------------------------------------------------------------------HTH,--Jon

Reply via email to