TextArea with no effects?

BlitzMax Forums/BlitzMax Programming/TextArea with no effects?

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

it works for me exactly as you've posted it (100 lines of the alphabet)

works fine for me too on XP. maybe do a syncmods MrCredo?

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.



Works perfectly here on XP SP2. :?

Muttley

Nothing on mine either

Your code works fine here, McCredo:



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

@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... :-/

i desabled buffer overflow protection - but without changes...

The code above worked just fine here. P4 3ghz, WinXP SP2, Bmax 1.14

Intel P4 here

For some reason also running the TextArea example from the docs gives a memory exception.

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.

It works perfectly on my Athlon64 3500+ 1Gb Ram WinXp2

Ok, I got it working. I deleted my module folders and then did syncmods.

ah... thx!!! - it works!!!