Jump to content
Sign in to follow this  
Dave Nottage

DelphiTwain on 64-bit

Recommended Posts

Has anyone managed to make DelphiTwain:




work on 64-bit? The code loads the Twain DLL OK (TWAINDSM.DLL), however for me it fails in the LoadSourceManager routine:


FTwainProc(Info, nil, DG_CONTROL, DAT_PARENT, MSG_OPENDSM, @FVirtualWindow)


Which returns a result of TWRC_FAILURE. The corresponding condition code is TWCC_BADVALUE

Share this post

Link to post
16 hours ago, David Heffernan said:

You followed the instructions for 64 bit compilers, made the necessary change to the code outlined on the page you linked, obtained 64 bit drivers etc?

Yes, since as I said, it loads the driver OK. The problem comes after that

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this