Page 1 of 1

Stringextension ERROR (solved)

Posted: Sun Jun 14, 2009 9:00 pm
by Rook Zimbabwe
I am using PUREcolor (a wonderful tool) as well as PRINTER.lib (anohter great tool) and I cannot run anything with purecolor button color in it...

I get the MISSING StringExtension error...

Anyone know what this is?

I am using 4.31 the latest DL

Posted: Sun Jun 14, 2009 9:12 pm
by ABBKlaus
What version of Printer-Lib are you using ?
I just tested some examples with PB4.31X86 and they all work as expected :shock: (Printer-Lib as well as PureColor)
In case you are using older versions of the libs (in PB=<4.20 there was a stringextension.lib) please update them :wink:

Regards Klaus

Posted: Mon Jun 15, 2009 2:39 am
by Rook Zimbabwe
Hi ABBKlaus,

The issue seems to come form PUREcolor. I have been rebuilding my HDD after the crash and downloaded the purecolor from PureArea.net

Even the following code crashes witht hat issue:

Code: Select all


Enumeration
  #Window_0
EndEnumeration

Enumeration
  #Button_0
  #Button_1
EndEnumeration

Procedure Open_Window_0()
  
  If OpenWindow(#Window_0, 5, 5, 400, 200, "Window 0",  #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar)
    ButtonGadget(#Button_0, 15, 21, 230, 63, "BUTTON")
    ButtonGadget(#Button_1, 21, 99, 239, 54, "butt0n")
    If CreateGadgetList(WindowID(#Window_0))
      
    EndIf
  EndIf
EndProcedure

Open_Window_0()

PureCOLOR_SetButtonColor(#Button_0, RGB(255,255,255),RGB(6,214,0))

Repeat
  
  Event  = WaitWindowEvent()
  
Until Event = #PB_Event_CloseWindow

End
what would I update?

Posted: Mon Jun 15, 2009 5:23 pm
by ABBKlaus
No wonder :o the version from PureArea is v12.5 from 22.10.2007 (sorry André)
You should use the latest one from here : http://www.purebasic.fr/english/viewtop ... 2477#72477

Regards Klaus

Posted: Sun Jun 21, 2009 2:01 am
by Rook Zimbabwe
Thanks ABBKlaus... that done did the trick for me! I appereciate that link! AND all your incredible work!!! 8)