We are running 8.2.
I have coded the TWAINSETDSMPATH
oGdPictureImaging.TwainSetDSMPath("C:\RSSSCAN\bin\twain_32.dll") Also Tried c:\windows\Twain_32.DLL and in the Users\windows directory.
Made sure users have access rights....
This worked with 8.0 we upgraded the development environment to 8.2 recompiled and tried to run in a production 64 bit machine and received :
Code: Select all
#GdTwain Log Start. Version: 650
RC: TWRC_SUCCESS
CC: TWCC_SUCCESS
State: 1
-------------------
Start: OpenSourceManager.
RC: TWRC_SUCCESS
CC: TWCC_SUCCESS
State: 1
-------------------
DSM library can not be loaded.
RC: TWRC_SUCCESS
CC: TWCC_SUCCESS
State: 1
-------------------
End: OpenSourceManager.
RC: TWRC_SUCCESS
CC: TWCC_SUCCESS
State: 1
-------------------
GDTWAIN_Mgr: Null DSM Entry.
RC: TWRC_SUCCESS
CC: TWCC_SUCCESS
State: 1
-------------------
Start: UnloadSourceManager.
RC: TWRC_SUCCESS
CC: TWCC_SUCCESS
State: 1
-------------------
End: UnloadSourceManager.
RC: TWRC_SUCCESS
CC: TWCC_SUCCESS
State: 1
-------------------
#GdTwain Log Stop.
The dll is TWAIN_32.DLL and is in the correct place.
Please can you point me in the right direction?
10-8-2011 15:19 I have tested the same program (compiled as ANYCPU). The program works on all 32 bit machines but fails on all 64 bit machines. Please help as we are trying to implement a new version of the program on Monday morning.