WScript.quit causes error under Windows2000

VBS to EXE and JScript to EXE Compiler
Post Reply
Heinz
Posts: 1
Joined: Sun Jun 07, 2009 6:58 am

WScript.quit causes error under Windows2000

Post by Heinz » Sun Jun 07, 2009 7:27 am

Hi,

when I create an .EXE with the folloing simple code and run the exe under Winows 2000 I get an error

Exception c0000005 at address 759C2E80 (<nosymbols>)"

Code: Select all

	wscript.echo "error&#58;invalid parameters"

	WScript.Quit 


I have found that when I remove "WScript.Quit" then it will work under Windows2000, too.

I use ScriptEncryptor V 2.9.3.0

What can be reason that "WScript.Quit " causes an execption error under Windows 2000 ?
(It works with XP)

thank you very much

Heinz

support
Site Admin
Posts: 399
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Sun Jun 07, 2009 2:00 pm

Small part of code that you have provided work correct after compilation.

Post Reply