Hi, Ciao, Marcus License: LGPL Changelog: make twain compile again. Index: dsm_ctrl.c =================================================================== RCS file: /home/wine/wine/dlls/twain/dsm_ctrl.c,v retrieving revision 1.1 diff -u -r1.1 dsm_ctrl.c --- dsm_ctrl.c 21 Mar 2002 02:58:39 -0000 1.1 +++ dsm_ctrl.c 28 Apr 2002 09:33:07 -0000 @@ -364,7 +364,7 @@ DSM_currentDevice = 0; DSM_sourceId = 0; } - DSM_parentHWND = *pData; + DSM_parentHWND = *(HWND*)pData; DSM_currentState = 3; /* transition to state 3 */ DSM_twCC = TWCC_SUCCESS; twRC = TWRC_SUCCESS;