- Topics - 9
- Replies - 583
- Total Posts - 592
i havent checked your defs but for the final call, i wonder about a few things,
if 0 is going to work in place of NULL for the second parameter.
try taking out the first addressof – the one before AppId
the datatype for your openDsm constant ought to be ushort – maybe it already is I cant tell.
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?