[Vm-dev] No window on Windows

Hilaire Fernandes hfern at free.fr
Wed Jan 4 11:27:18 UTC 2023


Hi,

On Windows, I have observed when I start the Squeak VM, the VM starts (I 
can see the process) but there is no window.

If I start SqueakConsole from the same VM distribution, it is ok.

What I want is to start the VM with a one line .bat file, with no 
subsequent command window to popup:

    START "" /MAX /B VM\Squeak

with the Squeak.ini set accordingly:

    [Global]
    DeferUpdate=1
    ShowConsole=0
    DynamicConsole=1
    ReduceCPUUsage=1
    ReduceCPUInBackground=0
    3ButtonMouse=0
    1ButtonMouse=0
    UseDirectSound=1
    PriorityBoost=1
    B3DXUsesOpenGL=1
    CaseSensitiveFileMode=0
    ImageFile="..\Resources\image\drgeo.image"
    WindowTitle="GNU Dr. Geo"
    QuitDialogLabel="GNU Dr. Geo"
    QuitDialogMessage="Do you really want to quit?"

The directory structure of my distribution:

├── DrGeo.bat
├── README
├── Resources
│   ├── doc
│   ├── fonts
│   │   └── WenQuanYi Zen Hei Sharp Regular.ttf
│   ├── icons
│   │   └── splash.bmp
│   ├── image
│   │   ├── CuisV6.sources
│   │   ├── drgeo.changes
│   │   ├── drgeo.image
│   │   └── locale
│   ├── MyExports
│   ├── MySketches
│   ├── Sketches
│   └── SmalltalkSketches
│       └── README
└── VM
     ├── B3DAcceleratorPlugin.dll
     ├── DESPlugin.dll
     ├── FileAttributesPlugin.dll
     ├── MD5Plugin.dll
     ├── SHA2Plugin.dll
     ├── Squeak3D.dll
     ├── SqueakConsole.exe
     ├── SqueakConsole.exe.manifest
     ├── Squeak.exe
     ├── Squeak.exe.manifest
     ├── SqueakFFIPrims.dll
     ├── Squeak.ini
     ├── SqueakSSL.dll
     ├── UUIDPlugin.dll
     ├── VectorEnginePlugin.dll
     └── Win32OSProcessPlugin.dll

When I start like this, it works but it opens a console window:

    START "" /MAX /B VM\SqueakConsole.exe Resources\image\drgeo.image

Observe that if I replace SqueakConsole.exe by Squeak.exe it does not work

Any idea?

Thanks

Hilaire

-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20230104/d41fab7a/attachment.html>


More information about the Vm-dev mailing list