Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: print input parameter values Pin
George_George6-Jul-08 3:12
George_George6-Jul-08 3:12 
QuestionCheck file in use Pin
Karismatic29-Jun-08 23:28
Karismatic29-Jun-08 23:28 
AnswerRe: Check file in use Pin
SandipG 29-Jun-08 23:31
SandipG 29-Jun-08 23:31 
GeneralRe: Check file in use Pin
Saurabh.Garg29-Jun-08 23:37
Saurabh.Garg29-Jun-08 23:37 
GeneralRe: Check file in use Pin
Karismatic29-Jun-08 23:42
Karismatic29-Jun-08 23:42 
GeneralRe: Check file in use Pin
SandipG 30-Jun-08 0:14
SandipG 30-Jun-08 0:14 
QuestionFunction pointer corrupts the stack or heap Pin
BadKarma29-Jun-08 22:55
BadKarma29-Jun-08 22:55 
AnswerRe: Function pointer corrupts the stack or heap Pin
Saurabh.Garg29-Jun-08 23:34
Saurabh.Garg29-Jun-08 23:34 
Are you sure this code has a bug? I coudn't find any problem with the code so I decide to run it myself and it runs perfectly.


BadKarma wrote:
void (functional::*pExitFunction)(); // the addition of this line causes the corruption // even if you don't use it in the cpp side


This cannot be true because if you comment out this line then you will have to comment it in wrapper's constructor and destructor. If you do that than the class do nothing so it cannot corrupt memory.

-Saurabh
GeneralRe: Function pointer corrupts the stack or heap Pin
BadKarma29-Jun-08 23:49
BadKarma29-Jun-08 23:49 
GeneralRe: Pin
Saurabh.Garg30-Jun-08 0:00
Saurabh.Garg30-Jun-08 0:00 
GeneralRe: Pin
BadKarma30-Jun-08 1:13
BadKarma30-Jun-08 1:13 
GeneralRe: Pin
Saurabh.Garg30-Jun-08 3:31
Saurabh.Garg30-Jun-08 3:31 
Questionim upgrading from vs2003 to vs 2005 and the following code is creating a big error..... i wish anyone can help me fix the problem!! Pin
amit shrestha29-Jun-08 21:46
amit shrestha29-Jun-08 21:46 
AnswerRe: im upgrading from vs2003 to vs 2005 and the following code is creating a big error..... i wish anyone can help me fix the problem!! Pin
KarstenK29-Jun-08 21:56
mveKarstenK29-Jun-08 21:56 
AnswerRe: im upgrading from vs2003 to vs 2005 and the following code is creating a big error..... i wish anyone can help me fix the problem!! Pin
KarstenK29-Jun-08 22:37
mveKarstenK29-Jun-08 22:37 
QuestionCDialog::DoModal fails in a DLL Pin
sashoalm29-Jun-08 21:11
sashoalm29-Jun-08 21:11 
AnswerRe: CDialog::DoModal fails in a DLL PinPopular
Naveen29-Jun-08 21:15
Naveen29-Jun-08 21:15 
GeneralRe: CDialog::DoModal fails in a DLL Pin
sashoalm29-Jun-08 23:11
sashoalm29-Jun-08 23:11 
AnswerRe: CDialog::DoModal fails in a DLL Pin
Paresh Chitte29-Jun-08 21:38
Paresh Chitte29-Jun-08 21:38 
Questionvisual studio 6.0 to 2005 Pin
vibindia29-Jun-08 20:26
vibindia29-Jun-08 20:26 
AnswerRe: visual studio 6.0 to 2005 Pin
_AnsHUMAN_ 29-Jun-08 20:33
_AnsHUMAN_ 29-Jun-08 20:33 
GeneralRe: visual studio 6.0 to 2005 Pin
Nibu babu thomas29-Jun-08 22:09
Nibu babu thomas29-Jun-08 22:09 
GeneralRe: visual studio 6.0 to 2005 Pin
_AnsHUMAN_ 29-Jun-08 22:27
_AnsHUMAN_ 29-Jun-08 22:27 
QuestionRe: visual studio 6.0 to 2005 Pin
rp_suman29-Jun-08 20:44
rp_suman29-Jun-08 20:44 
QuestionRe: visual studio 6.0 to 2005 Pin
David Crow30-Jun-08 3:10
David Crow30-Jun-08 3:10 

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.