Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNot able to set properties of newly developed Activex Control at run time Pin
samhita29-Jul-04 18:26
samhita29-Jul-04 18:26 
Generalfunction to determine the adminstrator and integration with a dialog based app Pin
Anonymous29-Jul-04 18:13
Anonymous29-Jul-04 18:13 
GeneralRe: function to determine the adminstrator and integration with a dialog based app Pin
Michael Dunn29-Jul-04 19:21
sitebuilderMichael Dunn29-Jul-04 19:21 
GeneralRe: function to determine the adminstrator and integration with a dialog based app Pin
User 58385229-Jul-04 19:21
User 58385229-Jul-04 19:21 
GeneralRe: function to determine the administrator and integration with a dialog based app Pin
David Crow30-Jul-04 2:54
David Crow30-Jul-04 2:54 
Generalstl string class in VS2003 Pin
User 58385229-Jul-04 16:57
User 58385229-Jul-04 16:57 
GeneralRe: stl string class in VS2003 Pin
Tim Smith29-Jul-04 17:20
Tim Smith29-Jul-04 17:20 
GeneralRe: stl string class in VS2003 Pin
User 58385229-Jul-04 17:28
User 58385229-Jul-04 17:28 
I agree the code is not the best.


Tim Smith wrote:
Then the string is going out of scope and the memory is being deleted.

it seems like in VS6 the temp object created when TestFn() returns goes out of scope at the end of main(), and in VS2003 it goes out of scope after the call to TestFn() but before the return statement
GeneralRe: stl string class in VS2003 Pin
palbano29-Jul-04 17:56
palbano29-Jul-04 17:56 
GeneralRe: stl string class in VS2003 Pin
paulb29-Jul-04 17:42
paulb29-Jul-04 17:42 
GeneralRe: stl string class in VS2003 Pin
User 58385229-Jul-04 17:45
User 58385229-Jul-04 17:45 
GeneralRe: stl string class in VS2003 Pin
John M. Drescher29-Jul-04 22:51
John M. Drescher29-Jul-04 22:51 
GeneralRe: stl string class in VS2003 Pin
User 58385229-Jul-04 23:48
User 58385229-Jul-04 23:48 
GeneralRe: stl string class in VS2003 Pin
Tim Smith30-Jul-04 4:27
Tim Smith30-Jul-04 4:27 
GeneralRe: stl string class in VS2003 Pin
User 58385230-Jul-04 15:02
User 58385230-Jul-04 15:02 
GeneralSetting up Tab Controls Pin
Tyrus18229-Jul-04 16:25
Tyrus18229-Jul-04 16:25 
GeneralRe: Setting up Tab Controls Pin
alex.barylski29-Jul-04 17:44
alex.barylski29-Jul-04 17:44 
GeneralManually adding resources to rc2 file Pin
paulb29-Jul-04 16:22
paulb29-Jul-04 16:22 
GeneralRe: Manually adding resources to rc2 file Pin
John M. Drescher29-Jul-04 17:30
John M. Drescher29-Jul-04 17:30 
GeneralRe: Manually adding resources to rc2 file Pin
V.29-Jul-04 20:44
professionalV.29-Jul-04 20:44 
GeneralQuestion on OCX Pin
prgrmr29-Jul-04 15:29
prgrmr29-Jul-04 15:29 
QuestionCPropertySheet - how to abort OnOK? Pin
Max Santos29-Jul-04 14:36
Max Santos29-Jul-04 14:36 
AnswerRe: CPropertySheet - how to abort OnOK? Pin
Ryan Binns29-Jul-04 18:24
Ryan Binns29-Jul-04 18:24 
Generaladding shared_ptr to CListCtrl::SetItemData Pin
Shielsy1029-Jul-04 14:19
Shielsy1029-Jul-04 14:19 
GeneralRe: adding shared_ptr to CListCtrl::SetItemData Pin
palbano29-Jul-04 18:07
palbano29-Jul-04 18:07 

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.