IonicWind Software

IWBasic => General Questions => Topic started by: crodzilla on July 09, 2008, 08:35:40 AM

Title: DDE Connectivity...
Post by: crodzilla on July 09, 2008, 08:35:40 AM
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
Title: Re: DDE Connectivity...
Post by: Ionic Wind Support Team on July 09, 2008, 09:34:34 AM
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.
Title: Re: DDE Connectivity...
Post by: crodzilla on July 09, 2008, 03:25:11 PM
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