+1 vote
by Garry (170 points)
Hi,

I am running VfxForth on a 64bit Windows 10 machine.

The 32bit VfxForth has a 12 second startup delay before its window appears.

I've turned off virus checkers and Microsoft software protection service with no effect.

Task manager shows "Native Code Forth Compiler (32bit)" using 50% cpu during the delay. There is minimal disk or network activity.

 This does not happen with the 64bit version of VfxForth. It starts up with no delay.

Anyone have any ideas as to what might be causing this delay?

Thanks,

Garry.

2 Answers

0 votes
by Stephen Pelc (4.4k points)
I have no idea what causes this. I have just tried running the two binaries on a W11 laptop (Ryzen 7, 512Gb SSD). The 64 bit loads in a fraction of a second, and the 32 bit in less than two seconds. Second runs of both binaries start significantly faster. I can only assume that there is a file or memory caching issue.
by Garry (170 points)
Ok. Thanks for looking.
0 votes
ago by Roger Levy (290 points)
edited ago by Roger Levy
I've been struggling with this for ages, with the 32-bit version (5.20) on Windows 10.  Seems to do it on 10 and didn't on 8.  Sometimes it starts instantly, sometimes it can take longer, as long as 30+ seconds.  I used Process Monitor to pinpoint the delay at the loading of profapi.dll.  Does anyone else still observe this?

I've whitelisted in Windows Defender and turned off SmartScreen.
...