Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DDE in VFP
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00430788
Message ID:
00433254
Views:
20
Hi Ben,

Well, I don't know what happened with my previous reply - All that typing up in smoke! Here's another shot at it:

The basics of DDE communication are:
  1. Start a conversation with the DDE server with DDEINITIATE()
  2. Do stuff on the server like execute commands (DDEEXECUTE()), send data to the server (DDEPOKE()), retrieve data from the server (DDEREQUEST())
  3. End the conversation with DDETERMINATE()


You should be able to pick up the Service and Topic parameters that are needed by the DDEINITIATE() call, as well as any available parameters for the functions in item 2 from the sample C++ code you've got. If not, post the code here and we'll give it a shot.

Cheers,

Andrew

>Hi Andrew,
>
>Thanks for your reply. I am trying to fire lisp commands to a specific CAD package, I have communicated with the CAD Package's development team and have C++ code that theoretically gives advice on the DDE Sevices available within their package. I have had absolutely no exposure to the poorly documented DDE and was hoping that somebody could direct me towards a source of information.
>
>Kind Regards,
>
>Ben


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Reply
Map
View

Click here to load this message in the networking platform