Click here to Skip to main content
15,914,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: regd Standard template library in C++ Pin
jhwurmbach15-Dec-03 20:21
jhwurmbach15-Dec-03 20:21 
GeneralRe: regd Standard template library in C++ Pin
karteek15-Dec-03 20:38
karteek15-Dec-03 20:38 
GeneralRe: regd Standard template library in C++ Pin
jhwurmbach15-Dec-03 20:42
jhwurmbach15-Dec-03 20:42 
Generalverbs and shared menus in Active x Control Pin
safee ullah15-Dec-03 19:23
safee ullah15-Dec-03 19:23 
GeneralChaging Characters; Pin
Bo Hunter15-Dec-03 18:51
Bo Hunter15-Dec-03 18:51 
GeneralRe: Chaging Characters; Pin
Prakash Nadar15-Dec-03 19:36
Prakash Nadar15-Dec-03 19:36 
GeneralRe: Chaging Characters; Pin
Bo Hunter15-Dec-03 19:50
Bo Hunter15-Dec-03 19:50 
GeneralRe: Chaging Characters; Pin
jhwurmbach15-Dec-03 20:26
jhwurmbach15-Dec-03 20:26 
Bo Hunter wrote:
TCHAR* pStr = _T("Bo Hunter");

Now pStr holds the adress of the constant string somwhere in the code. This memory is not writable. You need to copy the string to a writable location, either on the stack (as you did in your second example), or on the heap (by allocating memory using new).




Who is 'General Failure'? And why is he reading my harddisk?!?
GeneralGetPrinter return incorrect info about SharedPrinter. Pin
Anonymous15-Dec-03 18:50
Anonymous15-Dec-03 18:50 
Generalregd CList Pin
karteek15-Dec-03 18:49
karteek15-Dec-03 18:49 
GeneralRe: regd CList Pin
Prakash Nadar15-Dec-03 19:41
Prakash Nadar15-Dec-03 19:41 
GeneralRe: regd CList Pin
karteek15-Dec-03 20:40
karteek15-Dec-03 20:40 
GeneralRe: regd CList Pin
Prakash Nadar15-Dec-03 23:06
Prakash Nadar15-Dec-03 23:06 
GeneralRe: regd CList Pin
David Crow16-Dec-03 4:30
David Crow16-Dec-03 4:30 
GeneralHandling keyboard events in CDialog Pin
suneetchandok15-Dec-03 18:44
susssuneetchandok15-Dec-03 18:44 
GeneralRe: Handling keyboard events in CDialog Pin
Anthony_Yio15-Dec-03 23:15
Anthony_Yio15-Dec-03 23:15 
GeneralCustom error messages in IE Pin
Vermithrax15-Dec-03 11:15
Vermithrax15-Dec-03 11:15 
GeneralJust for sh*ts & giggles... Pin
Shog915-Dec-03 17:21
sitebuilderShog915-Dec-03 17:21 
GeneralRe: Just for sh*ts & giggles... Pin
Vermithrax15-Dec-03 18:14
Vermithrax15-Dec-03 18:14 
GeneralRe: Just for sh*ts & giggles... Pin
Shog915-Dec-03 18:24
sitebuilderShog915-Dec-03 18:24 
GeneralRe: Just for sh*ts & giggles... Pin
Vermithrax15-Dec-03 18:27
Vermithrax15-Dec-03 18:27 
GeneralHaven't tried it myself, but... Pin
Shog915-Dec-03 18:29
sitebuilderShog915-Dec-03 18:29 
GeneralRe: Haven't tried it myself, but... Pin
Vermithrax15-Dec-03 18:34
Vermithrax15-Dec-03 18:34 
GeneralRe: Just for sh*ts & giggles... Pin
Vermithrax15-Dec-03 18:31
Vermithrax15-Dec-03 18:31 
GeneralRe: Just for sh*ts & giggles... Pin
Vermithrax15-Dec-03 18:51
Vermithrax15-Dec-03 18:51 

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.