Host: Windows 7 ultimate 64b.
Guest: Windows XP sp2 32b.
I had a vm with a development enviroment with Delphi 7.
I run the same machine, with the same disk (i copied it for test this issue), in my notebook (i5, 4gb, video Intel HD Graphics) and in my desktop pc (i5, 8gb, video geforce gts 250)
In notebook, virtual box version is 4.0.12, y pc 4.1.4 (but i try with 4.1.0 and the same error occurs).
When i execute and exe compiled from my application code, in notebook runs ok, in pc crashed with an "Stream Read Error".
I run the application from the IDE and the lines of code reaching the error are:
- Code: Select all Expand viewCollapse view
TPicture.RegisterFileFormat('xI', '', TIcon);
TPicture.RegisterFileFormat('xL', '', TBitmap);
TPicture.RegisterFileFormat('xF', '', TJpegImage);
Application.Icon.LoadFromFile(IncludeTrailingPathDelimiter(CarpetaDeEjecucion) + ChangeFileExt(ExtractFileName(Application.ExeName), '.xI'));
imLogo.Picture.LoadFromFile(IncludeTrailingPathDelimiter(CarpetaDeEjecucion) + ChangeFileExt(ExtractFileName(Application.ExeName), '.xL'))
imPrincipal.Picture.LoadFromFile(IncludeTrailingPathDelimiter(CarpetaDeEjecucion) + ChangeFileExt(ExtractFileName(Application.ExeName), '.xF'));
The same exe (compiled in pc) runs without any problem in notebook, or host OS.
But from the IDE or as an standalone exe, it reach the exception.
My video memory is set to 128Mb, with 1 monitor, without remote screen.
I try with different combinations of HW acceleration (3D, 2D), but still get to the error.
It seems to be some change (bug) on version 4.1.x
Thanks you all for any suggestion or solution... (i actually have working version 4.0.12 installed, but i will probably want to update in a future)!