Problem with Miniwood used in RapaGUI with an embedded brush

Report any Hollywood bugs here
Post Reply
domenikov
Posts: 18
Joined: Fri May 19, 2017 10:27 pm
Location: Rome - IT

Problem with Miniwood used in RapaGUI with an embedded brush

Post by domenikov »

When using Miniwood, I'm having trouble with RapaGUI and a brush embedded in the program's GUI. The RapaGUI plugin isn't included in the executable; user must install it on his system. The brush is included in the program with the @BRUSH 1, "Logo.png" directive. An error "Error obtaining graphics data from brush 1!" is raised when calling the CreateApp() function. The error doesn't occur when compiling with Hollywood instead of Miniwood. The error occurs on the Amiga OS3 platform. When testing with Windows, the problem still occurs, but it disappears if the RapaGUI plugin is included in the executable with the Link = True directive. Currently, I made a workaround by compiling with Hollywood instead of Miniwood, but if there is a bug, it would be helpful to fix it. The program will have to run on Amiga OS3 systems, where RAM is often limited, and the executable would take up 1.1 MB with Miniwood instead of 2.5 MB with Hollywood.
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

Re: Problem with Miniwood used in RapaGUI with an embedded brush

Post by PEB »

It requires the object library.

@USING "object"
domenikov
Posts: 18
Joined: Fri May 19, 2017 10:27 pm
Location: Rome - IT

Re: Problem with Miniwood used in RapaGUI with an embedded brush

Post by domenikov »

You are right, problem solved! :D

Thank you very much!
Post Reply