Hello
I just upload all 
the fresh version PureBasic 4.5 ... No apparent problem!
As with each version, I load and test a series of examples in various bookstores!
Petzold, Srod, Gdiplus, and necessarily WxWiget.Lib Gnozal Lib ...
And the "
PureColor-450-Installer.exe" so I assume for PB 4.50 ...
The example below gives me the following message :
[ERREUR] Invalid memory access. (read error at address 4)
Note: 
Tested in 4.41, 4.40 no problem!
Code: Select all
; --------------------------------------------------------
;               PureCOLOR library test file 15
; --------------------------------------------------------
;
DataSection
	ButtonIcon:
	IncludeBinary #PB_Compiler_Home + "Examples\Sources\Data\CdPlayer.ico"
EndDataSection
Button_Icon = CatchImage(#PB_Any, ?ButtonIcon)
Button_Icon_2 = Button_Icon
If OpenWindow(0, 421, 13, 270, 362, "Icon Button Test", #PB_Window_SystemMenu|#PB_Window_TitleBar)
	ButtonGadget(0, 35, 45, 200, 35, "Centered text")
	PureCOLOR_SetIconButton(0, #Green, #PureCOLOR_SystemColor, Button_Icon) ; <<< ICI === HERE 
	ButtonGadget(1, 35, 85, 200, 35, "Centered text")
	PureCOLOR_SetIconToggleButton(1, #Green, #Black, #Red, #White, Button_Icon, Button_Icon_2); <<< ICI === HERE 
	ButtonGadget(2, 35, 135, 200, 35, "Left text", #PB_Button_Left)
	PureCOLOR_SetIconButton(2, #Blue, #PureCOLOR_SystemColor, Button_Icon)
	ButtonGadget(3, 35, 185, 200, 35, "Right text", #PB_Button_Right)
	PureCOLOR_SetIconButton(3, #Blue, #PureCOLOR_SystemColor, Button_Icon)
	ButtonGadget(4, 35, 235, 200, 35, "Icon button with" + Chr(10) + "multiline text", #PB_Button_MultiLine)
	PureCOLOR_SetIconButton(4, #Blue, #PureCOLOR_SystemColor, Button_Icon)
	ButtonGadget(5, 35, 285, 200, 35, "Button with" + Chr(10) + "multiline text", #PB_Button_MultiLine)
	PureCOLOR_SetButtonColor(5, #Blue, #PureCOLOR_SystemColor)
	Repeat
		Event = WaitWindowEvent()
		Select Event
			Case #PB_Event_CloseWindow
				EventWindow = EventWindow()
				If EventWindow = 0
					CloseWindow(0)
					Break
				EndIf
		EndSelect
	ForEver
EndIf
; --------------------------------------------------------------------
Note :           The other example involving an extension in PureColor produce the same effect!
For example: 
PureCOLOR_SetGadgetColor (1, RGB (255,0,0), -1) 
  OK
PureCOLOR_SetGadgetColorEx (2, RGB (0,0,0), RGB (255, 255, 255), RGB (255, 255, 223), #PureCOLOR_LV_AlternateColors) NOT OK 
 
Maybe it's not compatible??? 

 But why this name: 
PureColor-450  
 
A + + 
  
I also especially placed this message on the French forum !