Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2005, 05:09 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default uninstall error

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);
}
Reply With Quote
  #2 (permalink)  
Old 01-28-2005, 07:37 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall error

I user version 2.2 and win XP, - checked on 2 different machines, - on machine 1 I got the error as described, - on machine I got a message "We are sorry but the program has to close blabla"

Reply With Quote
  #3 (permalink)  
Old 01-28-2005, 07:39 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall error

I put timer to 5000 to make sure it got the name, - maybe this is too much??
Reply With Quote
  #4 (permalink)  
Old 01-28-2005, 11:26 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall error

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
Reply With Quote
  #5 (permalink)  
Old 01-28-2005, 01:32 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:uninstall error

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");

Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:43 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.