FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MSVC 2008 error compile
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
MSVC 2008 error compile
Posted: Wed Sep 29, 2010 06:01 PM

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for Harbour 10.9 (MSVC++) Sep. 2010 Harbour development power ³Ü
³ (c) FiveTech, 1993-2010 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
demo.c
demo.obj : error LNK2019: símbolo externo "void cdecl RegisterResource(void ,char )" (?RegisterResource@@YAXPAXPAD@Z) sin resolver al que se hace referencia en la función "struct HBITMAP * cdecl CreateMemBitmap(struct tagBITMAPINFO )" (?CreateMemBitmap@@YAPAUHBITMAP__@@PAUtagBITMAPINFO@@@Z)
demo.obj : error LNK2019: símbolo externo "char * __cdecl DibBits(struct tagBITMAPINFOHEADER
)" (?DibBits@@YAPADPAUtagBITMAPINFOHEADER@@@Z) sin resolver al que se hace referencia en la función "struct HBITMAP
* cdecl CreateMemBitmap(struct tagBITMAPINFO *)" (?CreateMemBitmap@@YAPAUHBITMAP@@PAUtagBITMAPINFO@@@Z)
demo.exe : fatal error LNK1120: 2 externos sin resolver
* Linking errors *

Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: MSVC 2008 error compile
Posted: Wed Sep 29, 2010 06:50 PM

Antonio,

I sent for your mail a demo this problem, if you can see.

thanks

Att.
Lailton

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: MSVC 2008 error compile
Posted: Thu Sep 30, 2010 03:31 AM

Lailton,

What FWH example are you trying to build ? thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: MSVC 2008 error compile
Posted: Thu Sep 30, 2010 03:39 AM

Lailton,

Please change these lines in your code:

extern "C" {
LPSTR DibBits( LPBITMAPINFOHEADER lpBmp );
void RegisterResource( HANDLE hResource, LPSTR szType );
};

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: MSVC 2008 error compile
Posted: Thu Sep 30, 2010 07:48 PM

Thanks, i will try.

Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: MSVC 2008 error compile
Posted: Fri Oct 01, 2010 07:32 PM

Solved, Work fine.

thanks Antonio

Continue the discussion