On 22.05.2011 19:37, Nikita Egorov wrote: > I just tried to build one of tests with dll and all worked fine. ( RC5 ) > But you need change the program settings: fltk.lib -> fltkdll.lib and > add one more libraries path ..\..\test.
Yes, I did this as well yesterday for another test (I used the device demo), and it worked as you wrote (I believe that I replaced the library path instead of adding another path). As you say, it worked - surprisingly without adding a WinMain() function. I wonder why and how this worked, though... Then I also created a new project from scratch that linked with fltkdll, and in this project I got the undefined reference WinMain(), as expected. I solved it by adding a small winmain.c file, and this worked. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

