Results 1 to 4 of 4

Thread: InterProccessComunication (Winapi send message?)

  1. #1
    Join Date
    Jan 2008
    Posts
    39
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default InterProccessComunication (Winapi send message?)

    hi, i am new in qt an i am trying to comunitate with another software, i need to send a message to a program and retrevied several string, can somebody give a guide?
    THX!

  2. #2
    Join Date
    Sep 2010
    Posts
    145
    Thanks
    1
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: InterProccessComunication (Winapi send message?)

    If your receiving application has a UI, then you can have a look at WM_COPYDATA. A portable method would be using a socket.

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: InterProccessComunication (Winapi send message?)

    How about using a pipe? The read side of the pipe can be connected to one application, whilst another applications has the write end.

  4. #4
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: InterProccessComunication (Winapi send message?)

    What's wrong with QLocalSocket?
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

Similar Threads

  1. how do i send message by ÙŽ QxtSmtp ??
    By alabdaly in forum Newbie
    Replies: 6
    Last Post: 12th July 2010, 12:28
  2. Segmentation fault when try to send message
    By brevleq in forum Qt Programming
    Replies: 5
    Last Post: 7th January 2009, 01:10
  3. I need to send a message to parent dialog
    By santhoshv84 in forum Qt Programming
    Replies: 1
    Last Post: 3rd July 2008, 11:16
  4. Send TCP message
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 5th June 2008, 09:33
  5. How to send message to Desktop Widget
    By shyam prasad in forum Qt Programming
    Replies: 18
    Last Post: 18th April 2007, 11:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.