TextArea with no effects?

BlitzMax Forums/BlitzMax Programming/TextArea with no effects?

MrCredo(Posted 2005) [#1]
SuperStrict

Global window   : TGadget = CreateWindow ("Win", 0, 0, 600, 500, Null, WINDOW_TITLEBAR|WINDOW_RESIZABLE)
Global textarea : TGadget = CreateTextArea (5,5,500,400,window)
Global i:Int

SetTextAreaText (textarea, "cool~n")
For i=1 To 100
	AddTextAreaText (textarea, "abcdefghijklmnopqrstuvwxyz~n")
Next

Repeat
	WaitEvent()
	Select EventID()
	Case EVENT_WINDOWCLOSE
		Exit
	End Select
Forever


BlitzMax do not add new Text to TextArea. What should i do?


-EDIT-
i use WindowsXP


Perturbatio(Posted 2005) [#2]
it works for me exactly as you've posted it (100 lines of the alphabet)


bradford6(Posted 2005) [#3]
works fine for me too on XP. maybe do a syncmods MrCredo?


MrCredo(Posted 2005) [#4]
hm @#!*... THIS IS A BUG!

i updated modules, restarted BlitzMax, restarted my PC - but BlitzMax do not display any text on textarea! On XP SP2

I hope someone move this topic to BUGS-FORUM.




Muttley(Posted 2005) [#5]
Works perfectly here on XP SP2. :?

Muttley


Azathoth(Posted 2005) [#6]
Nothing on mine either


WendellM(Posted 2005) [#7]
Your code works fine here, McCredo:



Athlon XP 3000+, Win XP Pro SP2, Radeon 9600 Pro, DirectX 9.0c, BlitzMax 1.14


MrCredo(Posted 2005) [#8]
@Muttley - have you Athon64/Intel?

I have Athon64

http://www.blitzbasic.com/Community/posts.php?topic=53840
Mark has also Athon64

Athon64 have functionality to prevent Buffer Overflows - i think here is one of this...

But i must restart my PC for this... :-/


MrCredo(Posted 2005) [#9]
i desabled buffer overflow protection - but without changes...


Bremer(Posted 2005) [#10]
The code above worked just fine here. P4 3ghz, WinXP SP2, Bmax 1.14


Muttley(Posted 2005) [#11]
Intel P4 here


Azathoth(Posted 2005) [#12]
For some reason also running the TextArea example from the docs gives a memory exception.


Hotcakes(Posted 2005) [#13]
MrCredo, Athlon64 is not the problem as Perturbatio says he ran it fine. If you want this moved to bug reports, you will have to create this topic again there yourself.


degac(Posted 2005) [#14]
It works perfectly on my Athlon64 3500+ 1Gb Ram WinXp2


Azathoth(Posted 2005) [#15]
Ok, I got it working. I deleted my module folders and then did syncmods.


MrCredo(Posted 2005) [#16]
ah... thx!!! - it works!!!