Int to TGadget error..

BlitzMax Forums/BlitzMax Programming/Int to TGadget error..

plash(Posted 2006) [#1]
I get this error when I run the code below:
"Compile Error: Unable to convert from 'Int' to 'TGadget'"

It says this:
win=CreateWindow("XMPlayer",100,100,300,190,0,1 | WINDOW_ACCEPTFILES)

is the culprit.. Can anyone help me out here?




skidracer(Posted 2006) [#2]
use null not zero for the gadget group parameter


plash(Posted 2006) [#3]
Interesting, thank you.