![]() |
|
#1
|
|||
|
|||
Open a FLTK window in a DLLHello,
I wrote a application which loads a (also self-programmed) dynamic library (.dll) and import a function which creates a FLTK window (from the DLL). But the problem is that the window is not attached to the application main window and not redrawed proberly. The content of the window (button etc.) are also not shown. Does anyone has an idea? Is it a bug? |
|||
|
#2
|
||||
|
||||
Re: Open a FLTK window in a DLLHello and Welcome to GIDForums™ FLTK Forum bix2702.
We will need a little more information to possibly help. What version of FLTK are you using. Some posted code on how you are creating your window etc. Mark __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
|
#3
|
|||
|
|||
Re: Open a FLTK window in a DLLThanks for quick anser
My fltk version is v1.1.7 Ok, here comes example code for dll.cpp: CPP / C++ / C Code:
Here is the DLL header dll.h: CPP / C++ / C Code:
Here is the code in main application, a click on a button should open the DLL window: CPP / C++ / C Code:
Hope this is enough. write if you need more info. but i think now its clear what I want to do: I want to load a dll dynamically into an application. the dll has a function which built a window wich should be shown in main application. (The window in dll was made with fluid). |
Recent GIDBlog
Master?s Degree by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FLTK && fluid In Motion | cable_guy_67 | FLTK Forum | 4 | 20-Mar-2008 03:52 |
| Transparent FLTK Window | yilmaz | FLTK Forum | 6 | 23-May-2007 08:01 |
| need help with a console menu system | BullBuchanan | CPP / C++ Forum | 6 | 20-Aug-2006 14:46 |
| [Tutorial] GUI programming with FLTK | dsmith | FLTK Forum | 10 | 03-Oct-2005 15:41 |
| log window in fltk | podarok | FLTK Forum | 5 | 11-May-2005 02:23 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The