Oxygen Basic
Programming => Problems & Solutions => Topic started by: Aurel on June 06, 2013, 05:45:39 AM
-
Hi Charles
I am not sure is this a bug or some sort of random generated sign ::)
'print args...if is empty then compiler trow F ???
SendMessage edit1,WM_SETTEXT,0,strPtr args
As you see if string args is empty then compiler add sign F to control.
if is filled with string everything works normal..
Do you can confirm this ?
all best..
Aurel
-
I think you need to pass a defined string of some sort, even if it is an empty string ""
-
Charles ..
it is defined as usual
string args
and this was heapend inside subroutine..
it is little bit strange ,right?
-
Yes, it looks like some form of string corruption. I use stptr extensively without problems