Hi,
I am using WinCE 6.0 with VS2005
We have fitted a new size screen to our board and set it up in the registry.
Angle = Angle % 360;
RegistryKey reg = Registry.LocalMachine.OpenSubKey(@"\System\GDI\Rotation", true);
reg.SetValue("Angle", Angle...
Ansi string to widestring conversion..
Why does this work using ansistring ?
char s[20],t[20];
AnsiString aW;
strcpy(s,t); // Works
strcpy(s,aW.c_str()); Works.
And this does not work using widestring ?
wchar_t s[20],t[20];
WideString aW;
wcscpy(s,t); // This works...
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...
Using WritePrivateProfileString to setup and ini file.
It can be used by users or administrator on a PC.
If the administrator uses it first then it locks the file out because of access rights.
If I check for fileExists I could write the file with access rights to all before calling...
Hello Hennep,
Don't you need to resize the bitmap as well.
int iTopMost = 1000, iLeftMost = 1000;
Image2->Canvas->Draw(100, 100, Image1->Picture->Graphic);
// Extra code to change bitmap size.
Image2->Picture->Bitmap->Width= iLeftMost + Image1->Width...
I have a couple of functions that write ansistring to a file or to an internal buffer.
I have been trying to figure out how to convert them to use widestring , can anyone help, Im stuck!
I still need the internal buffer to stay as char.
Thankyou.
void __fastcall...
I want to change the message dialog text for different localities.
At the moment the text shows "OK" , "Yes" ,"No" or "Cancel"
You don't get to enter the text .. ?
The alternative is to create my own form that has these buttons and icons.. But I hoped there might be an easy way.
/Blue
I had to store the file as UNICODE to get it to work.
Then rewrite my routine for loading from ini files so that it could handle wide strings. e.g
WideString __fastcall TFormDeveloper::GetProfilePieceWide(AnsiString aName,char*sLanguage,char *sFileName)
{
wchar_t...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.