Click here to Skip to main content
15,891,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionC++ socket connection send problem Pin
sugarandcream2-Nov-09 13:11
sugarandcream2-Nov-09 13:11 
AnswerRe: C++ socket connection send problem Pin
«_Superman_»2-Nov-09 14:14
professional«_Superman_»2-Nov-09 14:14 
GeneralRe: C++ socket connection send problem Pin
sugarandcream2-Nov-09 14:31
sugarandcream2-Nov-09 14:31 
GeneralRe: C++ socket connection send problem Pin
«_Superman_»2-Nov-09 15:50
professional«_Superman_»2-Nov-09 15:50 
GeneralRe: C++ socket connection send problem Pin
Moak2-Nov-09 23:44
Moak2-Nov-09 23:44 
QuestionXCrashReport : Exception Handling and system calls Pin
aputic2-Nov-09 12:34
aputic2-Nov-09 12:34 
GeneralRe: XCrashReport : Exception Handling and system calls Pin
Moak3-Nov-09 7:25
Moak3-Nov-09 7:25 
GeneralRe: XCrashReport : Exception Handling and system calls Pin
aputic5-Nov-09 0:01
aputic5-Nov-09 0:01 
There is the situation:
at run-time an exception occur: let's say memcpy with negative pozition in destination buffer. e.g. memcpy(&buff[negative_index], ...)
off-course, __except will catch this and run exceptionhandler function
in this function is a call for GetModuleFileName() and OS at this point report that is unable to process call because of heap corruption!
I'm moved this call to main application, making an global variable, but in second try, same heppens but in call of CreateFile(), but this function must be right there to open exception log file for writing.

My question is: which functions are preferred or allowed in exception handling. These two functions are system ones. exception handler haven't problem with memcpy, strcat etc to prepare exception log file name. But CreateFile() (or some sort of fopen) is essential part of any exception logging.
GeneralRe: XCrashReport : Exception Handling and system calls Pin
Moak5-Nov-09 0:53
Moak5-Nov-09 0:53 
QuestionC++ to MySQL Connections Pin
santhosh-padamatinti2-Nov-09 7:22
santhosh-padamatinti2-Nov-09 7:22 
AnswerRe: C++ to MySQL Connections Pin
loyal ginger2-Nov-09 10:37
loyal ginger2-Nov-09 10:37 
AnswerRe: C++ to MySQL Connections Pin
Saurabh.Garg2-Nov-09 14:57
Saurabh.Garg2-Nov-09 14:57 
QuestionSetSelection in CSliderCtrl not working in XP. Pin
iwt.dev2-Nov-09 6:08
iwt.dev2-Nov-09 6:08 
QuestionRe: SetSelection in CSliderCtrl not working in XP. Pin
David Crow2-Nov-09 6:30
David Crow2-Nov-09 6:30 
AnswerRe: SetSelection in CSliderCtrl not working in XP. Pin
iwt.dev2-Nov-09 8:48
iwt.dev2-Nov-09 8:48 
QuestionRe: SetSelection in CSliderCtrl not working in XP. Pin
David Crow2-Nov-09 10:10
David Crow2-Nov-09 10:10 
Questionhow to program a sending packet through selected network Adapter interface in the windows Pin
newjiang042-Nov-09 5:06
newjiang042-Nov-09 5:06 
QuestionUnicode support for CryptEncrypt(..) and CryptDecrypt(..) ........... Pin
hvgyufg28fh38tyr78hf2-Nov-09 4:55
hvgyufg28fh38tyr78hf2-Nov-09 4:55 
AnswerRe: Unicode support for CryptEncrypt(..) and CryptDecrypt(..) ........... Pin
CPallini2-Nov-09 5:19
mveCPallini2-Nov-09 5:19 
AnswerRe: Unicode support for CryptEncrypt(..) and CryptDecrypt(..) ........... Pin
Randor 2-Nov-09 5:23
professional Randor 2-Nov-09 5:23 
GeneralRe: Unicode support for CryptEncrypt(..) and CryptDecrypt(..) ........... Pin
hvgyufg28fh38tyr78hf3-Nov-09 1:27
hvgyufg28fh38tyr78hf3-Nov-09 1:27 
QuestionCablebox Pop-up blocker Pin
Quecumber2562-Nov-09 3:58
Quecumber2562-Nov-09 3:58 
AnswerRe: Cablebox Pop-up blocker Pin
Maximilien2-Nov-09 6:43
Maximilien2-Nov-09 6:43 
GeneralRe: Cablebox Pop-up blocker Pin
Quecumber2563-Nov-09 3:28
Quecumber2563-Nov-09 3:28 
Questionproblem in sending int in sockets Pin
WindowsVsLinux2-Nov-09 2:25
WindowsVsLinux2-Nov-09 2:25 

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.