Home › Forums › TWAIN Classic › Is TWAIN Still alive ? › Reply To: Is TWAIN Still alive ?
Gabe
I’ve put my answers to your questions below starting with >
Thanks again for your help
Kind Regards
Andrew
PS Are the structures in the TWAIN_32.DLL 1 byte aligned ? just a thoughht although it might be a red herring ! 🙂
i havent checked your defs but for the final call, i wonder about a few things,
> OK
if 0 is going to work in place of NULL for the second parameter.
> The language does not have a NULL ‘value’ so I don’t think I can do anything else
try taking out the first addressof – the one before AppId
> Why? The spec says this requires a pointer to the TW_IDENTITY structure as it needs to write back to it ?
the datatype for your openDsm constant ought to be ushort – maybe it already is I cant tell.
> I don’t think the constants in the language I’m using can have a ‘type’
just before you place the call into twain, there is this:
get window_handle of myPanel to hWnd
does that mean that your hWnd variable hold the handle to your application?
> hWnd will hold the windows window handle for the applications main window