Can CGI do interprocess communication?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Can CGI do interprocess communication?

  1. #1
    Bo Blodgett Guest

    Can CGI do interprocess communication?


    I have developed a C++ WIN32 CGI program and I want it to communicate with
    my other program on the server. Using DDE I can make the programs communicate
    when the CGI program is not run through the web browser. But as soon as I
    run the CGI program through the web browser, the CGI program can no longer
    connect to the DDE server program I have created. Seems that IIS is causing
    it to no longer work. How do you fix this? Or how can I get a CGI program
    to do interprocess communication with some other form such as pipes, OLE..
    or whatever? What will work?

    Thanks!
    Bo
    bodine@federalregister.com

  2. #2
    James Dooley Guest

    Re: Can CGI do interprocess communication?

    Try changing the IIS service to allow it to interact with the desktop from
    the services applet in the control panel and see if that helps. However
    I have to say that using DDE for this may result in an unstable application.
    I'd strongly recommend that you use ActiveX as it gives you less problems
    in this area.

    Regards,

    James.

    "Bo Blodgett" <bodine@federalregister.com> wrote in message
    news:39ff074f$1@news.devx.com...
    >
    > I have developed a C++ WIN32 CGI program and I want it to communicate with
    > my other program on the server. Using DDE I can make the programs

    communicate
    > when the CGI program is not run through the web browser. But as soon as I
    > run the CGI program through the web browser, the CGI program can no longer
    > connect to the DDE server program I have created. Seems that IIS is

    causing
    > it to no longer work. How do you fix this? Or how can I get a CGI program
    > to do interprocess communication with some other form such as pipes, OLE..
    > or whatever? What will work?
    >
    > Thanks!
    > Bo
    > bodine@federalregister.com




  3. #3
    GuyBe Guest

    Re: Can CGI do interprocess communication?


    Well it shouldn't be that difficult to include piping in ur app. In effect,
    we've got CGI that include dblib code that in turn open pipes (named pipes)
    to SqlServer. Same thing for Oracle databases. As far as I'm concerned, you
    just have to look for IPC stuff in ur MSDN, even an outdated version as this
    IPC topic has been published over and over for the last 3 or 4 years...
    Don't use DDE it's not worth it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center