FindWindowA failure

BlitzMax Forums/BlitzMax Programming/FindWindowA failure

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

papa: TOP MAN! it's that mysterious z after the $. I presume $z must mean shortstring or somthing, right? The actual param NullString wasn't a problem left as an integer as you can see by this now working code:
Extern "win32"
	Function FindWindowA:Int(nullstring%,WindowText$z)
End Extern

AppTitle = "test"
Graphics 640,320,0
Cls
Local handle = FindWindowA(0,"test")
DrawText handle,0,0
Flip
WaitKey


thanks again.