|
-
July 13th, 2004, 03:40 PM
#1
char * -> LPWSTR
I'm currently trying to add listview groups to my listview control and for some reason the parameter asked is LPWSTR and not the regular LPSTR.
Any way to convert so I can add my regular text to the item.
LVGROUP lvg;
char gtext[256];
....
lvg.pszHeader = gtext;
ERROR: c:\VCPP_Projects NET\DCX\ListView.cpp(58): error C2440: '=' : cannot convert from 'char [256]' to 'LPWSTR'
Using regular WIN32 API and C/C++ to build the code.
Thanx
David
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|