is there any api can send signal/message to other application
is there a way to close other application through windows title like MFC in win32 platform.
or other method, can qt do it? other question i want to know is can qt send a message/signal to other application.
any help is appreciated.
Re: is there any api can send signal/message to other application
Re: is there any api can send signal/message to other application
Quote:
Originally Posted by
guchangyuan
other question i want to know is can qt send a message/signal to other application.
if your both application are in Qt and you have the source code of both of the application then on Windows you can just send the SendMessage api... or for a platform independent way... google for QtSingleApplication to take some hint.
Re: is there any api can send signal/message to other application
Quote:
ther question i want to know is can qt send a message/signal to other application.
QProcess will help u .. as a std Input u can send message to seperate application ... otherwise as a argument of the application u can send a message ..
Re: is there any api can send signal/message to other application
Quote:
Originally Posted by
MrDeath
if your both application are in Qt and you have the source code of both of the application then on Windows you can just send the SendMessage api... or for a platform independent way... google for QtSingleApplication to take some hint.
thank you for your answer, why i can't find the information about QtSingleApplication int qt assisatant, and i include it, compiler error information is : no this file.
Re: is there any api can send signal/message to other application
is qt call win32 api like mfc? direct call it? like HWND hwnd = FindWondw("", "");
Re: is there any api can send signal/message to other application
Quote:
thank you for your answer, why i can't find the information about QtSingleApplication int qt assisatant, and i include it, compiler error information is : no this file.
because it is not a part of qt api... you have to download it sperately from qtsotware.com solutions page
Quote:
is qt call win32 api like mfc? direct call it? like HWND hwnd = FindWondw("", "");
yes you can call any win32api ... just include <windows.h> whereever you want to use it... but remember that your code will work only on windows then.
Re: is there any api can send signal/message to other application
Quote:
Originally Posted by
MrDeath
because it is not a part of qt api... you have to download it sperately from qtsotware.com solutions page
yes you can call any win32api ... just include <windows.h> whereever you want to use it... but remember that your code will work only on windows then.
i got it. thank you very much.