Hello,
Everything seems Okay!
include "asm.inc"
window 640,480,1
hdc = GetBufferDC
Extern lib "GDI32.dll"
! TextOut "TextOutA"
End Extern
'! TextOut Lib "gdi32.dll" Alias "TextOutA" (sys hdc, x, y, string lpString, sys nCount) As Long
! SetTextColor Lib "gdi32.dll" (ByVal hdc As Long, ByVal crColor As Long) As Long
string t_string = "what, who, where"
string x_string = "banana, apples, cherries"
SetTextColor hdc,0xFFFFFF
TextOut hdc ,100,100, t_string, len(t_string)
TextOut hdc ,100,120, x_string, len(x_string)
string wrong = error()
if wrong
mbox "ERROR"
else
mbox "Okay"
end if
waitkey
winExit
[attachment deleted by admin]