AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crash if LV_Add is done for None-Listview-Control

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Wed Feb 28, 2007 2:28 pm    Post subject: Crash if LV_Add is done for None-Listview-Control Reply with quote

Code:
Gui, Add, Listview, vLV_Test, 1|2|3
Gui, Add, Edit, vTest, 123
Gui, Listview, Test
LV_Add("", "Eins")
I found this crash when I did forget to write the prefix "LV_" to the variables name in third line.
It seems that a valid handle is returned from Edit-Control. Therefore AutoHotkey.exe crashes in 4th line.

Thalon
_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Thu Mar 01, 2007 2:31 am    Post subject: Reply with quote

This will be fixed in the next update. Thanks for the easy example.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group