|
|||
|
The instruction at "0x72d2461f" referenced memory at "0x016c3c24". The memory could not be "read".
Click on OK to terminate the program Click on Cancle to debug the program This happends sometimes when I uninstall my program while it is running. I use this script to stop program before uninstall: //BeforeUninst /* BeforeUninst * remove the shortcut in the startup folder */ // get the startup folder var startUp = Shell.getSpecialFolder("startup"); // get the path name of current application var path = getExeName(); var file = new File(path); // remove the shortcut in the startup folder (new File(startUp + "\\" + file.name + ".lnk")).remove(); var wnds = Window.getWindowsByName("Funky Popping"); for (var i = 0; i < wnds.length; i++) wnds[i].close(); if (wnd.length > 0) { Dll.registerFunction("kernel32.dll", "Sleep", "sleep", "stdcall", "void", "long"); /* wait 1 second for the windows to be closed*/ sleep(5000); } |
|
|||
|
just to be 100 procent sure, - the caption name is the name that is set in the swfkit program under caption right??
And is it a problem if I use spaces in that name like "Mike Chambers" ? Best regards Godowsky |
|
|||
|
No this is my script:
//BeforeUninst /* BeforeUninst * remove the shortcut in the startup folder */ // get the startup folder var startUp = Shell.getSpecialFolder("startup"); // get the path name of current application var path = getExeName(); var file = new File(path); // remove the shortcut in the startup folder (new File(startUp + "\\" + file.name + ".lnk")).remove(); var wnds = Window.getWindowsByName("Movimento break"); for (var i = 0; i < wnds.length; i++) wnds[i].close(); if (wnd.length > 0) { Dll.registerFunction("kernel32.dll", "Sleep", "sleep", "stdcall", "void", "long"); /* wait 1 second for the windows to be closed*/ sleep(1000); } I tried to remove the top of the script, - the part that removes a short cut int the start folder but I still got the error. Just saw that this is in 2 lines: Dll.registerFunction("kernel32.dll", "Sleep", "sleep", "stdcall", "void", "long"); maybe it should be like this: Dll.registerFunction("kernel32.dll", "Sleep", "sleep", "stdcall", "void", "long"); |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|