Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: PH Explorer Crashing Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: April 03 2002 at 22:35 | IP Logged Quote TonyNo

Well, I just got the latest version, and I can pretty much crash it at will...

Right-click on an existing Macro, select Copy, change it's ID, then, click in the tree pane on the "Copy of..." entry. Boom! In ComCtl32.dll.

This must be due to the ID change not being reflected in the tree at the time I click over on it (that one does not really exist yet).

Let me know if you need the error details.

Thanks,
Tony
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: April 04 2002 at 13:49 | IP Logged Quote dhoward

Tony,

Well I duplicated your procedure and while not getting the same type of error you got, did have problems that ultimately ended up in the program crashing. You are correct in that when you change the ID in the right hand pane, the tree is not yet updated when you click on the tree in the left hand pane. What happens is that the right hand pane will update the database and then the tree will update and then you'll try to change to a handle in the tree which does not exist. You will get a similar error if you also delete a row in the right hand pane and then try to change to that row in the left hand tree pane. When the change tries to take place, the deleted row will be removed from the tree and the tree will then try to change to an item that does not exist.

Ive located the relevant code and have solved the problem by first checking to see if a selected treeview item exists before attempting to change to it. The behavior of the control now is that the right hand pane will update the database, the treeview in the left hand pane will be updated to reflect the database, the selected control will be verified for its existance and if it does not exist, then the change will be ignored and no error but the treeview will now reflect the proper ID's accurately. It will be available in the next release.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: April 04 2002 at 22:12 | IP Logged Quote TonyNo

Thanks, Dave!

Tony
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum