FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour fwh jan 2007 + xhab jan 2007 error
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
fwh jan 2007 + xhab jan 2007 error
Posted: Thu Mar 08, 2007 10:15 AM

Antonio

I have migrated my system to fwh jan and also xhb pro to jan 2007

When i link my app, i get

xlink error : Unresolved external symbol _ansitowide

Any clue ?

Thanks

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
fwh jan 2007 + xhab jan 2007 error
Posted: Thu Mar 08, 2007 11:05 AM
Richard,

Strange... Please add this function:

#pragma BEGINDUMP

#include <windows.h>

LPWSTR AnsiToWide( LPSTR cAnsi );

LPWSTR ansitowide( LPSTR cAnsi )
{
   return AnsiToWide( cAnsi );
}
#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
fwh jan 2007 + xhab jan 2007 error
Posted: Thu Mar 08, 2007 11:28 AM

Antonio

Same link error message

Switching back to fwh october 2006 , this is the one i was using compiles and links ok

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
fwh jan 2007 + xhab jan 2007 error
Posted: Thu Mar 08, 2007 01:58 PM
Richard,

Place an underscore in front:
#pragma BEGINDUMP 

#include <windows.h> 

LPWSTR AnsiToWide( LPSTR cAnsi ); 

LPWSTR _ansitowide( LPSTR cAnsi ) 
{ 
   return AnsiToWide( cAnsi ); 
} 
#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
fwh jan 2007 + xhab jan 2007 error
Posted: Thu Mar 08, 2007 02:14 PM

Antonio

No change same error

Very strange, where can it come from ?

Everything compiles OK with fwh 2.8 october

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
fwh jan 2007 + xhab jan 2007 error
Posted: Thu Mar 08, 2007 04:03 PM

Richard,

We email you the most recent libraries

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion