To convert std::wstring to wchar* or LPWSTR the function is wstring.c_str() which returns wchar* This works fine in VC6 But in visual studio 2008(vc9) it returns garbage value. is there some other function to convert std::wstring to wchar*/LPWSTR.
Reference :- http://www.eggheadcafe.com/software/aspnet/33281579/convert-wstring-to-wchar.aspx
We try to put solutions for the problems you would face in your daily life of being a developer. Keep visiting this website regularly...
Topics
ADO.Net
(1)
Algorithms
(6)
Apache
(1)
Apple
(1)
ASP.net
(3)
Auth
(1)
Bash Shell Script
(1)
C#.Net
(33)
C++
(1)
database
(1)
Design Pattern
(2)
Distributed Messaging System
(1)
docker
(2)
DOS Commands
(3)
FUN-n-Games
(1)
git
(1)
golang
(1)
Google
(1)
Hangouts
(1)
heidisql
(1)
Homebrew
(1)
HTML
(1)
IIS
(1)
Java
(2)
Javascript
(7)
Jmeter
(1)
JQuery
(1)
Kafka
(1)
Keyboard
(1)
Linux - Kubuntu
(1)
Macbook
(1)
macbook pro
(1)
macOS
(1)
MacOSX
(1)
mariadb
(1)
Meet
(1)
Microsoft Office
(1)
MS SQL Server
(25)
mysql
(2)
Networking
(2)
Node.js
(2)
NVM
(1)
OOPs
(5)
Operating Systems
(3)
OSX
(2)
Postman
(1)
Regular Expression
(2)
Research Papers
(1)
Rx
(1)
Shortcuts.
(1)
Silverlight
(1)
sql
(2)
SQL Server 2014
(2)
SSRS
(3)
Team Foundation Server and Client
(1)
TFS
(1)
Visual Studio
(1)
WPF
(25)