![]() |
Cannot convert 'AnsiString' to 'const char *'
I am writing a browser program in C++ Builder 6 that loads a web page using the following code:
Code:
void __fastcall TForm1::ToolButton1Click(TObject *Sender)Code:
void __fastcall TForm1::ToolButton1Click(TObject *Sender)TStringConverter::AnsiToWide Converts a null-terminated ANSI string to a wide (Unicode) string. static LPWSTR AnsiToWide(LPCSTR src); WideToAnsi calls MultiByteToWideChar(), using the ANSI code page, to convert the ANSI string specified by src to a null-terminated string of Unicode characters. The source string may be from a multibyte character set. Thanks in advance for suggestions anyone might have as to how I can resolve this programming obstacle. |
| All times are GMT +5.5. The time now is 10:43. |