Page 1 of 1
Bug...Fwh1010 + TGif...
Posted: Thu Dec 23, 2010 2:07 pm
by Ale SB
¿Cómo resolver esto:
Fwh 1010 + Vc2008 + Harbour
FiveHCm.lib(FWGIF.obj) : error LNK2019: símbolo externo _GetWindowLongPtr sin resolver al que se hace referencia en la función _FW_WndProc@16
Saluds, Ale
Re: Bug...Fwh1010 + TGif...
Posted: Fri Dec 24, 2010 10:05 am
by clemerson
estou com mesmo problema
Re: Bug...Fwh1010 + TGif...
Posted: Wed Nov 21, 2012 7:44 am
by Antonio Linares
Please add this code to your app:
Code: Select all
#pragma BEGINDUMP
#include <windows.h>
#ifndef _WIN64
LONG_PTR WINAPI GetWindowLongPtr( HWND hWnd, int nIndex )
{
return GetWindowLong( hWnd, nIndex );
}
#endif
#pragma ENDDUMP
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Note To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetWindowLongPtr. When compiling for 32-bit Windows, GetWindowLongPtr is defined as a call to the GetWindowLong function.