Twain DLL problem
Twain DLL problem
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
Re: Twain DLL problem
Hello,
The message is clear, you are getting this error because the redistributed dll version is legacy regarding the GdPicture.NET core you are using.
The best option for you is to download the latest gdpicture.NET version and ensure yourself to redistribute the latest TWAIN library in the same way.
Kind regards,
Loïc
The message is clear, you are getting this error because the redistributed dll version is legacy regarding the GdPicture.NET core you are using.
The best option for you is to download the latest gdpicture.NET version and ensure yourself to redistribute the latest TWAIN library in the same way.
Kind regards,
Loïc
Re: Twain DLL problem
Loic,
that would make sense if the .net version was ever loaded on my machine. It was not we had the old activex version gdpicture 5. the only DLL's are from the newest version we just downloaded when we purchased the .net version a couple weeks ago. there simply was never an older version of .net for it to be confused with.
what else can we try?
Greg
that would make sense if the .net version was ever loaded on my machine. It was not we had the old activex version gdpicture 5. the only DLL's are from the newest version we just downloaded when we purchased the .net version a couple weeks ago. there simply was never an older version of .net for it to be confused with.
what else can we try?
Greg
Re: Twain DLL problem
Hello,
So please try what I've suggested.
- Download the latest version: https://www.gdpicture.com/download/downl ... urenet.php
- Install on your dev computer.
- Redeploy and check you are using the shipped dll of the installed version.
There is nothing else to try. You have probably done something wrong that you forgot.what else can we try?
So please try what I've suggested.
- Download the latest version: https://www.gdpicture.com/download/downl ... urenet.php
- Install on your dev computer.
- Redeploy and check you are using the shipped dll of the installed version.
Re: Twain DLL problem
Loic,
My apologies, I did the steps suggested and it works perfectly.
as always thanks for the wonderful support and quick response!
Greg
My apologies, I did the steps suggested and it works perfectly.
as always thanks for the wonderful support and quick response!
Greg
Re: Twain DLL problem
You are welcome Greg
Thank you for the return.
Thank you for the return.
Who is online
Users browsing this forum: No registered users and 0 guests