Framework with MaxGUI

BlitzMax Forums/BlitzMax Programming/Framework with MaxGUI

I have a little GUI app.
1. It uses one imported file of my own.
2. I use the Blitzmax Sockets and the GUI.

How do I setup the framework to make the filesize as small as possible? Right now it is 1Meg; feels rather large.

Framework Pub.MaxGUI
import Pub.Sockets
import "Myfile.bmx"

Does anyone know?

(If you want to test it you can download it here )

you could try framwork assistant maybe?

has Myfile.bmx got any inports?

Does Myfile.bmx have any imports?

No, but it uses sockets and stdl. It is the gui I'm unsure about.

I think you should also import one of the following:
BRL.CocoaMaxGUI
BRL.FLTKMaxGUI
BRL.Win32MaxGUI

Hi Wave,
Give my Framework Assistant a try and see it that helps.

importing one of the MaxGUI drivers will import MaxGUI

Thanks, Framework Assistant worked perfect. Very nice program by the way.

The solution was as follow:

* In The main file I imported:
Framework BRL.Win32MaxGUI
Import BRL.Socket

* In the Imported file:
Import BRL.Socket

I didn't know imported files should import their dependencies themselves.

Thanks for the help everyone.

Any chance of a cross-platform compiled version of the Framework Assistant? :-)
(ie. for either of the two platforms that it currently isn't)

thanks :-)

I'll see what I can do Brucey.