• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 511
  • Last Modified:

DDE server and MFC .?!?..

Hi ...
is it possible to talk to DDE server using a classes under mfc , or anything like this ?
Is there any instruction like in MS-Access Macro command : DDEInitiate , DDETerminate, DDERequest that i can send from my own MFC Programm ?
0
SkizoWalker
Asked:
SkizoWalker
  • 2
1 Solution
 
SamratAshokCommented:
Iam not sure that I got your question correctly

All the DDE fuctions we see in VB and MS Access are essentially calls to WIN API (16 or 32)

Whole of the API is natively available to any C or C++
Programmer

So you can do everything in C++ that you can do with
VB or VBA



0
 
davmarcCommented:
You can use the raw message-based DDE, the DDEML API, or some higher level C++ encapsulation like the one detailed by Nigel Thompson in the technical article "Implementing DDE Using C++ Classes" (available on MSDN).
The last seems appropriate for your request.

Davide Marcato.
0
 
SkizoWalkerAuthor Commented:
Sure , but where could i find these classes , still i don't have any access to  MSDN - You will earn my point when i will get my classe :) !!
 
L8er...

0
 
davmarcCommented:
The full MSDN Library CD is also available online at http://www.microsoft.com/msdn. You must register to get access, but the registration is completely free.
Maybe you'll be able to get the source code from there.
If not, send me your E-Mail address and I'll attach you the whole thing - but please search the online MSDN before, I'm not sure whether forwarding MSDN articles violates any copyright.

Davide Marcato.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now