Page 1 of 1

Out of Memory - Runtime Error in certain circumtances since Enigma Virtual Box 10.70

Posted: Mon Dec 23, 2024 1:52 pm
by BigDwarf
I found an error in Enigma Virtual Box that I can reproduce. I specifically created a test application to try recreating. The error also occurs there:

Visual Basic 6, MDIForm, which starts a Form1 with some controls, Form2 with MonthView control

If Form2 does not have a close button (Form-Property: ControlBox = False) and there is also an MSHFlexGrid in the project and the Enigma Virtual Box version is > 10.60 (including the current version), there is an Out of Memory Runtime Error when calling the form with the MonthView control. But it could also be a combination of everything somehow. I was stuck with Version 10.60 but today I found a way to reproduce in a small test application

Test system is a Windows 11 24H2 Dec24 update

I can provide the generated small Testprogram "EVBTest.exe" as well as the Enigma Virtual Box project file, the ocx, dll files to be virtualized for creating the boxed-version of the testprogram and the boxed version of the program

EDIT:
Sometimes the error only occurs by the second or third run of the testprogram. Very strange behavior

EDIT:
The error doesn't occur if the Form-Property: ControlBox = True. In Form1 I set the following controls without any further code: CommonDialog, CommandButton, TextBox, ProgressBar, SSTab, CrystalReport, MSHFlexGrid

Re: Out of Memory - Runtime Error in certain circumtances since Enigma Virtual Box 10.70

Posted: Mon Jan 13, 2025 8:43 am
by Enigma
Hi, sorry for the delay in reply, can you please:
1. Make sure you have option "Map executable files with temporary file" is checked. This unchecked option may cause incompatibilities in recent Windows 11 update.
2. Make a small test sample for us (non packed), so we can investigate the problem. Send it to us with all necessary files to reproduce this problem.

Re: Out of Memory - Runtime Error in certain circumtances since Enigma Virtual Box 10.70

Posted: Thu Jan 16, 2025 10:15 am
by BigDwarf
Hi, thanks for your reply
yes, I have the option "map executable files with temporary files" checked. You gave me hint in my last thread

I have sent you my test application to your support-mailaddress including all depending files for building the boxed version based on the included Enigma Virtual Box project-file

Recently I have updated my machine as well to Windows 11 24H2 and strangely on this machine I can not reproduce the error :?

Re: Out of Memory - Runtime Error in certain circumtances since Enigma Virtual Box 10.70

Posted: Mon Feb 10, 2025 10:45 am
by BigDwarf
Finally I was able to access the also affected Windows 11 23H2 machines again. Since then the machines have been receiving the latest monthly updates from Microsoft. I have tested the production software and testapplication with version 11.20 of Enigma Virtual Box. I was unable to reproduce the error I had since Enigma Virtual Box 10.70

Re: Out of Memory - Runtime Error in certain circumtances since Enigma Virtual Box 10.70

Posted: Mon Feb 10, 2025 11:23 am
by Enigma
Thank you for confirmation!