Results 1 to 3 of 3

Thread: Dynamic Data Exchange (DDE) Server in Qt Application

  1. #1
    Join Date
    Jul 2012
    Location
    Austria
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Dynamic Data Exchange (DDE) Server in Qt Application

    Hy@everyone,

    I have a problem and after days of seraching i can't find anything good to use.

    My problem:
    I have a Qt-Application (xD) and i wanna have the following behaviour:
    When the user double-click a file in the windows explorer the file open this file in our application. If the user double-Click on another file this file should open i the same instance as the file before.

    I know that the "file to application"-binding is called "file association" and in windows this information is stored into the windows-registry (and i know how to do it). I have take a look at it and find out that all programs (Word, Excel, CATIA, Adobe Reader, etc.) that have my desired behaviour use a DDE (Dynamic Data Exchange)-Server to do this. This is an very old technology but it seems it is the only technology which can do that.
    In a MFC-based Application there is already an DDE-Server included. For Qt i can't find anything (only a client to communicate to an existing DDE-Server).

    Does anyone have a DDE-Server Implementation for an Qt-Application or how can i make such a behaviour for an Qt-Application?

    OS: Windows 7 x86 & x64
    Qt: 4.7.3

    Thanks in advance
    Tonka

  2. #2
    Join Date
    Jul 2012
    Location
    Austria
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Dynamic Data Exchange (DDE) Server in Qt Application

    I have found a class. For anybody who have an similar problem =>http://qt-project.org/wiki/Assigning...ion_on_Windows

    Greetings
    Tonka

  3. #3

    Default Re: Dynamic Data Exchange (DDE) Server in Qt Application

    Nice post. I learn something more challenging on different blogs everyday. It will always be stimulating to read content from other writers and practice a little something from their store.

Similar Threads

  1. Replies: 3
    Last Post: 30th April 2012, 07:39
  2. Dynamic Data Exchange (DDE)
    By mlheese in forum Qt Programming
    Replies: 1
    Last Post: 11th November 2011, 02:57
  3. Server data exchange strategy
    By thru in forum General Programming
    Replies: 3
    Last Post: 21st July 2010, 20:15
  4. will Qt delete all dynamic data?
    By somename in forum Qt Programming
    Replies: 13
    Last Post: 31st May 2010, 23:18
  5. Commands exchange between Client and Server
    By QAlex in forum Qt Programming
    Replies: 8
    Last Post: 23rd November 2009, 16:59

Tags for this Thread

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.