[comp.windows.ms] DDE Question

merat@radix (Merat Bagha) (08/11/89)

I am having a problem with the Windows Dynamic Data Exchange protocol and
wondering if I could get some clarification from you DDE experts.
I'm implementing a Windows application that implements DDE (running
under MS-DOS 4.01 & Windows/386 2.10).

When I generate a DDE_INITIATE message to Excel or my own application
(which responds to such messages with a DDE_ACK), I do not get a 
subsequent DDE_ACK message!  Any idea why?

The reason I'm doing this is to issue a DDE_ADVISE message once I have
confirmation that the DDE_INITIATE was correctly processed.  Also, I
assume this is the correct means of acquiring the Windows handle of the
task to which the DDE_INITITATE was sent (any other way?).  Further,
how do I know that the DDE_ACK is one generated as the result of my
DDE_INITIATE and not some other message?

Finally, when generating a DDE_INITIATE to a given application and topic,
do global atoms exist for them?  Need I increment their global count prior
to the DDE_INITIATE?  Need I decrement/delete these atoms once the 
DDE_ACK is received?

Many thanks.

Merat Bagha	(503)690-1229
Radix MicroSystems
-- 
Merat Bagha 
-----------------------------------------------------------------------------
Radix MicroSystem, Inc.    |    merat%radix@omepd.intel.com 
19545 NW Von Neumann Drive | OR decvax!decwrl!mipos3!omepd!radix!merat
Beaverton, Oregon 97006    | OR tektronix!ogcvax!verdix!radix!merat 
Phone: (503)690-1229       |
_____________________________________________________________________________