Therefore I update to GdPicture V6.5
But after this the sourcecode didn't compile at the point "...RotateFlipType...",
because in the last version of it was a type of system.drawing. and now I take it back to a type of GdPicture.
After solve this, a new exception come if I execute the code follow:
=================================
Code: Select all
try
{
imageId = _gdpictureImaging.TwainAcquireToGdPictureImage(this.Handle);
var status = _gdpictureImaging.GetStat();
if (status != GdPictureStatus.OK)
throw new ApplicationException(status.ToString());
}
catch (Exception ex)
{
MessageBox.Show("Der Scanvorgang konnte nicht ausgeführt werden.\n" + ex.Message, "orgAnice DMS DirektScan", MessageBoxButtons.OK,
MessageBoxIcon.Stop);
this.statustext.Text = "Scanvorgang mit Fehler abgebrochen.";
return;
}
imageCount = imageCount + 1;
ApplyImageFilters(imageId);
the status was .OK and the catch give no exception back,
but the change to the routine ApplyImageFilters...
shows the exception (I see it before too in variable Exception ex with mousover:COMPlusExceptionCode -532459699) with a messagebox:
"procedure not found:"GdPicture.GdPictureStatus GdPicture.GdPictureImaging.Rotate(Int32, GdPicture.RotateFlipType)". OK"
I see in the metadata "public GdPictureStatus Rotate(int ImageID, RotateFlipType Rotation);"
and so I think this is a part of your internal code.
Is this right?
Do you have an idea?
What can do to solve the problem?
(the scanner can be various to get the same error)