Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Dynamic library load works rare in Linux
Re: Dynamic library load works rare in Linux [message #6223 is a reply to message #6217] |
Thu, 02 November 2006 22:32   |
fallingdutch
Messages: 258 Registered: July 2006
|
Experienced Member |
|
|
Hi Nico,
I have downloaded and checked your code.
I don't know wether you should set up X11 again. But i don't have an idea how to solve the Problem.
It looks like this to me:
I Start the App, click on the Button (which loads the dll-Function, see below) - then The PrompOK comes up, i click ok and it seems like the PromptOK-Window has gone but it only moved behind the TopWindow of the App, if you move it aside you can see the PromptOK-Window again, but it isn't redrawn anymore. The PromptOK-Window is only closed when the App is closed, pressing the 'x' of the Title does nothing.
So with each click on the Button in the App (which loads the .so (dll) ) you get a zombie-Window after you click "ok".
code of the .so (dll)
#include <CtrlLib/CtrlLib.h>
extern "C" void test() {
Ctrl::InitX11(NULL);
PromptOK("Hello World");
Ctrl::CloseTopCtrls();
Ctrl::ExitX11();
}
Bas
[Updated on: Thu, 02 November 2006 22:32] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed May 14 19:49:44 CEST 2025
Total time taken to generate the page: 0.03208 seconds
|