Delphi Scripts (OpenInsight)
At 02 NOV 2001 02:43:42PM Rick Todd wrote:
Can you intergrate a delphi script into an OI application? If yes, would you use the same method as a visual basic or can you declare it as function? Or am I even close? How would I do it?
Thanks
Rick
At 02 NOV 2001 05:44PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Rick,
Can you intergrate a delphi script into an OI application? If yes, would you use the same method as a visual basic or can you declare it as function? Or am I even close? How would I do it?
I'm assuming that you need to call some Delphi code from OpenInsight? If so, probably the easiest method is to wrap the code in a function exported from a Delphi DLL and call that function directly from Basic+ in OI. We do this a lot - our Utility32 product is written using Delphi and uses this technique. (Check the on-line help for calling DLL's from OI.)
There are also other ways for talking to an app outside of OI, like DDE, using the Windows Script Host and Windows Messages for instance. You can also get Delphi to connect to OpenEngine directly via the RevCAPI interface and control things from there instead. It all depends on what exactly you're trying to achieve? Anything's possible (mostly…
![]()
World leaders in all things RevSoft