[01 Feb 2010] Loading a Brush in a Mac (x86) Executable
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 01 Feb 2010 14:58:55 -0000
Hi Andreas,
I'm having trouble with the following script when compiled for Mac (x86).
The following error message is displayed: "Cannot open file Background.png"
The file "Background.png" is located in the same folder as the executable. Should it be placed someplace else? Does this script work for you when compiled for x86 Mac?
Hi Andreas,
I'm having trouble with the following script when compiled for Mac (x86).
Code: Select all
BackgroundBrush=LoadBrush(NIL, "Background.png")
CreateTexturedBGPic(1,BackgroundBrush,640,480)
DisplayBGPic(1)
Repeat
WaitEvent
Forever
The file "Background.png" is located in the same folder as the executable. Should it be placed someplace else? Does this script work for you when compiled for x86 Mac?