Hello Viktor
[ In .\wvgutils.c(1264) the previous version (commented in code) was correct, you probably need to cast the whole expression manually to '( ULONG )'. ] No, this code works only as is now, otherwise not. I do not know what to do with it. <<<<<<<<< gtwvg.c .\gtwvg.c(3338) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size .\gtwvg.c(3350) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size .\gtwvg.c(4236) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size .\wvgwin.c(1801) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size .\wvgwin.c(1809) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size wvggui.c .\wvggui.c(2039) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size .\wvggui.c(2051) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size >>>>>>>>>>>>>> The warnings above are in SetWindowPos( hWnd, hWndParent, ... ) Here if <hWndParent> <> NULL then it is being treated as "int" in 64 bits, Otherwise "HWND". Should it be guarded against #if (_WIN_IE >= 0500) ? <<<<<<< .\wvgwin.c(2121) : warning C4305: 'type cast' : truncation from 'HBITMAP' to 'UINT' .\wvgwin.c(2187) : warning C4305: 'type cast' : truncation from 'HBITMAP' to 'UINT' >>>>>>> This again is the situation similar to above. <<<<<<<<< wincallb.c .\wincallb.c(348) : warning C4152: nonstandard extension, function/data pointer conversion in expression .\wincallb.c(391) : warning C4152: nonstandard extension, function/data pointer conversion in expression .\wincallb.c(417) : warning C4305: 'type cast' : truncation from 'BYTE *' to 'ULONG' .\wincallb.c(419) : warning C4305: 'type cast' : truncation from 'void *' to 'ULONG' .\wincallb.c(431) : warning C4305: 'type cast' : truncation from 'void *' to 'ULONG' .\wincallb.c(432) : warning C4305: 'type cast' : truncation from 'void *' to 'ULONG' .\wincallb.c(433) : warning C4305: 'type cast' : truncation from 'void *' to 'ULONG' .\wincallb.c(434) : warning C4305: 'type cast' : truncation from 'void *' to 'ULONG' >>>>>>>> I do not know how to fix it. These functions are important though. BTW have you been able to execute demowvg.exe ? Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-10378--trunk-harbour-tp22133738p22140618.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour