Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-20-2007, 06:23 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
how to link multiple process dynamically

All Developer,
I have to develop one console based network application in QT 4 which fetch data from the database and transmit on the network. The application also have a GUI part which shows all data on the GUI.I have to link with the GUI process dynamically and then remove it. How can i do this?.
Ambar Chakraborty
Old 09-21-2007, 05:12 PM   #2
Registered: Jul 2004
Location: Jemna, Tunisia
Posts: 46

Rep: Reputation: 15
Well if I've understood you correctly, there two solutions:
  1. Use IPC: You can use a technique of Iter-Process-Communication so you have two applications one console based that fork itself to launch the GUI app and then feed it with necessary data.
  2. Use dynamic loading: Here you can develop your GUI as a dynamic library and then use dl* functions to load the library (using dlopen) and get pointer to the appropriate GUI interface functions (using dlsym). This technique is mostly used to load plugins.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference in MySQL packages: glib(static) and Dynamically link Swakoo Linux - General 2 08-01-2007 11:36 PM
crontab - Multiple Instances of same Process pier0w Red Hat 3 01-10-2007 06:45 AM
multiple process write to a file tangxf Linux - General 2 11-23-2005 01:44 AM
multiple processes everytime i start a process murray_linux Red Hat 4 07-29-2005 06:01 PM
preventing multiple process instances the_dayi Programming 2 07-14-2003 06:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration