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;
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.
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.