DDE server connect / disconnect

Hi,
I have a few flowmeters in system. Each of them is sitting at different DDE server, named FlowDDE, FlowDDE2, etc. 5 in total.
I'm connecting through: 
ConnectToDDEServer (&hConv, "FlowDDE", "C(1)", DDECallback, 0);
ConnectToDDEServer (&hConv, "FlowDDE2", "C(1)", DDECallback, 0); etc.
and everything works well.
To disconnect there is command:  DisconnectFromDDEServer (0);
However, it's not exactly what I want to do... this command breaks all connections with specification.
So my question: is there any command with specification for disconnection? or is there any way to specify server name into DisconnectFromDDEServer ?
Thank you,
Alexey.
UPDATE: /Solved/
I recognised, that I can add different unsigned int
static unsigned int hConv, hConv2;
ConnectToDDEServer (&hConv, "FlowDDE", "C(1)", DDECallback, 0); 
DisconnectFromDDEServer (hConv);
ConnectToDDEServer (&hConv2, "FlowDDE2", "C(1)", DDECallback, 0); 
DisconnectFromDDEServer (hConv2);
works well. 

Hi Jose, 
It looks like you have posted on a very old thread.  I think you might find more luck getting replies if you try to start a new post.  Also, it might help if you elaborate a little more in your question, or post a suggestion and ask for comments.  
Best wishes!
Amanda B.
Applications Engineer
National Instruments

Similar Messages

  • Adobe Reader won't open pdfs. Message : Fatal Error: Acrobat failed to connect to a DDE server.

    What can I do to restore my Adobe Reader to working order. Worked fine yesterday. Today, won't open any pdf  docs in Adobe or saved on the computer. Message keeps popping up: Fatal Error: Acrobat failed to connect to a DDE server.

    DDE stands for Dynamic Data Exchange, check this threat
    http://forums.adobe.com/message/1877300#1877300

  • Adobe Reader 9.1 - Fatal Error : Acrobat failed to connect a DDE server

    Hi Everyone,
    I have some users telling me that when they try to open a pdf attachment in Outlook 2007. Nothing happens. The system just sits there as if you did not click on the attachment. If you wait long enought a popup box from adobe reader comes up and says:
    Fatal Error
    Acrobat failed to connect a DDE server.
    All the PDFs are very simple, just simple scanned images or converted over from a document into a PDF.
    I've tried repairing the install and still had no luck - same behaviour. The only way the pdf opens is if we go into task manager and close the AcroRd32.exe process or logoff and log back in.
    If it helps, the most recent system change was the upgrade to IE7 and a new anti-virus software.
    Thanks,
    KEvin

    No solution I am afraid but same problem, running full version of AVG and problem hit immediately after Adobe Reader 9.1 upgrade.  Pretty darn sure problem is in the upgrade but the relevant Restore Point was overwritten before I figured it out.  Any advice welcome.

  • Failed to connect to DDE Server Acrobat XI Pro Windows 8.1

    I had installed Acrobat XI Pro on a Windows 8.0 notebook computer and it was working fine. When I upgraded to Windows 8.1 a few months ago, I started getting intermittent problems/error messages when I would try to open a pdf file by doubleclicking on the file either in a folder or on the desktop. The file wouldn't open and the error message was "Failed to connect to DDE Server." I can still open the files by doing a File, Open from inside the software, so it's not an insurmountable problem, just annoying.  Any suggestions on how to fix this?

    Hi TreeLady ,
    Thanks for posting on forums, DDE server was a part of Windows XP, it was removed from Windows Vista and above. However, if you are getting this error in Acrobat, try the following.
    (This error occurs when you have more than 1 process of Acrobat running)
    1) Go to the task manager by presiing Ctrl+Alt+Del
    2) Go to the processes in Task Manager
    3) End all processes related to Acrobat
    4) Launch Acrobat again.
    Also, to find the root couse or to isolate the issue you can try the following.
    1) Click on start
    2) Type RUN
    3) Type MSCONFIG
    4) Go to services
    5) Hide all Microsoft services
    6) Disable all Services (Except Microsoft)
    7) Restart your machine
    8) Launch Acrobat to check if you get the issue.
    This would help us to understand if Acrobat or any other third party process is not allowing Acrobat process to end causing a conflict .
    Thanks,
    Vikrantt Singh

  • Can't open file ... error msg "cannot connect to DDE server"?

    I can't open my pdf files from Outlook or just open Acrobat. If it does open, it says Acrobat failed to connect to DDE server? I'm using Acrobat Pro 9.3, I think as it updated. I have Win7 with current updates on a new Sony Vaio laptop.
    I looked at the other msgs but I am using Norton Anti-Virus not the one mentioned. I am upgraded to Win7 and IE8. All worked ok before switching to new computer and in starting to use Win7 & IE8.
    Thanks!
    Sherry
    Message was edited by: lilbur
    Message was edited by: lilbur

    See http://forums.adobe.com/message/5641417#5641417

  • Adobe Reader XI - Fatal Error Acrobat failed connect DDE Server

    Hallo zusammen.
    Mein System ist:
    Windows XP SP3
    Adobe Reader XI (11.0.3)
    Outlook 2010
    Exchange 2010
    Antivirus: Avast Endpoint Protection Suite Plus
    Alle User haben ein Firmenprofil
    Der "Problemuser" arbeitet an zwei PC's mit Windows XP SP3 -> Profil wurde komplett erneuert
    PC HP Compaq 6300 Pro (Businesspc) -> wurde vor 1 Woche neu installiert
    Seit ein paar Wochen hat einer unserer Userin das Problem dass wenn sie normal mit Outlook arbeitet und Lieferscheine bekommt, öffnet sie diese und druckt sie aus. Doch nach ein paar Stunden arbeiten tritt immer wieder der nachfolgende Fehler auf. Sie klickt auf das PDF und bevor das PDF sichtbar ist erscheint folgender Fehler:
    Fatal Error
    Acrobat failed to connect to a DDE server.
    Sobald sie den Reader schliessen möchte, passiert nichts. Der Reader schliesst sich nicht. Sogar den Prozess schliessen geht nicht. Nur ein Neustart hilft noch.
    Manchmal kann sie das PDF öffnen und lesen und der Reader lässt sicht dann aber wie oben beschrieben nicht schliessen (Fehlermeldungslos).
    Wie kann ich das mit dem DDE Server beheben? Ist ev. ein Port beim Antivirus geschlossen welcher offen sein sollte?
    Lg Samigasi

    Das ist ein Windoof-Fehler. Das hat mit Acrobat Null zu tun. Da schmiert irgendein Dienst oder die svchost.exe selber ab....
    Mylenium

  • Fatal Error Acrobat failed to connect to a DDE server?

    Need help, Adobe Acrobat Pro 11 will not open.  Fatal Error Acrobat failed to connect to a DDE server.

    Hi joanne36657607,
    I a sorry that you are experiencing this issue & will be happy to help you.
    Please provide some more information in order to diagnose the issue correctly.
    1) Which Operating System you are using.
    2) Exact version of Acrobat.
    3) What were you doing when this problem start occurring.
    4) Have you tried re-installing the product, if not, then please try it.
    Regards,
    Aadesh

  • Fatal Error: Failed to connect to DDE server

    I've read the other posts about this problem, but none seem to fit my situation.
    This happened while trying to use a 3rd party program Typhoon AutoRun to test autorun files for CDs of our Ebooks that we're burning. Each of these Ebook CD projects has 6 PDF files to open; 1 Mobipocket, 1 HTML. Of course, the only problem occurs with the PDF files.
    Let me start by saying that I was using Acrobat 6 until September, when we upgraded to CS 4, and never experienced this issue.
    And after installing Acrobat Pro 9, I hadn't any difficulty until TODAY.
    Order of events: I opened a past completed project in Typhoon Autorun to test the file before burning to CD.
    When I clicked on one of the PDF document buttons, the first thing that happened was Adobe Active X 9 attempted to run. BUT the Active X failed to install on the first attempt:
    "Error 1904.Module
    C:|WINDOWS\system32\Macromed\Flash\Flash9f.ocx failed to register. HRESULT -2147220473. Contact your support personnel."
    The Typhoon Autorun program continued operating and opened the project's PDF documents without any difficulty -- all 6 opened, one after the other, when I clicked on their buttons.
    I closed out the error message, closed out the Typhoon Autorun project I was testing to work on another Typhoon Autorun project. When I had that one finished, I tested it as I had the one previous.
    This time when I clicked on a button to open one of the PDF button, the Adobe Active X 9 program loaded and INSTALLED successfully.
    THEN, the PDF document opened. But when I attempted to open any of the other 5, they did nothing. I double-checked my Typhoon Autorun project files, but all of the settings were correct. I tried testing my project again. This time NONE of the PDF files would open.
    I closed the Typhoon Autorun program and attempted to open Acrobat Pro 9 immediately after. I tried clicking on the shortcut button several times with no result. After several minutes, literally, I received the "Fatal Error: Failed to connect to DDE server" --- actually, several instances of that message to correspond with all the times I'd attempted to open the program.
    I shut down my computer, rebooted, reopend Typhoon Autorun and tried to test a different project.
    Again, Adobe Active X 9 installed. (If it's already installed why is it reinsalling???)
    And again, only 1 PDF file would open. Then none of the others. I shut down Typhoon Autorun and tried to open Adobe Acrobat again, and it wouldn't open.
    The problem seems to be appearing when Adobe Active X 9 installs, and it's doing that automatically, without asking.
    I never had this problem when I used Adobe Acrobat 6 (I'm really beginning to regret upgrading)
    I never had this problem before this Active X 9 started installing.
    Sandra Dugas

    No solution I am afraid but same problem, running full version of AVG and problem hit immediately after Adobe Reader 9.1 upgrade.  Pretty darn sure problem is in the upgrade but the relevant Restore Point was overwritten before I figured it out.  Any advice welcome.

  • Cannot open PDF as cannot connect to DDE Server

    We have Adobe Reader X installed on our server and it seems only one person is having this issue...
    When she goes to open a PDF file, it states that it cannot open the file as it cannot connect to the DDE server. She also cannot open Adobe Reader X. Any ideas on how to solve this issue?

    See http://forums.adobe.com/message/5641417#5641417

  • I can not open any pdf file... . Fatal error. Acrobat has failed to connect a DDE server

    fatal error
    Acrobat has failed to connect a DDE server....
    What can I do?

    Did you register and activate Acrobat? I don't remember the DDE issue off hand, but it should not be occurring with the regular Acrobat installation.

  • I can't download attachments.  I get acrobat failed to connect to a DDE server.

    Can anyone help me with the error "Acrobat failed to connect to a DDE server".  I can't download attachments very easily.  HELP?  I've tried uninstalling the Adobe reader and re-installing it, but nothing has changed.

    Attachments to what - email?  What is your email client?  How do you download?

  • "Acrobat Failed to Connect to DDE server"

    Hi
    I get a fatal error when I try to open a PDF document by double clicking on it. I am using version 10.1.4.
    It just started recently. It was working before. I don't know why it is not working now.

    Hi,
    No, the Privileged key is not present at all in HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\.
    I See a field AdobeViewer in which I see "TrustedMode" set to 0.
    Also I noticed that the value for HKEY_CLASSES_ROOT\acrobat\shell\open\ddeexec\application is "AcroviewR10" even after the restart.
    But What I found was that the shockwave flash plugin is causing some problem with Acrobat reader. WHen ever I enable this plug in I am not able to view the PDF documents and I get the original  error "Failed to connect with DDE server". If I disable the plugin and restart then I am able to view the docs. But I can't browse web sites which need flash plugin. So I dn't know what exactly is the issue here..
    Any more suggestions?

  • Acrobat Reader XI - Acrobat failed to connect to a DDE Server

    I have recently purchased a new computer running Windows 8 and have installed Acrobat Reader XI. When trying to open pdf file get Fatal Error (Acrobat failed to connect to a DDE server)
    Any suggestions?

    Disable Protected Mode [Edit | Preferences | Security (Enhanced)].

  • I've downloaded acrobat XI Pro, installed it, but get "Acrobat failed to connect to a DDE server error message.

    I've downloaded acrobat XI Pro, installed it, but get "Acrobat failed to connect to a DDE server error message.

    Hi Bruce,
    Please open registry by typing "regedit" in the Run window (Windows + R)
    Now, navigate to "HKEY_CLASSES_ROOT\acrobat\shell\open\ddeexec\application and changing the Key from "AcroviewA10"  to  "AcroviewR10.
    Now, try launching Acrobat and let me know if the issue resolves.
    Regards,
    Anubha

  • I get a error message "Acrobat failed to connect to a DDE Server.

    I bought a copy of Adobe Acrobat XI and installed it on my computer.  It worked good for about a month.  Than it would not load the program so I could.  I tried to open as the adminstrator and the program still does not open.  I ran a troubleshooter and it said"Acrobat failed to connect to a DDE Server".  What can I do to fix this problem so Acrobat XI will run?

    Hi Chuckn96,
    Thank you for posting on the Adobe forums, kindly refer to the URL mentioned below. I have tried answering it there.
    https://forums.adobe.com/thread/1565091
    Thanks,
    Vikrantt Singh

Maybe you are looking for

  • How to populate table TVENDCUST_SCGRT?

    Hi I want to know how was this table being populated....Actually I had a problem in transaction FK03 the field that I appended in table LFB1 for vendor group does not display in FK03 for spanish log.in but for english log-in it display.W hen I debug

  • Where is full installer for webcenter 11.1.1.5.0?  Link on website broken

    I tried to download the full installer of webcenter 11.1.1.5.0 from http://www.oracle.com/technetwork/middleware/webcenter/downloads/index.html It says directly below the link that this is a full installer but when you download it, the readme says it

  • Table fields to match pdf form

    I found this on my formscentral help file. Note: Some types of form fields aren't supported when you import a PDF form. For example, text fields with formatting applied, such as numeric or percentage fields, are converted to plain text fields. And, s

  • Firefox not available for samsung galaxy y??

    Firefox for mobile is not compatible with all smart phones available in market?? This is very disappointing....am a hardcore firefox fan and firefox is not available for my samsung galaxy y....firefox us known for reaching to all kind of people aroun

  • Exporting to QT: FPS issue

    Hello all, I've made a presentation in Keynote that I would like to export to exact 25 FPS. Choosing under custom, there is a way to select 25 FPS, but after export in the movie inspector in QT it says somthing between 23.4 and 24 FPS. I don't unders