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

Issues related to Enigma Virtual Box
Post Reply
BigDwarf
Posts: 5
Joined: Fri Dec 20, 2024 12:50 pm

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

Post 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
Enigma
Site Admin
Posts: 3030
Joined: Wed Aug 20, 2008 2:24 pm

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

Post 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.
BigDwarf
Posts: 5
Joined: Fri Dec 20, 2024 12:50 pm

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

Post 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 :?
BigDwarf
Posts: 5
Joined: Fri Dec 20, 2024 12:50 pm

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

Post 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
Last edited by BigDwarf on Mon Feb 10, 2025 12:25 pm, edited 1 time in total.
Enigma
Site Admin
Posts: 3030
Joined: Wed Aug 20, 2008 2:24 pm

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

Post by Enigma »

Thank you for confirmation!
Post Reply