Out of Memory - Runtime Error in certain circumtances since Enigma Virtual Box 10.70
Posted: Mon Dec 23, 2024 1:52 pm
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
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