Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DDE server and MFC .?!?..

Posted on 1997-10-10
4
Medium Priority
?
510 Views
Last Modified: 2013-11-20
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
Comment
Question by:SkizoWalker
  • 2
4 Comments
 
LVL 2

Expert Comment

by:SamratAshok
ID: 1307979
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
 
LVL 4

Expert Comment

by:davmarc
ID: 1307980
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
 

Author Comment

by:SkizoWalker
ID: 1307981
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
 
LVL 4

Accepted Solution

by:
davmarc earned 140 total points
ID: 1307982
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question