I think wchar_t[] is the same meaning as wchar_t*
function:
int Func(wchar_t var[]);
coding:
wchar_t* yourvariable = L"wide char string";
int ret = Func(yourvariable);
Is that bad?
More Related Contents:
- LPCSTR, LPCTSTR and LPTSTR
- How to Run Only One Instance of Application
- HOW to understand custom drawn ? Which tools can I use? [closed]
- Getting started with OpenCV 2.4 and MinGW on Windows 7
- How to get memory usage under Windows in C++
- Multithreaded Rendering on OpenGL
- How to deploy a Qt application on Windows?
- StdAfx + Header file – Order of inclusion in MFC application
- What is the difference between WM_QUIT, WM_CLOSE, and WM_DESTROY in a windows program?
- C++ Windows – How to get process path from its PID
- Can the “Application Error” dialog box be disabled?
- App does not run with VS 2008 SP1 DLLs, previous version works with RTM versions
- Using CreateWindowEx to Make a Message-Only Window
- Windows Unicode C++ Stream Output Failure
- Best method for storing this pointer for use in WndProc
- Is there a way to get the string representation of HRESULT value using win API?
- How do I use the MinGW gdb debugger to debug a C++ program in Windows?
- Fatal error: “No Target Architecture” in Visual Studio
- cannot convert parameter 1 from ‘char’ to ‘LPCWSTR’
- Sorry, unimplemented: 64 bit mode not compiled in
- Creating OpenGL context without window
- Differences between running an executable with Visual Studio debugger vs without debugger
- What is the maximum memory available to a C++ application on 32-bit Windows?
- How to get the starting/base address of a process in C++?
- DoEvents equivalent for C++?
- Get key press in windows console
- Possible problems with NOMINMAX on Visual C++
- reading an application’s manifest file?
- Getting The Size of a C++ Function
- How can I find the size of all files located inside a folder?