-
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
-
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
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks