Hi there, I've written a little Windows Desktop game of Yahtzee. Nothing fancy, no special gadgets, just an ImageGadget on a Window with a menu-bar, redrawing the ImageGadget to update the game and register mouse-clicks for rolling the dice etc etc.
Anyway it works fine on Windows. But when I compiled it on my Mac (OS X, standard PowerPC), and after commenting out any API commands like EnableWindow_(hwnd) I just get an error message when compiling that says:
Error: Assembler
4:Parameter syntax error (parameter 1)
purebasic.asm:4218:Paramater syntax error (parameter 1)
purebasic.asm:4222:Paramater syntax error (parameter 1)
purebasic.asm:4226:Paramater syntax error (parameter 1)
purebasic.asm:4231:Paramater syntax error (parameter 1)
purebasic.asm:4246:Paramater syntax error (parameter 1)
purebasic.asm:4250:Paramater syntax error (parameter 1)
purebasic.asm:4294:Paramater syntax error (parameter 1)
purebasic.asm:4298:Paramater syntax error (parameter 1)
purebasic.asm:4302:Paramater syntax error (parameter 1)
The developer tools are installed, and the PureBasic examples work, but not this program I've written. Any thoughts?
By the way, does PureBasic have a built-in command that disables windows? I need it for when I am opening up a child window as a Dialog box, and I'd like it to be compatible on both Windows and Mac.