Integrated Application Platform › Forums › General › Embedding an external application
- This topic has 3 replies, 2 voices, and was last updated 9 years ago by
amckinlay.
-
AuthorPosts
-
May 17, 2014 at 5:41 pm #774
ajith
ParticipantHi,
1) When I start an external application from Suneido using either System, Spawn or Runpiped, it runs in its window. Is it possible to have the window inside the Suneido application window?
2) Can we store an executable file which is standalone inside Suneido db and be able to run it. Will that help to contain its window inside SUneido application window?I am thinking of EVE-WE a tiny program that can display and edit SVG files. Unfortunately, it is not under active development, though the last version is available. Its online manual talks about binding it inside MultimediaBuilder –
http://www.goosee.com/evemanual/evemanual.htm#Binding_EVE_inside_Multimedia_BuilderThanks,
ajithMay 21, 2014 at 2:00 am #1052amckinlay
KeymasterHi Ajith,
Sorry for the slow reply.
I was going to say there is no way to run an external program inside another program’s window. But it looks like this MMB program is able to do that.
If it was a text based console program then you could use RunPiped to redirect input and output and display that inside a Suneido Window.
Windows OLE and ActiveX controls were designed to let you do this kind of thing, but they are tricky to work with and the external program has to implement the ActiveX interface. Suneido embeds the Internet Explorer browser component this way.
Sorry, it looks like it is possible, but I do not know how to do it. If you could find an open source program that allows this then we might be able to figure out how it is done.
Does anyone else out there have any ideas?
May 22, 2014 at 6:18 pm #1053ajith
ParticipantHi Andrew,
Thanks for the reply. It is not essential;just wanted to know.
I do not know of any open source software that binds an external program inside it. I will let you know if I come across one.Though MMB is not open source, EVE is.
The user manual says that it communicates with MMB through its menu Control -> Bind Interface. May be EVE’s code may give you a clue. If it interests you, the EVE source code is available at http://bkhome.org/eve/eve_dev-v3.56-aug2003.tar.gzOne further clarification required:
>>>>
If it was a text based console program then you could use RunPiped to redirect input and output and display that inside a Suneido Window.
>>>>Do you mean that the text output of the external program can be read and displayed? Is it also possible to display a window brought up by a console program to be shown inside Suneiodo?
The GnuPlot that I am experimenting with now is a console based program, but outputs a window to show the graphs. I am using RunPiped, but the window is external to Suneido. Is it possible to show the window inside Suneido?Thanks
ajithMay 27, 2014 at 6:37 pm #1054amckinlay
KeymasterNo, RunPiped would only catch the standard input and output (the text that goes to the console window) not any other windows that the program opened.
-
AuthorPosts
- You must be logged in to reply to this topic.