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
 Access Violation Help
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

maseline_98

7 Posts

Posted - Apr 09 2012 :  12:47:28  Show Profile  Reply
I receive an access violation every time I attempt to print a '.tif' file. I'm not sure what is happening. Thanks in advance. I am using the delphi 2006 version.

procedure TScanViewerForm.Print1Click(Sender: TObject);
var
ie: TImageEnView;
begin
ie := TImageEnView.Create(nil);
ie.Assign(ImageEnMView1.GetBitmap(ImageEnMView1.VisibleFrame));
ImageEnMView1.ReleaseBitmap(ImageEnMView1.VisibleFrame);
ie.IO.DialogsMeasureUnit := ieduCm;
ie.DpiX := ImageEnMView1.MIO.Params[ImageEnMView1.VisibleFrame].DpiX;
ie.DpiY := ImageEnMView1.MIO.Params[ImageEnMView1.VisibleFrame].DpiY;
ie.IO.DoPrintPreviewDialog(iedtDialog, 'Print Thumbnail');//ACCESS VIOLATION OCCURS HERE
ie.free;
end;

fab

1310 Posts

Posted - Apr 10 2012 :  00:47:13  Show Profile  Reply
No AV here.
Which ImageEn version are you using?
Go to Top of Page

maseline_98

7 Posts

Posted - Apr 12 2012 :  09:06:56  Show Profile  Reply
2006, but it appears to be windows 7 issue because nobody else running the application seems be getting the error...The 'DoPrintPreviewDialog' line is where it seems to be erroring out on.
Go to Top of Page

fab

1310 Posts

Posted - Apr 12 2012 :  09:45:53  Show Profile  Reply
Please specify the "ImageEn version".
Go to Top of Page

maseline_98

7 Posts

Posted - Apr 12 2012 :  09:53:53  Show Profile  Reply
It looks the ImageEN v2.3.0
Go to Top of Page

fab

1310 Posts

Posted - Apr 12 2012 :  10:13:50  Show Profile  Reply
ImageEn 2.3.0 is no more supported, maybe this is a bug fixed in the road to current 4.1.0.
Go to Top of Page

maseline_98

7 Posts

Posted - Apr 12 2012 :  11:50:27  Show Profile  Reply
I see. I just have been brought on to my current position and I was not even familiar with these component sets. Do you know if there is a cost associated with upgrading to the newest version(or could you point me in the direction where I might find that information). It's highly doubtful that there will be funds approved for upgrade(if any or needed). We are in a small programming group of just 3 coders. I appreciate your help in the matter.
Go to Top of Page

fab

1310 Posts

Posted - Apr 12 2012 :  12:14:42  Show Profile  Reply
Please contact support (sales support) at:

http://www.ImageEn.com/contact/contact.html
Go to Top of Page

anna.serg

Russia
2 Posts

Posted - Oct 04 2012 :  04:35:37  Show Profile  Reply
use ie: TImageEn instead TImageEnView
Go to Top of Page

anna.serg

Russia
2 Posts

Posted - Oct 17 2012 :  23:46:01  Show Profile  Reply
wrong
may be you are compile from source of ImageEn as me. Error in sources. I use ImageEn 3.1.2. It's ok
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: