damian666 Posted April 15, 2008 Share Posted April 15, 2008 i have this $compileSmall = _GUIImageList_Create(16, 16, 5, 5, 6) _GUIImageList_AddIcon($compileSmall, @AppDataDir & "\selfburner\resource.dll", 0) $exitSmall = _GUIImageList_Create(16, 16, 5, 5, 6) _GUIImageList_AddIcon($exitSmall, @AppDataDir & "\selfburner\resource.dll", 1) $aboutSmall = _GUIImageList_Create(16, 16, 5, 5, 6) _GUIImageList_AddIcon($aboutSmall, @AppDataDir & "\selfburner\resource.dll", 2) $okSmall = _GUIImageList_Create(16, 16, 5, 5, 6) _GUIImageList_AddIcon($okSmall, @AppDataDir & "\selfburner\resource.dll", 3) $optionsSmall = _GUIImageList_Create(16, 16, 5, 5, 6) _GUIImageList_AddIcon($optionsSmall, @AppDataDir & "\selfburner\resource.dll", 4) $openSmall = _GUIImageList_Create(16, 16, 5, 5, 6) _GUIImageList_AddIcon($openSmall, @AppDataDir & "\selfburner\resource.dll", 5) ;then the gui.. _GUICtrlButton_SetImageList($Button1, $exitSmall) _GUICtrlButton_SetImageList($Button2, $optionsSmall) _GUICtrlButton_SetImageList($Button3, $aboutSmall) _GUICtrlButton_SetImageList($Button4, $openSmall) _GUICtrlButton_SetImageList($Button5, $openSmall) _GUICtrlButton_SetImageList($Button6, $compileSmall) and it works great on XP, but it throws a error on the second icon... any ideas? Damian666 and proud of it!!! Link to comment Share on other sites More sharing options...
damian666 Posted April 16, 2008 Author Share Posted April 16, 2008 so no one knows how to fix this, if its fixable at all? i really need help here guys... Damian666 and proud of it!!! Link to comment Share on other sites More sharing options...
GaryFrost Posted April 18, 2008 Share Posted April 18, 2008 so no one knows how to fix this, if its fixable at all?i really need help here guys... Damian666ExtractIconEx appears to be the culprit, and a google of this resulted in others having the same problem with no solution. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
damian666 Posted April 18, 2008 Author Share Posted April 18, 2008 hmm, then thats it... anyway thanx for replying gary. i have to come up with somethnig else then. to bad, it looked cool oh well... Damian666 and proud of it!!! Link to comment Share on other sites More sharing options...
GaryFrost Posted April 18, 2008 Share Posted April 18, 2008 hmm, then thats it...anyway thanx for replying gary.i have to come up with somethnig else then.to bad, it looked cool oh well...Damian666If I get time I'll look into maybe replacing the extract with LoadIcon and see if that works. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
damian666 Posted April 18, 2008 Author Share Posted April 18, 2008 ok, thanx for that then man bye bye Damian666 and proud of it!!! 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