ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 V2.3.0 crashes in Win7
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

DriftingSands

USA
2 Posts

Posted - Apr 19 2012 :  13:52:57  Show Profile  Reply
Good day,

I am getting an access violation when I try to load an image from a file in Windows 7.

FileName := ImageEnMView.MIO.ExecuteOpenDialog('','',False);
if FileName <> '' then
begin
try
ImageEnMView.SelectedImage := 0;
ImageEnMView.MIO.LoadFromFile(FileName);
ShowDeviceInfo('Image added from file: ' + FileName);
ImageEnMView.SelectedImage := 0;
ImageEnMVIew.ImageBottomText[0].Caption := ExtractFileName(FileName);
ImageSelect;
finally
end;
end;

D7 professional

-Markus

xequte

39076 Posts

Posted - Apr 19 2012 :  22:05:34  Show Profile  Reply
Hi Markus

V2.3.0 was released well before Windows 7 so some compatibility issues might be expected.

Is the AV error on the call to ExecuteOpenDialog?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

DriftingSands

USA
2 Posts

Posted - Apr 20 2012 :  15:25:39  Show Profile  Reply
4/20/2012 15:20:05 21179569 5344 Exception Definition
Access violation at address 00B7E6FA in module 'myapp.exe'. Write of address 08FAFF8C
[00B7E6FA] imageenproc._ResampleAlphaEx (Line 14393, "ImageEnProc.pas")
[0040498B] System.@HandleAnyException (Line 9509, "system.pas")
[00B71F6A] imageenproc._IEResampleIEBitmap (Line 4772, "ImageEnProc.pas")
[00ADD5B9] iemview.TImageEnMView.DrawImage (Line 5005, "iemview.pas")
[00ADED17] iemview.TImageEnMView.PaintTo (Line 5455, "iemview.pas")
[00AD9239] iemview.TImageEnMView.Paint (Line 2284, "iemview.pas")
[004B585E] Controls.TCustomControl.PaintWindow (Line 8918, "Controls.pas")
[004B026A] Controls.TWinControl.PaintHandler (Line 6402, "Controls.pas")
[004B0890] Controls.TWinControl.WMPaint (Line 6547, "Controls.pas")
[004B57EF] Controls.TCustomControl.WMPaint (Line 8907, "Controls.pas")
[004AC2DB] Controls.TControl.WndProc (Line 4645, "Controls.pas")
[004B003E] Controls.TWinControl.WndProc (Line 6342, "Controls.pas")
[004AFC10] Controls.TWinControl.MainWndProc (Line 6237, "Controls.pas")
[00431FF4] Classes.StdWndProc (Line 10966, "classes.pas")
[004D3BF0] Forms.TApplication.ProcessMessage (Line 6872, "Forms.pas")
[004D3C37] Forms.TApplication.HandleMessage (Line 6891, "Forms.pas")
[004CFB50] Forms.TCustomForm.ShowModal (Line 4822, "Forms.pas")
[00BCF646] dlgChartScanX.DoFormDialogChartScanExt (Line 190, "dlgChartScanX.pas")
[00D21603] frmMain.TMainForm.DoModalChartScan (Line 4675, "frmMain.pas")
[00D1E7A1] frmMain.TMainForm.OutlookBarMainItemClick (Line 3670, "frmMain.pas")
[0093D7D0] o32lkout.TO32CustomLookoutBar.DoItemClick (Line 1284, "o32lkout.pas")
[0093EDA4] o32lkout.TO32CustomLookoutBar.MouseUp (Line 2057, "o32lkout.pas")
[004ACA0D] Controls.TControl.DoMouseUp (Line 4831, "Controls.pas")
[004ACA94] Controls.TControl.WMLButtonUp (Line 4843, "Controls.pas")
[004AC2DB] Controls.TControl.WndProc (Line 4645, "Controls.pas")
[004B003E] Controls.TWinControl.WndProc (Line 6342, "Controls.pas")
[004AFC10] Controls.TWinControl.MainWndProc (Line 6237, "Controls.pas")
[00431FF4] Classes.StdWndProc (Line 10966, "classes.pas")
[004D3BF0] Forms.TApplication.ProcessMessage (Line 6872, "Forms.pas")
[004D3C37] Forms.TApplication.HandleMessage (Line 6891, "Forms.pas")
[004D3ED2] Forms.TApplication.Run (Line 6975, "Forms.pas")
[00D6CCA2] myapp.initialization (Line 172, "C:\D7Proj\projects\myapp.dpr")
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: