Help needed getting started
Michael Gerbracht
m.gerbracht at cityweb.de
Mon May 18 19:13:09 BST 2020
Hi Jean-Michel,
On 17 May, Jean-Michel <jmc.bruck at orange.fr> wrote:
> Good idea to use DDE shared makefiles and Oslib, it works well. These are
> the tools I use, not simple at start-up, there are a few rules. shared
> makefiles can do a lot to simplify our work. I struggled a lot to find the
> informations, if I can help ...
Yes, it seemed to be a good starting point and it has a mailing-list to ask
stupid questions ;-)
BTW is there a stronghelp manual for OSLibSupport? I have the one for OSLib
itself, but can't find "event_poll" for example.
> In your code you need to prefix the headers from oslib support like for
> oslib
> #include "OSLibSupport:event.h"
Ok, it works this way but I wonder, when do I have to use a slash and when a
colon, so why is it:
#include "oslib/toolbox.h"
but
#include "OSLibSupport:event.h" ?
> Add a global variable wimp_t gTaskHandle; and use it in
> main_initialise(void): gTaskHandle = toolbox_initialise(flags,..... This
> variable must be added to wimp_close_down() wimp_close_down(gTaskHandle);
> Your test program can works....
Ok, thanks for your help! There were some additional smaller changes I had to
make but I got it working now. So it loads and displays the iconbar icon and
the window. That's a good starting point for me because I can now add event
handling etc.
> Thanks for the GitHub link, I was able to recover your file. I do not
> know. Can files be uploaded with! Netsurf.
Actually I uploaded it on Windows since I also had to make a new account. But
next time I will try netsurf.
kind regards,
Michael
More information about the oslib-user
mailing list