The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Newbie: Delphi Cross Proc Communication

I would like to enable an office add-in to communicate with a Delphi based windows application.  I'm wondering what is the best way to do this?  I'm aware of RemObjects, however; I'm hoping there is something simpler given the fact that this all on the same machine (plus RemObjects is a bit pricey for this seemingly simple requirement.)

In .NET land I'd have my app register a remoting end-point and be done, however; I'm using Delphi/Win32 here and obviously have a lot to learn!

Thanks for any help/advice.
melon_helmet
Wednesday, July 19, 2006
 
 
I answered my own question after harking back to the ways of COM:

http://www.informit.com/articles/article.asp?p=130494&seqNum=4&rl=1

Sorry if this was dumb question.
melon_helmet
Thursday, July 20, 2006
 
 
Not sure if this is quite what you're looking for or not, but there is an Office Add-in framework that works with Delphi Win32:

http://www.add-in-express.com/add-in-delphi/
Herbert Sitz Send private email
Thursday, July 20, 2006
 
 
WM_COPYDATA.
File notification.
Memory mapped files (with events).
DDE.
Sockets.
HTTP.
COM.
Message queue. ;-)
MBJ Send private email
Thursday, July 20, 2006
 
 
Add named pipes to that list
Tony
Thursday, July 20, 2006
 
 
Also

Registered clipboard viewer.
Anonymous pipes (usually only for parent/child process relationship).
Mailslots.

The registered clipboard viewer method is almost as easy to implement as WM_COPTDATA, although there can be contention issues with the clipboard.
MBJ Send private email
Thursday, July 20, 2006
 
 
Um, thats why sockets were invented.  works on one machine, and across the globe.
Michael Johnson Send private email
Saturday, July 22, 2006
 
 
Sockets are overkill in some instances.
MBJ Send private email
Tuesday, August 01, 2006
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz