nanogui: libmwin


Previous by date: 31 Oct 2011 22:46:59 -0000 Runnning microwondows/Nanox‏, OLAIDE IKPEFURAN
Next by date: 31 Oct 2011 22:46:59 -0000 Re: Runnning microwondows/Nanox‏, "Greg Haerr"
Previous in thread: 31 Oct 2011 22:46:59 -0000 libmwin, Kees Schoenmakers
Next in thread: 31 Oct 2011 22:46:59 -0000 Re: libmwin, Kees Schoenmakers

Subject: Re: [nanogui] libmwin
From: "Greg Haerr" ####@####.####
Date: 31 Oct 2011 22:46:59 -0000
Message-Id: <054b01cc981e$cdbe66b0$0300a8c0@RDP>

: If I (cross)build microwindows (full snapshot) for ARM and I try to use 
the
: libraries for an application It get an unresolved error. Looking at
: lib/libmwin.so with nm gives:
:
: If I comment out the line in   mwin/winmain.c  where the call to WinMain 
is
: made everything appears fine. (about line 115)

Kees -

Yes, the call to WinMain is the call to YOUR application.  The
entry point for win32 applications is WinMain, not main.  Microwindows
uses the same approach.  The win32 "applications" actually contain
all the windowing code and draw directly to the framebuffer.  The
main() entry point is called in mwin/winmain.c, and that code then
calls WinMain, an external, to start running your code.

Regards,

Greg 


Previous by date: 31 Oct 2011 22:46:59 -0000 Runnning microwondows/Nanox‏, OLAIDE IKPEFURAN
Next by date: 31 Oct 2011 22:46:59 -0000 Re: Runnning microwondows/Nanox‏, "Greg Haerr"
Previous in thread: 31 Oct 2011 22:46:59 -0000 libmwin, Kees Schoenmakers
Next in thread: 31 Oct 2011 22:46:59 -0000 Re: libmwin, Kees Schoenmakers


Powered by ezmlm-browse 0.20.