Click here to Skip to main content
15,925,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: "joining" files like when a Web page is saved from Internet Explorer Pin
«_Superman_»2-Nov-09 16:31
professional«_Superman_»2-Nov-09 16:31 
GeneralRe: "joining" files like when a Web page is saved from Internet Explorer [modified] Pin
lorax12843-Nov-09 2:06
lorax12843-Nov-09 2:06 
GeneralRe: "joining" files like when a Web page is saved from Internet Explorer Pin
«_Superman_»3-Nov-09 5:03
professional«_Superman_»3-Nov-09 5:03 
AnswerRe: "joining" files like when a Web page is saved from Internet Explorer Pin
Big Daddy Farang3-Nov-09 5:00
Big Daddy Farang3-Nov-09 5:00 
QuestionAn Ado problem ,help Pin
tyr20002-Nov-09 14:41
tyr20002-Nov-09 14:41 
QuestionRe: An Ado problem ,help Pin
David Crow2-Nov-09 16:54
David Crow2-Nov-09 16:54 
AnswerRe: An Ado problem ,help Pin
tyr20002-Nov-09 17:26
tyr20002-Nov-09 17:26 
GeneralRe: An Ado problem ,help Pin
Adam Roderick J2-Nov-09 19:52
Adam Roderick J2-Nov-09 19:52 
GeneralRe: An Ado problem ,help Pin
tyr20002-Nov-09 20:05
tyr20002-Nov-09 20:05 
GeneralRe: An Ado problem ,help Pin
Adam Roderick J2-Nov-09 21:57
Adam Roderick J2-Nov-09 21:57 
QuestionRe: An Ado problem ,help Pin
David Crow3-Nov-09 2:50
David Crow3-Nov-09 2:50 
RantRe: An Ado problem ,help [modified] Pin
Adam Roderick J5-Nov-09 21:47
Adam Roderick J5-Nov-09 21:47 
GeneralRe: An Ado problem ,help Pin
David Crow3-Nov-09 2:52
David Crow3-Nov-09 2:52 
QuestionReading Text From Single Line CEdit Pin
Judgement28 2-Nov-09 14:32
Judgement28 2-Nov-09 14:32 
AnswerRe: Reading Text From Single Line CEdit Pin
«_Superman_»2-Nov-09 15:53
professional«_Superman_»2-Nov-09 15:53 
GeneralRe: Reading Text From Single Line CEdit Pin
Judgement28 2-Nov-09 18:35
Judgement28 2-Nov-09 18:35 
QuestionRe: Reading Text From Single Line CEdit Pin
KarstenK2-Nov-09 21:24
mveKarstenK2-Nov-09 21:24 
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.

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.