This content has been marked as final. Show 4 replies
Director has an ActiveX xtra already, and there is the
ActiveCompanionSet which also allows communication with ActiveX sprites.
There is Glu32 which allows communication with dll files (C++, ...) and
INM have/had an xtra called Moka which allows communication with Java
(though I haven't used it so can't comment as to its functionality)
In addition to Seans comment, Adobe has an XDK for ... Xtra Development
Never done anything with it, but it containes (contained) a VC++ project
good to go.
Have a look at:
You can add custom handlers to the included c++ skeleton project, which will
be directly callable by lingo.
Also includes instructions for downloading and installing the free visual
c++ 2005 express edition.
After you have everything (vc, psdk) installed, adding lingo callable code
should be a matter of minutes. Even if you have little or no c++ experience
Tested with vc6, vc2005 and vc2005 express.
Director values supported: strings, unicode strings (xtrema string object)
integers, floats and doubles.
If you need any help with this, you can contact me directly to the mail
you'll find on the site.
"kmdguy" <email@example.com> wrote in message
> Hi all,
> I'm a intermedia/expert lingo programmer and have worked with lingo for 10
> However, I would like to write a program for my own use that extracts real
> time financial data from my broker. My broker provides an API to get at
> data and "talk" to their computers. They offer C++ Socket, Java Socket,
> and Active X APIs for use in getting their data and also for initiating
> commands to their servers. I would really like to write my program using
> Director Lingo since that is what my expertise is in.
> However, I'm not too familiar with C++, Java Sockets, DDI or Active X
> Director and was looking for some feedback about the best method to
> for this within Director. Does anyone have any opinions which road I
> focus on such as C++ within Director, or Java Socket within Director or
> X? I'm going to have to experiment and learn how to get Director to talk
> any of these choices but I thought I better try to get some feedback as to
> which choice might provide the best way within Director as well as which
> be the easiest to work with in terms of coding.
> I'm open to purchasing any plug ins necessary to help out as well.
> Any advice is greatly appreciated.
There is the VBScript Xtra available at http://www.xtramania.com/Products/VbScriptXtra/
It costs $75 to register for use per COM/activeX object or $400 for unlimited number of progIDs
I have created a proof of concept that worked no problem with a winsock wrapper activex control using it.
This might be the way to go if you have no C++/Java experience since Visual Basic and Lingo are both BASIC variants it would be relatively easy to translate VB example code to Lingo.
The object browser xtra available for free is worth the download alone as it exposes all ActiveX control methods from within the Director IDE.
I'm not sure if VBSCript xtra is shockwave safe though