|
|||
|
Try to post it here also, - sorry if that's wrong.
I have win XP and v. 2.2 swfkit pro. I get this error when uninstalling a running app, but only sometimes?!? 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 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); } |
|
|||
|
There is a bug in the beforeuninst script, but it's not the reason of the problem.
Code:
//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 (wnds.length > 0) //<------------it should be "wnds", not "wnd"
{
Dll.registerFunction("kernel32.dll", "Sleep", "sleep",
"stdcall", "void", "long");
/* wait 1 second for the windows to be closed*/
sleep(5000);
}
|
|
|||
|
okay, just did at quick search on the net about the error, it seems like a very common error, on solution was to clean ones ram!!!! (just can't ask the user to do that)
Another one was to update windows. |
|
|||
|
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|