November 02, 2025, 12:26:19 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


DDE Connectivity...

Started by crodzilla, July 09, 2008, 08:35:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crodzilla

Using Emergence... does anyone know how to impement DDE connectivity between another windows application.  I have a sample in VB, but I am unsure how to initiate a link in Emergence Basic.  I read the MSDN articles about it.  It seems pretty complex.  Yet excel can do it without any programming, and VB seems pretty straight forward.

A VB sample is attached.  It works if you use the MetaTrader 4 currency trading platform, and enable the DDE server.
It uses a linked text box which means the compiler inserts all the magic.  I think.

How can we implement DDE connectivity?

(Paul: sorry to cross post from Priority Support.  Didn't know if everybody looks there.)

Carl

Ionic Wind Support Team

Carl,
Didn't have an answer for you.  Haven't used DDE since the win 3.1 days with C/C++.   Depending on what you are trying to do I may have alternatives for you though.  I have a group of applications that all register with a central monitoring application using registered window messages for example.  For sending large amounts of data from one application to another there is the WM_COPYDATA message.  And also COM automation if you are trying to implement an exposed interface to your program.

Paul.
Ionic Wind Support Team

crodzilla

Paul,

Well, all I need to do is fetch small amounts of real-time data (currency prices - open,high,low,close) from a trading platform that acts as a DDE server. (metaquotes.net)

P.S. I don't know if you remember me from way back (IBasic)... I didn't bug you much, but my investing software that I was programming made quite a hostile rukus on the old board.  Fortunately for me, I didn't take their foul attitudes.  My program is finally completed and a great success.  I am moving on to other big projects.  Thanks for your support (and time)... then and now.

Carl Rodriguez