[Q] Using FFI to call standard Windows dialogs

Raab, Andreas Andreas.Raab at disney.com
Sat Jul 1 16:43:24 UTC 2000


> On Sat, Jul 01, 2000 at 10:45:47AM +0200, Stefan Matthias Aust wrote:
> > 
> > As Squeak even support strange platform dependent 
> information like the itsy 
> > battery power, I'd like to see a way to get the hInstance 
> and hWnd values 
> > of the Squeak VM which are required for a lot of API calls.
> >
> 
> This stuff does not belong in the base system.

Yes and no. It would be trivial to hide it inside the VM so that the image
doesn't have to contain any extra code but it could be as simple as a

	<primitive:'win32GetWindow'>

which you could insert anywhere in your code if you need it.

  - Andreas





More information about the Squeak-dev mailing list