Hello VMers.
I would like to see if anybody already had embedded a VM (Windows XP here) inside a Window application.
I could do that with Tcl/Tk like in here: (scroll to the bottom)
Another possibility was:
http://web.archive.org/web/20050309062352/http://home.t-online.de/home/dshep...
Well, you got the idea.
The point would be to be able to get the VM window inside an app like an activeX/COM object for example (easiest to use).
http://www.sugarweb.com/Web/Squeak/readme.htm appears dead. Anyone having a copy of what was there?
I saw http://wiki.squeak.org/squeak/459 for talking with the oustide world afterwards which is good.
And the web browser plugin: http://wiki.squeak.org/squeak/1865
Thanks for the help!
On 2012-06-19, at 21:00, phil@highoctane.be wrote:
Hello VMers.
I would like to see if anybody already had embedded a VM (Windows XP here) inside a Window application. [...]
And the web browser plugin: http://wiki.squeak.org/squeak/1865
The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily.
- Bert -
I scavenged the web a bit to find out some sources.
I also managed to install the plugin in Chrome.
So, it shows in about:plugins
But well, it crashes.
Is anyone here having a working source code and dll that I can put in there for testing?
Then I could start porting this to embed the VM window in another program.
I've looked at the code mind you, but I first want to see this running so that I can step through with a debugger to get a clue of what's going on. (I miss self halt...)
TIA Philippe
2012/6/19 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-19, at 21:00, phil@highoctane.be wrote:
Hello VMers.
I would like to see if anybody already had embedded a VM (Windows XP here) inside a Window application. [...]
And the web browser plugin: http://wiki.squeak.org/squeak/1865
The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily.
- Bert -
On 2012-06-20, at 00:14, phil@highoctane.be wrote:
I scavenged the web a bit to find out some sources.
I also managed to install the plugin in Chrome.
So, it shows in about:plugins
But well, it crashes.
Is anyone here having a working source code and dll that I can put in there for testing?
http://squeakland.org/download/
- Bert -
Then I could start porting this to embed the VM window in another program.
I've looked at the code mind you, but I first want to see this running so that I can step through with a debugger to get a clue of what's going on. (I miss self halt...)
TIA Philippe
2012/6/19 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-19, at 21:00, phil@highoctane.be wrote:
Hello VMers.
I would like to see if anybody already had embedded a VM (Windows XP here) inside a Window application. [...]
And the web browser plugin: http://wiki.squeak.org/squeak/1865
The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily.
- Bert -
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be | Web: http://philippeback.eu | Blog: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
There is no plugin there, only etoys. Is the plugin inside?
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:14, phil@highoctane.be wrote:
I scavenged the web a bit to find out some sources.
I also managed to install the plugin in Chrome.
So, it shows in about:plugins
But well, it crashes.
Is anyone here having a working source code and dll that I can put in there for testing?
http://squeakland.org/download/
- Bert -
Then I could start porting this to embed the VM window in another program.
I've looked at the code mind you, but I first want to see this running so that I can step through with a debugger to get a clue of what's going on. (I miss self halt...)
TIA Philippe
2012/6/19 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-19, at 21:00, phil@highoctane.be wrote:
Hello VMers.
I would like to see if anybody already had embedded a VM (Windows XP here) inside a Window application. [...]
And the web browser plugin: http://wiki.squeak.org/squeak/1865
The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily.
- Bert -
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be | Web: http://philippeback.eu | Blog: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
On 2012-06-20, at 00:24, phil@highoctane.be wrote:
There is no plugin there, only etoys. Is the plugin inside?
It gets installed with Etoys, yes.
After installation, click the "launch" link on a project page. E.g.
http://squeakland.org/showcase/project.jsp?id=9655
That runs Squeak inside the browser.
- Bert -
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:14, phil@highoctane.be wrote:
I scavenged the web a bit to find out some sources.
I also managed to install the plugin in Chrome.
So, it shows in about:plugins
But well, it crashes.
Is anyone here having a working source code and dll that I can put in there for testing?
http://squeakland.org/download/
- Bert -
Then I could start porting this to embed the VM window in another program.
I've looked at the code mind you, but I first want to see this running so that I can step through with a debugger to get a clue of what's going on. (I miss self halt...)
TIA Philippe
2012/6/19 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-19, at 21:00, phil@highoctane.be wrote:
Hello VMers.
I would like to see if anybody already had embedded a VM (Windows XP here) inside a Window application. [...]
And the web browser plugin: http://wiki.squeak.org/squeak/1865
The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily.
- Bert -
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be | Web: http://philippeback.eu | Blog: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be | Web: http://philippeback.eu | Blog: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
Hey, thanks, works perfectly in Chrome.
Now, where can I find the source of NPSqueak.dll and SqueakOCX.dll ?
I have a version of a npsqueak.dll but it isn't the same thing. This one has been modified and crashes my system.
Clues? TIA Phil
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:24, phil@highoctane.be wrote:
There is no plugin there, only etoys. Is the plugin inside?
It gets installed with Etoys, yes.
After installation, click the "launch" link on a project page. E.g.
http://squeakland.org/showcase/project.jsp?id=9655
That runs Squeak inside the browser.
- Bert -
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:14, phil@highoctane.be wrote:
I scavenged the web a bit to find out some sources.
I also managed to install the plugin in Chrome.
So, it shows in about:plugins
But well, it crashes.
Is anyone here having a working source code and dll that I can put in there for testing?
http://squeakland.org/download/
- Bert -
Then I could start porting this to embed the VM window in another program.
I've looked at the code mind you, but I first want to see this running so that I can step through with a debugger to get a clue of what's going on. (I miss self halt...)
TIA Philippe
2012/6/19 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-19, at 21:00, phil@highoctane.be wrote:
Hello VMers.
I would like to see if anybody already had embedded a VM (Windows XP here) inside a Window application. [...]
And the web browser plugin: http://wiki.squeak.org/squeak/1865
The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily.
- Bert -
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be | Web: http://philippeback.eu | Blog: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be | Web: http://philippeback.eu | Blog: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
Etoys uses the official Windows VM, 3.11.4 from http://squeakvm.org/win32/
You would have to look at the svn log to find out the corresponding source version. But the plugin code has not changed in 3 years:
http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/win32/vm/Plugin/
- Bert -
On 2012-06-20, at 01:06, phil@highoctane.be wrote:
Hey, thanks, works perfectly in Chrome.
Now, where can I find the source of NPSqueak.dll and SqueakOCX.dll ?
I have a version of a npsqueak.dll but it isn't the same thing. This one has been modified and crashes my system.
Clues? TIA Phil
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:24, phil@highoctane.be wrote:
There is no plugin there, only etoys. Is the plugin inside?
It gets installed with Etoys, yes.
After installation, click the "launch" link on a project page. E.g.
http://squeakland.org/showcase/project.jsp?id=9655
That runs Squeak inside the browser.
- Bert -
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:14, phil@highoctane.be wrote:
I scavenged the web a bit to find out some sources.
I also managed to install the plugin in Chrome.
So, it shows in about:plugins
But well, it crashes.
Is anyone here having a working source code and dll that I can put in there for testing?
http://squeakland.org/download/
- Bert -
Then I could start porting this to embed the VM window in another program.
I've looked at the code mind you, but I first want to see this running so that I can step through with a debugger to get a clue of what's going on. (I miss self halt...)
TIA Philippe
2012/6/19 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-19, at 21:00, phil@highoctane.be wrote:
> Hello VMers. > > I would like to see if anybody already had embedded a VM (Windows XP > here) inside a Window application. > [...] > > And the web browser plugin: http://wiki.squeak.org/squeak/1865
The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily.
- Bert -
Also note that there are two OCX versions for IE, plus the plugin for Netscape-compatible browsers (Firefox, Chrome, etc). Korakurider (who makes our Windows installers) uses this in his pluginInstall.nsh:
++++ From Here ++++ macro SQUEAK_PLUGIN_INSTALL ;--- manifest, Plugin DLL for IE--- ${If} $WinVersion == "Vista" File "${AssetFolderWin32}\SqueakOCX2.dll" RegDLL "$INSTDIR\SqueakOCX2.dll" ${ElseIf} $WinVersion == "7" File "${AssetFolderWin32}\SqueakOCX2.dll" RegDLL "$INSTDIR\SqueakOCX2.dll" ${Else} File "${AssetFolderWin32}\SqueakOCX.dll" RegDLL "$INSTDIR\SqueakOCX.dll" ${EndIf}
File "${AssetFolderWin32}\NPSqueak.dll" ----- To Here -----
- Bert -
On 2012-06-20, at 10:57, Bert Freudenberg wrote:
Etoys uses the official Windows VM, 3.11.4 from http://squeakvm.org/win32/
You would have to look at the svn log to find out the corresponding source version. But the plugin code has not changed in 3 years:
http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/win32/vm/Plugin/
- Bert -
On 2012-06-20, at 01:06, phil@highoctane.be wrote:
Hey, thanks, works perfectly in Chrome.
Now, where can I find the source of NPSqueak.dll and SqueakOCX.dll ?
I have a version of a npsqueak.dll but it isn't the same thing. This one has been modified and crashes my system.
Clues? TIA Phil
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:24, phil@highoctane.be wrote:
There is no plugin there, only etoys. Is the plugin inside?
It gets installed with Etoys, yes.
After installation, click the "launch" link on a project page. E.g.
http://squeakland.org/showcase/project.jsp?id=9655
That runs Squeak inside the browser.
- Bert -
2012/6/20 Bert Freudenberg bert@freudenbergs.de:
On 2012-06-20, at 00:14, phil@highoctane.be wrote:
I scavenged the web a bit to find out some sources.
I also managed to install the plugin in Chrome.
So, it shows in about:plugins
But well, it crashes.
Is anyone here having a working source code and dll that I can put in there for testing?
http://squeakland.org/download/
- Bert -
Then I could start porting this to embed the VM window in another program.
I've looked at the code mind you, but I first want to see this running so that I can step through with a debugger to get a clue of what's going on. (I miss self halt...)
TIA Philippe
2012/6/19 Bert Freudenberg bert@freudenbergs.de: > > On 2012-06-19, at 21:00, phil@highoctane.be wrote: > >> Hello VMers. >> >> I would like to see if anybody already had embedded a VM (Windows XP >> here) inside a Window application. >> [...] >> >> And the web browser plugin: http://wiki.squeak.org/squeak/1865 > > > The browser plugin may indeed be your best bet for reference. It starts the VM and redirects its output. You might be able to adapt that code. Possibly the OCX control even just works, or could be made to work easily. > > - Bert -
vm-dev@lists.squeakfoundation.org