tchar
Converting tchar[] to LPCWSTR
I am using FindFirstFile to traverse through a directory to search a dll. When I get the dll, I use the WIN32_FIND_DATA structure\'s cfilename to get the name of that dll.[详细]
2023-04-04 06:23 分类:问答Why do my Win32 API calls require the 'A' suffix and should I rectify that?
To execute a command from the Win shell I needed ShellExecuteA(NULL, \"open\", \"http://stackoverflow.com\", NULL, NULL, SW_SHOWNORMAL);[详细]
2023-03-31 23:59 分类:问答How to convert a TCHAR array to std::string?
How do I convert a TCHAR array t开发者_如何学Co std::string (not to std::basic_string)?TCHAR is just a typedef that, depending on your compilation configuration, either defaults to char or wchar_t.[详细]
2023-03-12 04:21 分类:问答Converting TCHAR to string in C++
I\'m trying to convert a TCHAR to a string as in: std::string mypath; TCHAR path[MAX_PATH]; GetModuleFileName( NULL, path, MAX_PATH );[详细]
2023-03-06 12:11 分类:问答Why could i get an Unhandled exception Access violation writing in c++/CLI?
I have been struggeling writing a solution excisting out of an c++ win32console and a c++ dll. i finally managed to get them talking without linker errors (so i am assuming both are fully managed c++/[详细]
2023-03-03 00:49 分类:问答How do you convert a 'System::String ^' to 'TCHAR'?
i asked a question here involving C++ and C# communicating. The problem got solved but led to a new problem.[详细]
2023-02-25 19:23 分类:问答Is there a format specifier that always means char string with _tprintf?
When you build an app on Windows using TCHAR support, %s in _tprintf() means char * string for Ansi builds and wchar_t * for Unicode bu开发者_StackOverflowilds while %S means the reverse.[详细]
2023-02-25 09:54 分类:问答How to open a file using _TCHAR* as a file name? c/c++
My main has the following signature: int _tm开发者_如何学JAVAain(int argc, _TCHAR* argv[]) I would like to preform the following:[详细]
2023-02-18 01:27 分类:问答Problem with tstring typedef
I am having a problem with trying to typedef myself a nice handy tstring (see below) #ifndef _NISAMPLECLIENT_H_[详细]
2023-02-13 09:25 分类:问答Why is there a macro which defines _tmain?
I am new to C++ coding, coming from Java and C# background. I\'m puzzled by the proliferation of #define terms starting with the most basic:[详细]
2023-02-09 13:47 分类:问答