Thanks Pritpal, a bit fewer, the errors still remain. You're using some
features which are available on Win64
under different names probably, these used to be documented
on MSDN.

Also notice you've undone Przemek recent change
in gtwvg.c regarding the palette indexes.

Here's the updated list of 64-bit warnings (only the
dangerous one listed):
---
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
wvgutils.c
.\wvgutils.c(1264) : warning C4305: 'type cast' : truncation from 'WORD *'
to 'WORD'
.\wvgutils.c(1264) : warning C4305: 'type cast' : truncation from 'WORD *'
to 'WORD'
wvgsink.c
.\wvgsink.c(693) : warning C4305: 'type cast' : truncation from
'MyRealIEventHandler *' to 'LONG'
.\wvgsink.c(809) : warning C4306: 'type cast' : conversion from 'int' to
'HMENU' of greater size
.\wvgsink.c(863) : warning C4305: 'type cast' : truncation from 'HMENU' to
'int'
.\wvgsink.c(894) : warning C4305: 'type cast' : truncation from 'HWND' to
'long'
.\wvgsink.c(911) : warning C4306: 'type cast' : conversion from 'int' to
'HMENU' of greater size
.\wvgsink.c(956) : warning C4305: 'type cast' : truncation from 'HMENU' to
'int'
wvgwin.c
.\wvgwin.c(898) : warning C4244: 'function' : conversion from 'HB_LONG' to
'DWORD', possible loss of data
.\wvgwin.c(901) : warning C4244: 'function' : conversion from 'HB_LONG' to
'DWORD', possible loss of data
.\wvgwin.c(921) : warning C4244: 'function' : conversion from 'HB_LONG' to
'DWORD', possible loss of data
.\wvgwin.c(1295) : warning C4244: '=' : conversion from 'LRESULT' to 'int',
possible loss of data
.\wvgwin.c(1298) : warning C4244: '=' : conversion from 'LONG' to 'USHORT',
possible loss of data
.\wvgwin.c(1414) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\wvgwin.c(1414) : warning C4305: 'type cast' : truncation from 'WNDPROC' to
'long'
.\wvgwin.c(1414) : warning C4306: 'type cast' : conversion from 'LONG' to
'WNDPROC' of greater size
.\wvgwin.c(1436) : warning C4244: 'function' : conversion from 'HB_LONG' to
'UINT', possible loss of data
.\wvgwin.c(1471) : warning C4244: 'function' : conversion from 'DWORD_PTR'
to 'LONG', possible loss of data
.\wvgwin.c(1483) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
.\wvgwin.c(1553) : warning C4305: 'type cast' : truncation from 'HTREEITEM'
to 'long'
.\wvgwin.c(1563) : warning C4267: 'function' : conversion from 'size_t' to
'ULONG', possible loss of data
.\wvgwin.c(1568) : warning C4305: 'type cast' : truncation from 'HTREEITEM'
to 'long'
.\wvgwin.c(1578) : warning C4267: 'function' : conversion from 'size_t' to
'ULONG', possible loss of data
.\wvgwin.c(1620) : warning C4305: 'type cast' : truncation from 'HTREEITEM'
to 'long'
.\wvgwin.c(1796) : warning C4306: 'type cast' : conversion from 'int' to
'HWND' of greater size
.\wvgwin.c(1804) : warning C4306: 'type cast' : conversion from 'int' to
'HWND' of greater size
.\wvgwin.c(2055) : error C2065: 'GCL_HBRBACKGROUND' : undeclared identifier
.\wvgwin.c(2081) : warning C4244: 'function' : conversion from 'int' to
'BYTE', possible loss of data
.\wvgwin.c(2112) : warning C4305: 'type cast' : truncation from 'HBITMAP' to
'UINT'
.\wvgwin.c(2113) : warning C4244: '=' : conversion from 'LRESULT' to 'int',
possible loss of data
.\wvgwin.c(2118) : warning C4244: '=' : conversion from 'LRESULT' to 'int',
possible loss of data
.\wvgwin.c(2136) : warning C4244: '=' : conversion from 'LRESULT' to 'BOOL',
possible loss of data
.\wvgwin.c(2156) : warning C4244: '=' : conversion from 'LRESULT' to 'BOOL',
possible loss of data
.\wvgwin.c(2178) : warning C4305: 'type cast' : truncation from 'HBITMAP' to
'UINT'
.\wvgwin.c(2180) : warning C4244: '=' : conversion from 'LRESULT' to 'int',
possible loss of data
.\wvgwin.c(2196) : warning C4244: 'function' : conversion from 'LRESULT' to
'int', possible loss of data
.\wvgwin.c(2205) : warning C4244: '=' : conversion from 'LRESULT' to 'int',
possible loss of data
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
wincallb.c
.\wincallb.c(191) : warning C4305: 'type cast' : truncation from 'LPVOID' to
'ULONG'
.\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(403) : warning C4306: 'type cast' : conversion from 'long' to
'void *' of greater size
.\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'
c:\work\harbour-new\harbour\contrib\gtwvg\wincallb.c(608) : warning C4701:
potentially uninitialized local variable 'j' used
---

Brgds,
Viktor

On Sat, Feb 21, 2009 at 9:18 AM, <[email protected]> wrote:

> Revision: 10378
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10378&view=rev
> Author:   vouchcac
> Date:     2009-02-21 08:18:38 +0000 (Sat, 21 Feb 2009)
>
> Log Message:
> -----------
> 2009-02-21 00:15 UTC-0800 Pritpal Bedi ([email protected])
>  * harbour/contrib/gtwvg/gtwvg.c
>  * harbour/contrib/gtwvg/wvggui.c
>  * harbour/contrib/gtwvg/wvgsink.c
>  * harbour/contrib/gtwvg/wvgwin.c
>  * harbour/contrib/gtwvg/wvgutils.c
>  * harbour/contrib/gtwvg/wvgtoolb.prg
>  * harbour/contrib/gtwvg/wvgwnd.prg
>  * harbour/contrib/gtwvg/wvgparts.ch
>  * harbour/contrib/gtwvg/wvtwin.ch
>  * harbour/contrib/hbwin/hbwapi.h
>  * harbour/contrib/hbwin/wapi_commctrl.c
>  * harbour/contrib/hbwin/wapi_winbase.c
>  * harbour/contrib/hbwin/wapi_winuser.c
>    ! Mostly warning fixes for 64bits.
>
>      ; Viktor, review me and plese send list of warnings
>        left after this.
>
> Modified Paths:
> --------------
>    trunk/harbour/ChangeLog
>    trunk/harbour/contrib/gtwvg/gtwvg.c
>    trunk/harbour/contrib/gtwvg/wvggui.c
>    trunk/harbour/contrib/gtwvg/wvgparts.ch
>    trunk/harbour/contrib/gtwvg/wvgsink.c
>    trunk/harbour/contrib/gtwvg/wvgtoolb.prg
>    trunk/harbour/contrib/gtwvg/wvgutils.c
>    trunk/harbour/contrib/gtwvg/wvgwin.c
>    trunk/harbour/contrib/gtwvg/wvgwnd.prg
>    trunk/harbour/contrib/gtwvg/wvtwin.ch
>    trunk/harbour/contrib/hbwin/hbwapi.h
>    trunk/harbour/contrib/hbwin/wapi_commctrl.c
>    trunk/harbour/contrib/hbwin/wapi_winbase.c
>    trunk/harbour/contrib/hbwin/wapi_winuser.c
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to