GunZLauncher compiling

Results 1 to 2 of 2
  1. #1
    Proficient Member xxskylarxx is offline
    MemberRank
    Sep 2010 Join Date
    United StatesLocation
    157Posts

    GunZLauncher compiling

    I keep getting this error:

    Code:
    Error	1	error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CDDBDialog::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)'	C:\Users\Fox\Desktop\GunZ 1.5 Source\Gunz 1.5 Repack by Jur13n #1 (Edited)\Source\ZLauncher\ZLauncher_2nd\CNewApp\CDDBDialog.cpp	125	1	NewApp
    which is this:


    Code:
    	ON_WM_NCHITTEST()

    The definition is here:

    Code:
    #define ON_WM_NCHITTEST() \
    	{ WM_NCHITTEST, 0, 0, 0, AfxSig_l_p, \
    		(AFX_PMSG)(AFX_PMSGW) \
    		(static_cast< LRESULT (AFX_MSG_CALL CWnd::*)(CPoint) > (&ThisClass :: OnNcHitTest)) },

    I'm building this in Visual Studio 2012.

    [Gunz.exe compiles fine]


  2. #2
    Its Friday :D! trunksx is offline
    MemberRank
    Feb 2007 Join Date
    PerúLocation
    232Posts

    Re: GunZLauncher compiling

    change UINT to LRESULT



Advertisement