How conver Char* to LPCWSTR
- From: "Vladimir Iahnenco" <iahnenco@xxxxxxxxx>
- Date: Mon, 17 Oct 2005 19:33:24 -0400
Hi All,
I need to convert Char* To LPCWSTR
I tried
EXPORT DWORD MyFunc( Char*cName) {
HRESULT hr;
LPSWSTR pswStr = (LPCWSTR)cName;
......
....
return RESULT_CODE(hr);
}
but this didn't work correctly
Thanks in advance
Vladimir
.
- Follow-Ups:
- Re: How conver Char* to LPCWSTR
- From: Takeshi SHIGIHARA
- Re: How conver Char* to LPCWSTR
- From: William DePalo [MVP VC++]
- Re: How conver Char* to LPCWSTR
- From: Tom Serface
- Re: How conver Char* to LPCWSTR
- Prev by Date: Re: How to initialize an array of class?
- Next by Date: Re: C2475 error
- Previous by thread: Re: C2475 error
- Next by thread: Re: How conver Char* to LPCWSTR
- Index(es):
Relevant Pages
|