Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Subclassing Pin
John M. Drescher11-Feb-04 17:18
John M. Drescher11-Feb-04 17:18 
GeneralRe: Subclassing Pin
monrobot1313-Feb-04 4:40
monrobot1313-Feb-04 4:40 
GeneralDialog Resources and Static Libraries Pin
tabish12111-Feb-04 9:55
tabish12111-Feb-04 9:55 
GeneralCString to TCHAR Pin
satcat11-Feb-04 9:50
satcat11-Feb-04 9:50 
GeneralRe: CString to TCHAR Pin
David Crow11-Feb-04 10:29
David Crow11-Feb-04 10:29 
GeneralRe: CString to TCHAR Pin
Orkun GEDiK11-Feb-04 10:33
Orkun GEDiK11-Feb-04 10:33 
GeneralRe: CString to TCHAR Pin
satcat11-Feb-04 11:58
satcat11-Feb-04 11:58 
GeneralRe: CString to TCHAR Pin
John M. Drescher11-Feb-04 17:06
John M. Drescher11-Feb-04 17:06 
If you do this you should also call szPrm.ReleaseBuffer(). The MSDN doc says the following:

If you use the pointer returned by GetBuffer to change the string contents, you must call ReleaseBuffer before using any other CString member functions.

If you are not going to change the string the following should work (LPTSTR)(LPCTSTR)szPrm


John
GeneralCListCtrl Item Search Efficiency :: MFC Pin
valikac11-Feb-04 8:55
valikac11-Feb-04 8:55 
GeneralCreate own window styles Pin
BrockVnm11-Feb-04 8:17
BrockVnm11-Feb-04 8:17 
GeneralRe: Create own window styles Pin
Antti Keskinen11-Feb-04 8:52
Antti Keskinen11-Feb-04 8:52 
GeneralRe: Create own window styles Pin
BrockVnm11-Feb-04 9:08
BrockVnm11-Feb-04 9:08 
GeneralMemory leak while traversing through HTML frames Pin
Member 85966411-Feb-04 7:55
Member 85966411-Feb-04 7:55 
GeneralRe: Memory leak while traversing through HTML frames Pin
Peter Weyzen11-Feb-04 8:14
Peter Weyzen11-Feb-04 8:14 
GeneralLocallizing to Hebrew Pin
LukeV11-Feb-04 7:01
LukeV11-Feb-04 7:01 
GeneralRe: Locallizing to Hebrew Pin
Peter Weyzen11-Feb-04 7:31
Peter Weyzen11-Feb-04 7:31 
GeneralRe: Locallizing to Hebrew Pin
LukeV11-Feb-04 7:47
LukeV11-Feb-04 7:47 
GeneralRe: Locallizing to Hebrew Pin
Peter Weyzen11-Feb-04 7:52
Peter Weyzen11-Feb-04 7:52 
GeneralRe: Locallizing to Hebrew Pin
LukeV11-Feb-04 8:29
LukeV11-Feb-04 8:29 
GeneralRe: Locallizing to Hebrew Pin
Anonymous11-Feb-04 11:58
Anonymous11-Feb-04 11:58 
GeneralRe: Locallizing to Hebrew Pin
LukeV11-Feb-04 12:19
LukeV11-Feb-04 12:19 
GeneralRe: Locallizing to Hebrew Pin
Anonymous11-Feb-04 14:03
Anonymous11-Feb-04 14:03 
GeneralRe: Locallizing to Hebrew Pin
LukeV11-Feb-04 13:05
LukeV11-Feb-04 13:05 
GeneralOutlook Programming - User-Defined Fields Pin
Christian Zellner11-Feb-04 6:46
Christian Zellner11-Feb-04 6:46 
GeneralCDBConnection->m_pErrorInfo Pin
Chris Ulliott11-Feb-04 6:38
Chris Ulliott11-Feb-04 6:38 

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.