Twain DLL problem
Posted: Sun Jun 03, 2012 12:32 am
I am moving from gdpicture 5 activeX to .net 8. The twain is slightly different so trying to rewrite under the new standards. running into an issue with the twain DLL. when I try even the simplest function I get the following error:
The version of GdPicture.NET.twain.gdtwain.dll is invalid. Please update the
following dll to latest version:
C:\Windows system32\gdpicture.net.twain.gdtwain.dll
Just to be safe I have copied all the redist files to both system32 and the syswow64 directories. I am developing on a Windows 7 64bit machine with the latest updates using Microsoft Access 2010 (32bit version). I am running the latest version of GdPicture .NET.
Why am I getting this error?
Sample code attached to a button which produced the error:
Private Sub Command37_Click()
On Error GoTo Handler_Err
Dim Imaging1 As New GdPictureImaging
MsgBox Imaging1.TwainGetState
Handler_Exit:
Exit Sub
Handler_Err:
MsgBox Err.Description
Resume Handler_Exit
End Sub
The version of GdPicture.NET.twain.gdtwain.dll is invalid. Please update the
following dll to latest version:
C:\Windows system32\gdpicture.net.twain.gdtwain.dll
Just to be safe I have copied all the redist files to both system32 and the syswow64 directories. I am developing on a Windows 7 64bit machine with the latest updates using Microsoft Access 2010 (32bit version). I am running the latest version of GdPicture .NET.
Why am I getting this error?
Sample code attached to a button which produced the error:
Private Sub Command37_Click()
On Error GoTo Handler_Err
Dim Imaging1 As New GdPictureImaging
MsgBox Imaging1.TwainGetState
Handler_Exit:
Exit Sub
Handler_Err:
MsgBox Err.Description
Resume Handler_Exit
End Sub