D
Dennis Myrén
Hi.
A recent thread at dotnet.general brought me back to DDE(Dynamic Data
Exchange) Interfaces.
I was trying to use the DDE API functions defined in user32.dll
to connect to and to control a DDE server(in this case, the server was
Acrobat).
I manage to initialize DDE using DdeInitializeA
and i also manage to connect to the DDE server using DdeConnect.
Then, after creating a DDE command(which i know is correct),
and creating a data handle for that command(DdeCreateStringHandleA,
DdeCreateDataHandle),
i try to use DdeClientTransaction to execute the command.
I get no error messages whatsoever, however, nothing happens!
The commands i have fed to the DDE server was obviously not executed.
Has anyone successfully connected to and controlled a DDE server
using C# and the Windows API?
Please share your experience.
You might ask yourself why on earth i want to use DDE in 2004,
but there is no other way(COM way) to do what i want to do, and i think
it is somewhat funny for a change as well.
A recent thread at dotnet.general brought me back to DDE(Dynamic Data
Exchange) Interfaces.
I was trying to use the DDE API functions defined in user32.dll
to connect to and to control a DDE server(in this case, the server was
Acrobat).
I manage to initialize DDE using DdeInitializeA
and i also manage to connect to the DDE server using DdeConnect.
Then, after creating a DDE command(which i know is correct),
and creating a data handle for that command(DdeCreateStringHandleA,
DdeCreateDataHandle),
i try to use DdeClientTransaction to execute the command.
I get no error messages whatsoever, however, nothing happens!
The commands i have fed to the DDE server was obviously not executed.
Has anyone successfully connected to and controlled a DDE server
using C# and the Windows API?
Please share your experience.
You might ask yourself why on earth i want to use DDE in 2004,
but there is no other way(COM way) to do what i want to do, and i think
it is somewhat funny for a change as well.