Link to home
Start Free TrialLog in
Avatar of donb1
donb1

asked on

calling vb compiled (exe) from perl cgi

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?
ASKER CERTIFIED SOLUTION
Avatar of b2pi
b2pi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alamo
alamo

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.