fwh 10.01 and xhb commercial

fwh 10.01 and xhb commercial

Postby Richard Chidiak » Mon Feb 15, 2010 6:03 am

Antonio

When trying to compile one of my apps with xhb commercial i get an unresolved external symbol -hb-mbtowc

I am linking xhb2.obj

any clue ?

Thanks
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: fwh 10.01 and xhb commercial

Postby Antonio Linares » Mon Feb 15, 2010 11:28 am

Richard,

Please try to add this code to your main PRG:
Code: Select all  Expand view
#pragma BEGINDUMP

void * AnsiToWide( char * );

void * hb_mbtowc( char * c )
{
   return AnsiToWide( c );
}

#pragma ENDDUMP
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: fwh 10.01 and xhb commercial

Postby Richard Chidiak » Mon Feb 15, 2010 12:13 pm

Antonio

Still not good , this is the message i get

Redeclaration of 'hb_mbtowc' previously declared at c:\xhb\include\hbwince.h (165) : found 'void * _cdec1 function (char *) expected
unsigned short *_cdec1 function (const char *)

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: fwh 10.01 and xhb commercial

Postby Antonio Linares » Mon Feb 15, 2010 1:42 pm

Richard,

Lets try it this way:
Code: Select all  Expand view
#pragma BEGINDUMP

unsigned short * AnsiToWide( const char * );

unsigned short * hb_mbtowc( const char * c )
{
   return AnsiToWide( c );
}

#pragma ENDDUMP
 

Curiously the function prototype is declared in hbwince.h but its code is not available, unless there is a missing lib to link. I have searched in xharbour\lib but I only find common.lib and rtl.lib which are already linked.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: fwh 10.01 and xhb commercial

Postby Richard Chidiak » Mon Feb 15, 2010 1:59 pm

Antonio

It compiles ok now

I get module activex was compiled in pcode version 10 and this version of xharbour requires pcode 9

I guess i have to recopile the whole fw lib

Or maybe easier to create the uestudio project for this app,

Thanks for the help,

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: fwh 10.01 and xhb commercial

Postby Antonio Linares » Mon Feb 15, 2010 2:10 pm

Richard,

Isn't there available a xhb commercial with pcode 10 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: fwh 10.01 and xhb commercial

Postby driessen » Mon Feb 15, 2010 2:21 pm

Richard,

I also use xHarbour commercial and I don't have any problem.

Which version do you use ?
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.02 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc77
User avatar
driessen
 
Posts: 1396
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: fwh 10.01 and xhb commercial

Postby Richard Chidiak » Mon Feb 15, 2010 2:46 pm

Antonio

For my main apps i use UESTUDIO and Borland with xharbour

This is an older app, at that time i used xhb commercial, i have some changes to do in this app, this is why i need to compile it today

My xhb commercial version is from september 2008, i do not plan to purchase an update from xhb.

i will convert it to Uestudio , i have to build some external libarries used by this app , but that's ok

Thanks for your help,

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: fwh 10.01 and xhb commercial

Postby Antonio Linares » Mon Feb 15, 2010 6:55 pm

Richard,

We don't use xhb commercial here. I am sorry that we can not help you on this :-(
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 90 guests