17 July 2020, 10:29 | #1 |
Registered User
Join Date: Nov 2019
Location: Rendsburg
Posts: 3
|
GadToolsBox3: How to write a main C file for generated C output?
Anyone here who is familiar with GadToolsBox3 who can provide me with an working example on how to write a main file for the produced C code output, please?
Especially: How to open the app, parse IDCMP, and so on... My C generator prefs are: Template, Screen, GUI functions and Localize... Thanks for any hints! (Sorry for cross posting this! I guess this section is a better place to ask than the one I've choosen before.) |
18 July 2020, 04:49 | #2 |
Registered User
Join Date: Nov 2016
Location: Fadden ACT Australia
Posts: 128
|
It should be in the help available via the GadToolsBox3/Help.info file which should link to the GadToolsBox3/Help/English/c.generator.guide and GadToolsBox3/Help/English/GadToolsBox.guide
See: https://aminet.net/package/dev/gui/GadToolsBox3 - the version 3.0 executables https://aminet.net/package/dev/gui/GadToolsBox3a - the keyfile, compiled version 3.0, 3.0 to 3.0a update patches, and the sources |
18 July 2020, 07:49 | #3 |
Registered User
Join Date: Nov 2019
Location: Rendsburg
Posts: 3
|
Nope, the guide just lists the different variables and functions that gtb3 produces. As far a I read those, some grip in to other, some do stand alone. My bet would be
Code:
if(InitApplication()) { error = OpenWindow_WinMYWINDOW(); while (running) { running = HandleIDCMP_WinMYWINDOW; } FreeApplication(); } else puts("App not initialized!"); |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A somewhat geeky trip through CyberPunks main source code file (circa 1993) in Devpac | AmigaDweeb | Nostalgia & memories | 43 | 12 January 2020 10:57 |
Rogue characters on file write | pmc | Coders. C/C++ | 4 | 05 October 2012 17:36 |
How to redirect the output of IconX to a file | tygre | support.Apps | 8 | 10 July 2011 05:29 |
Civ2 mac main file | derringer | request.Other | 1 | 18 February 2008 21:55 |
|
|