fwh jan 2007 + xhab jan 2007 error

Post Reply
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

fwh jan 2007 + xhab jan 2007 error

Post by Richard Chidiak »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Strange... Please add this function:

Code: Select all

#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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Place an underscore in front:

Code: Select all

#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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

We email you the most recent libraries
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply