Pascal257 Posted October 9, 2007 Share Posted October 9, 2007 (edited) Hey there, I have a ListView that is filled with songinformation while searching in the database. The GUI: Global $SearchGUI = GUICreate("PPlayer - Search", 500, 500, -1, -1, -1, -1, $PlaymodeGUI) Global $Searchview = GUICtrlCreateListView("Track |Artist |Album |Genre |Rating", 0, 0, 500, 480) GUICtrlSetOnEvent(-1, "SearchView") $Label = GUICtrlCreateLabel("Searching", 10, 480, 480, 20) GUISetOnEvent($GUI_EVENT_CLOSE, "SearchEnd") GUISetState() .... GUICtrlCreateListViewItem($aRow[2] & "|" & $aRow[0] & "|" & $aRow[1] & "|" & $aRow[3] & "|" & $aRow[7], $Searchview) But when I drag an item and then drop it AutoIt crashes. I have a similar ListView that works without any problems... Greetings, Pascal Edit: Btw I already searched that issue and found nothing useful. The user must be able to doubleclick the items (deactivated due to testing that issue), drag and drop is not needed (no function capturing it where the error could be.) I also deactivated any GUIRegisterMsg to avoid errors. Edit the second: Now it crashes on the second listview too. Bug of autoit? Edited October 9, 2007 by Pascal257 Link to comment Share on other sites More sharing options...
Bert Posted October 9, 2007 Share Posted October 9, 2007 Does the script crash, or do you have a issue with AutoIt3.exe crashing? If it is the later, can you screenshot the info in the crash? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Pascal257 Posted October 9, 2007 Author Share Posted October 9, 2007 Does the script crash, or do you have a issue with AutoIt3.exe crashing? If it is the later, can you screenshot the info in the crash?No AutoIt-Error available. That would be easy ^^No the script crashes and autoit3 returns with 1073741819. Link to comment Share on other sites More sharing options...
Pascal257 Posted October 10, 2007 Author Share Posted October 10, 2007 Well I did some testing and came to this result: The last func started before crash is very often: $data = UDPRecv($Socket, 1000) But its not because the program idles after this: Func CheckUDP() While 1 $data = UDPRecv($Socket, 1000) If $data <> "" Then SetList($data) Else ExitLoop EndIf WEnd EndFunc ;==>CheckUDP Well $data contains filepaths but was surely NULL. Why does it crash then? Link to comment Share on other sites More sharing options...
Pascal257 Posted October 11, 2007 Author Share Posted October 11, 2007 (edited) Ok the UDP is definitely not the problem. Commented the code out and its still crashing Edited October 11, 2007 by Pascal257 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now