On 23/09/18 08:15, Paul Breneman wrote:
On 09/21/2018 05:07 PM, duilio foschi wrote:> I dream of a automated virtual machine that can run in a software> bubble, as possible with Vmware Workstation, VIrtualbox and other> products.> > However in my dream this bubble should take keyboard commands from a> windows application external to the bubble, and this application> should be able to do screen scraping from the bubble screen (virtual> and invisible from the PC screen).> > In this way, one would be able to use algorithms existing in old EXE> applications inside his own modern application without writing any> code.> > Or one would be finally able to send a whatsapp message from his own> application.> > Has this automated virtual machine ever been implemented ?> > Thank you> > Peppe Polpo I'm not sure I understand much about your concept.  Have you taken a look at Levinux?  Comments appreciated!

I see what he's getting at, and it's something I've considered in the context of calling (a DLL associated with) a development tool in the past (specifically, the compiler for the Propeller chip).

I accidentally hit the wrong button a couple of days ago and mailed him directly, but for the record in case my thoughts are useful to anybody:

"You can certainly run text-based programs in DOSemu or Bochs under Linux. If the guest program communicated solely by stdin and stdout then communications should be easy enough to manage.

"If the guest used scancodes for input (i.e. "PC-DOS" rather than "MS-DOS" programming techniques), it's still probably not too bad. If it wrote to arbitrary locations on the screen... that would be a real problem, I've previously looked at scraping arbitrary fields from (Minitel) terminal output and it was a pain.

"In any case, as well as the communications aspect the host would probably need some sort of scripting to drive the guest program in a closed loop (i.e. /this/ is collected from the screen and /that/ is sent to the keyboard), as well as to e.g. send a WhatsApp message."

He assures me that he doesn't have money to put on the table :-)

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
fpc-other maillist  -  fpc-other@lists.freepascal.org

Reply via email to