Bug...Fwh1010 + TGif...

Post Reply
User avatar
Ale SB
Posts: 248
Joined: Wed Jan 11, 2006 11:30 am
Location: Campo Grande-MS / Brasil

Bug...Fwh1010 + TGif...

Post 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
aleseribeli@hotmail.com

FwH, Hb Svn, ADS 8.1, ADS 10, Pelles C, FwPPC, MsVc 2008, MsVc 2010
"Conhecimento, você não subtrai quando divide; mas soma e multiplica."
**---Mário Persona---**
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Re: Bug...Fwh1010 + TGif...

Post by clemerson »

estou com mesmo problema :(
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug...Fwh1010 + TGif...

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply