![]() |
|
#1
|
|||
|
|||
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:
CPP / C++ / C Code:
CPP / C++ / C Code:
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. Last edited by LuciWiz : 04-Nov-2007 at 14:18.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Classes and allocating memory | BlueFireCO. | CPP / C++ Forum | 13 | 26-Jul-2007 20:31 |
| Pointer initialization causing program abend? | emanresu | C Programming Language | 0 | 12-Dec-2006 10:36 |
| Handling keyup events. | harroldm | FLTK Forum | 3 | 24-Aug-2006 08:48 |
| need help with a console menu system | BullBuchanan | CPP / C++ Forum | 6 | 20-Aug-2006 14:46 |
| help me to do this program!!! | mrdell_06 | CPP / C++ Forum | 3 | 21-Feb-2006 21:12 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The