Solved

calling vb compiled (exe) from perl cgi

Posted on 1998-07-14
2
126 Views
Last Modified: 2010-03-05
I want to call a compiled vbasic file (prog.exe) from a perl script on a NT server.
I tried:
system ("prog.exe");
and it did not work.  What do I need to do?
0
Comment
Question by:donb1
2 Comments
 
LVL 5

Accepted Solution

by:
b2pi earned 50 total points
ID: 1208423
Try specifiying the full path of prog.exe
0
 
LVL 6

Expert Comment

by:alamo
ID: 1208424
If it still doesn't work, print $! after the system and see if it gives a meaningful error.

Another possibility is that the DLLs required by the program aren't in the PATH as inherited by your script, so it can't find them. Try printing $ENV{PATH} and see how it differs from the path you expect. The web server isn't logged on as you, so it might have a different path.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now