Hi folks, After compiling a script with PERL2EXE and running the .exe on another pc, I get a C++ runtime error. I have the appropriate security policies set on the pc. On my pc, it works. Does anybody know why and what I could do to fix this? here's a snipit of the script: use Win32::AdminMisc; $username = 'username'; $password = 'password'; $domain = 'domain'; $result = Win32::AdminMisc::LogonAsUser($domain,$username,$password,LOGON32_LOGON_INTERACTIVE); if ($result){ $process = "d:\\Install.exe"; Win32::AdminMisc::CreateProcessAsUser($process); } thx Ivano Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com |
- Re: C++ runtime error Ivano Di Domenico
- Re: C++ runtime error Chuck Lawhorn
