widestring
Delphi - Store WideStrings inside a program
In the past I used INI-开发者_Go百科Files to store unicode text, but now I need to store unicode text in the executable. How can I achieve this?[详细]
2023-03-28 17:20 分类:问答Pantheios wide characters?
I\'m trying to integrate logging into my Windows C++ application, and I wanted to use Pantheios, as it generally has very favorable comments.That said, all the examples included are using macros like[详细]
2023-03-14 10:35 分类:问答How to call this Delphi function from C#?
i\'m having problems calling a delphi function from C# (attempted to read or write protected memory), and was wondering what the correct way of calling the method should be. The Delphi function signat[详细]
2023-02-17 09:07 分类:问答Does boost test have support for wide strings?
I\'m just using BOOST_TEST_MESSAGE(L\"blah\") and the only thing that is printed out is an hex value such as 0x12345678. Am I missing so开发者_运维知识库me configuration? I\'m using boost 1.44.If you[详细]
2023-02-09 17:56 分类:问答How to return WideString from COM server?
This Interface at _TLB.pas file // *********************************************************************//[详细]
2023-01-24 22:35 分类:问答Sending TCHAR buffer with send(sock, wszBuffer, ...)?
I have a wide-character XML message that I need to send over a Win32 socket in C++. TCHAR wszBuffer[1024];[详细]
2023-01-12 16:42 分类:问答Why doesn't wstring::c_str cause a memory leak if not properly deleted
Code Segment 1: wchar_t *aString() { wchar_t *str = new wchar[5]; wcscpy(str, \"asdf\\0\"); return str; } wchar_t *value1 = aString();[详细]
2023-01-10 07:30 分类:问答What can cause SysFreeString to hit an Int 3 breakpoint?
I\'ve got some code that worked fine under Delphi 2007 but breaks under D2010.It involves passing in a string, converting it to a PWideChar (sp开发者_StackOverflowecifically, a WideString pointer, not[详细]
2023-01-10 06:48 分类:问答How to cast wchar_t into int for displaying the code point?
I have a simple function in my program, when I was wanting to mess around with unicode and do stuff with it. In this function, I wished to display the code value of the character the user entered. It[详细]
2023-01-05 00:43 分类:问答C++ template function specialization using TCHAR on Visual Studio 2005
I\'m writing a logging class that uses a templatized operator<< function. I\'m specializing the template function on wide-character string so that I can do some wide-to-narrow translation before[详细]
2023-01-03 08:52 分类:问答