Click here to Skip to main content
15,909,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCListBox Control Pin
Neelesh K J Jain6-Aug-04 22:48
Neelesh K J Jain6-Aug-04 22:48 
GeneralRe: CListBox Control Pin
Gary R. Wheeler7-Aug-04 0:36
Gary R. Wheeler7-Aug-04 0:36 
Generalnext dialog Pin
doraemon16-Aug-04 22:15
doraemon16-Aug-04 22:15 
GeneralRe: next dialog Pin
Gary R. Wheeler7-Aug-04 0:41
Gary R. Wheeler7-Aug-04 0:41 
GeneralRe: next dialog Pin
DavidR_r7-Aug-04 1:22
DavidR_r7-Aug-04 1:22 
GeneralFlicker free drawing in MFC... Pin
JamRoll6-Aug-04 22:10
JamRoll6-Aug-04 22:10 
GeneralRe: Flicker free drawing in MFC... Pin
Neville Franks6-Aug-04 23:08
Neville Franks6-Aug-04 23:08 
GeneralRe: Flicker free drawing in MFC... Pin
Ryan Binns8-Aug-04 18:41
Ryan Binns8-Aug-04 18:41 
GeneralRe: Flicker free drawing in MFC... Pin
JamRoll10-Aug-04 18:06
JamRoll10-Aug-04 18:06 
GeneralRe: Flicker free drawing in MFC... Pin
Ryan Binns10-Aug-04 18:39
Ryan Binns10-Aug-04 18:39 
GeneralRe: Flicker free drawing in MFC... Pin
JamRoll12-Aug-04 10:48
JamRoll12-Aug-04 10:48 
GeneralRe: Flicker free drawing in MFC... Pin
Ryan Binns12-Aug-04 13:56
Ryan Binns12-Aug-04 13:56 
QuestionPlease Help me about Digital Map Help ?Help ?Help ?Help ? Please ? Pin
A_Fa6-Aug-04 21:06
A_Fa6-Aug-04 21:06 
Generalproblem with STL Vector Pin
Sivaji6-Aug-04 20:41
Sivaji6-Aug-04 20:41 
GeneralRe: problem with STL Vector Pin
DavidR_r7-Aug-04 1:26
DavidR_r7-Aug-04 1:26 
GeneralHey problem with STL Vector Pin
Sivaji6-Aug-04 20:39
Sivaji6-Aug-04 20:39 
Questionhow to change the shape of the SDI window Pin
n.srinukumar6-Aug-04 19:49
n.srinukumar6-Aug-04 19:49 
QuestionWhat is the difference between LPWSTR and WCHAR * Pin
ting6686-Aug-04 19:40
ting6686-Aug-04 19:40 
AnswerRe: What is the difference between LPWSTR and WCHAR * Pin
Gary R. Wheeler7-Aug-04 1:13
Gary R. Wheeler7-Aug-04 1:13 
WCHAR *strPtr1 = new WCHAR[10];
strPtr1 = L"123456";
LPWSTR strPtr2 = strPtr1;
Both pointers now point to the same array of 10 WCHAR's. If you delete either pointer, the memory is returned to the heap, and neither pointer may be used to access the memory.
LPWSTR *strPtr1 = new wchar_t[10];
This will not compile. LPWSTR, which can be read as Long Pointer to Wide STRing, is defined as
typedef WCHAR FAR * LPWSTR;
in the Windows headers. If you had written
LPWSTR strPtr1 = new wchar_t[10];
instead, this would work. Notice I removed the asterisk between LPWSTR and strPtr1. LPWSTR is already a pointer. WCHAR and wchar_t are essentially equivalent, in that they refer to a 16 bit value used as a wide character.



Software Zen: delete this;
GeneralRe: What is the difference between LPWSTR and WCHAR * Pin
ting6687-Aug-04 2:45
ting6687-Aug-04 2:45 
GeneralRe: What is the difference between LPWSTR and WCHAR * Pin
Tim Smith7-Aug-04 19:22
Tim Smith7-Aug-04 19:22 
GeneralVC6 IDE Bookmarks question Pin
Gammill6-Aug-04 19:02
Gammill6-Aug-04 19:02 
GeneralShell extension...help Pin
Member 12827896-Aug-04 18:34
Member 12827896-Aug-04 18:34 
GeneralRe: Shell extension...help Pin
Michael Dunn7-Aug-04 3:46
sitebuilderMichael Dunn7-Aug-04 3:46 
QuestionHow to set the entry point of an application. Pin
Jijo.Raj6-Aug-04 17:22
Jijo.Raj6-Aug-04 17:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.