Has anyone had trouble getting a Mappy map to load and then display in a canvas?
If I comment out the "MapLoad" line I get no error, the window opens fine and the textarea appears. Uncomment that line I get a Windows "Send Error Report" message box.
Here's a code snippet...
gWin = CreateWindow("EFW",50,50,1024,768,Desktop())
gTa = CreateTextArea(600,600,300,85,gWin)
SetTextAreaFont gTa,LoadFont("Tahoma",18)
addtextareatext(gTa, "Heeelllloooo")
gCanMap = createcanvas(5, 5, 1009, 585, gWin)
MapLoad("maps\gamemap00.fmp")
WaitKey
END
Why does the MappyLoad function crash the program?
Thanks a lot for any help :-)
If I comment out the "MapLoad" line I get no error, the window opens fine and the textarea appears. Uncomment that line I get a Windows "Send Error Report" message box.
Here's a code snippet...
gWin = CreateWindow("EFW",50,50,1024,768,Desktop())
gTa = CreateTextArea(600,600,300,85,gWin)
SetTextAreaFont gTa,LoadFont("Tahoma",18)
addtextareatext(gTa, "Heeelllloooo")
gCanMap = createcanvas(5, 5, 1009, 585, gWin)
MapLoad("maps\gamemap00.fmp")
WaitKey
END
Why does the MappyLoad function crash the program?
Thanks a lot for any help :-)