I'm using C++Builder to read the image from scanner by using Twain library.
I tried to show the select device dialog, with the following sequence of tripet command.
== After load library successfully ==
rc = (*pDSM_Entry)(&MyApp, NULL, DG_CONTROL, DAT_PARENT, MSG_OPENDSM, (TW_MEMREF)&MyWinHandle );
rc = (*pDSM_Entry)(&MyApp, NULL, DG_CONTROL, DAT_IDENTITY, MSG_USERSELECT, (TW_MEMREF)&NewHandle);
There is a window pop up but there is nothing inside, I use other sample (TWACK) it can see device both 16 and 32 bits versions.
What's wrong with my program.
ps. for MyWinHandle what it should be my applicaion's handle or my mainform's handle