Hi, It looks like it cannot be done easily. This is an import library. I would suggest that you change the name to something like fltkdll_import.lib or something like that to avoid confusion.
Thanks, Asif On Mon, May 23, 2011 at 10:53 AM, asif saeed <[email protected]> wrote: > Hi Nikita, > > On Mon, May 23, 2011 at 12:47 AM, Nikita Egorov <[email protected]> wrote: > >> int xmain(int argc, char* argv[]) >> { >> Fl_Window* w = new Fl_Window(100,100); >> //bla-bla-bla >> return 0; >> } >> And I set the entry point as "xmain" >> > > >> Properties->Linker->System->SubSystem="windows" >> Properties->Linker->Advanced->Entry point = "xmain" >> >> All OK! Size of working program 4K :-) >> > > I set the entry point to my own main(). The application does work that way > but it hangs when you close it. I think calling main() from WinMain (that > ideally should sit somewhere in the static fltkdll.lib stub) should be given > preference; this allows the application to end normally. > > Peace, Asif > > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

