#CLOSE
#include <GuiListView.au3>
[...]
Case $add
addItemToListView()
[...]
Func addItemToListView()
$currLen = _GUICtrlListView_GetItemCount($ListView1)
_GUICtrlListView_AddItem($ListView1, GUICtrlRead($old))
_GUICtrlListView_AddSubItem($ListView1, $currLen, GUICtrlRead($new), 1)
_GUICtrlListView_AddSubItem($ListView1, $currLen, GUICtrlRead($color), 2)
EndFunc
[Only registered and activated users can see links. Click Here To Register...] this is the result without includingQuote:
PHP Code:#include <GuiListView.au3>
[...]
Case $add
addItemToListView()
[...]
Func addItemToListView()
$currLen = _GUICtrlListView_GetItemCount($ListView1)
_GUICtrlListView_AddItem($ListView1, GUICtrlRead($old))
_GUICtrlListView_AddSubItem($ListView1, $currLen, GUICtrlRead($new), 1)
_GUICtrlListView_AddSubItem($ListView1, $currLen, GUICtrlRead($color), 2)
EndFunc
Hmm could u be more clear please lolQuote:
Obviously two UDFs you include are using the same name for a global const. One of them seems to be the GuiListView.au3, so I suggest you just open it (in your autoit installation path --> include folder) and perform something like a replace all occurences of "$MEM_COMMIT" with "$SOMETHING_DIFFERENT" in your favorite text editor, i.e. SciTe