Tremorblue
Programmer
Iam using Borland Builder C++ 6.
I am trying to convert a large program from using WideString to AnsiString so that it will support unicode languages.
I have the Tnt unicode components for builder.
I need to know how to replace the ansi string functions that are not supported.
1. UpperCase
2. Number conversion
e.g
IntToStr(iHeight)
do I just do this ?
(WideString)IntToStr(FrontLabel->l_LabelHeightMM)
3. Have a function GetDetails(WideString *wCustomer,WideString *wAddress,WideString *wSettings)
but when I pass
WideString wCustomer,wAddress,wSettings;
GetFavouriteDetails(*wCustomer,*wAddress,*wSettings);
I get error Type mismatch wanted WideString* got wchar_t.
But the same funtion with AnsiString was ok ?
4. String constants "Hello" replace with (WideString)"Hello" is that correct ?
Thanks for any help.
/B
I am trying to convert a large program from using WideString to AnsiString so that it will support unicode languages.
I have the Tnt unicode components for builder.
I need to know how to replace the ansi string functions that are not supported.
1. UpperCase
2. Number conversion
e.g
IntToStr(iHeight)
do I just do this ?
(WideString)IntToStr(FrontLabel->l_LabelHeightMM)
3. Have a function GetDetails(WideString *wCustomer,WideString *wAddress,WideString *wSettings)
but when I pass
WideString wCustomer,wAddress,wSettings;
GetFavouriteDetails(*wCustomer,*wAddress,*wSettings);
I get error Type mismatch wanted WideString* got wchar_t.
But the same funtion with AnsiString was ok ?
4. String constants "Hello" replace with (WideString)"Hello" is that correct ?
Thanks for any help.
/B