Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIOCP again Pin
csrss6-Jul-11 8:34
csrss6-Jul-11 8:34 
AnswerRe: IOCP again Pin
cmk6-Jul-11 10:38
cmk6-Jul-11 10:38 
AnswerRe: IOCP again Pin
Mark Salsbery6-Jul-11 10:56
Mark Salsbery6-Jul-11 10:56 
GeneralRe: IOCP again Pin
csrss6-Jul-11 11:11
csrss6-Jul-11 11:11 
QuestionThe code, in short Pin
csrss6-Jul-11 11:58
csrss6-Jul-11 11:58 
AnswerRe: The code, in short Pin
Mark Salsbery6-Jul-11 13:21
Mark Salsbery6-Jul-11 13:21 
GeneralRe: The code, in short Pin
csrss6-Jul-11 14:53
csrss6-Jul-11 14:53 
GeneralRe: The code, in short Pin
Mark Salsbery6-Jul-11 15:22
Mark Salsbery6-Jul-11 15:22 
csrss wrote:
Thats basically doesnt matter, you can mix it.


What??? "Basically", it does matter. In practice, however, it may not matter... at least maybe currently. It's a horrible programming practice to mix memory allocation function families. There is absolutely NO guarantee that any given library implementation versions will remain compatible. But if you like to live dangerously...Smile | :)


csrss wrote:
It seems to me that its kind of not possible to have memory allocations with IOCP



IOCP doesn't know anything about memory allocations or your buffers or anything. You are responsible for that and all standard multithread rules apply.


Regardless of all that, it should be relatively easy to debug. Your heap is getting trashed. Running in debugger when it crashes you should be able to go to any thread and check call stacks to see where it's failing.
Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionDynamic Tree Pin
john56326-Jul-11 1:28
john56326-Jul-11 1:28 
AnswerRe: Dynamic Tree Pin
Emilio Garavaglia6-Jul-11 2:19
Emilio Garavaglia6-Jul-11 2:19 
AnswerRe: Dynamic Tree Pin
Niklas L6-Jul-11 4:47
Niklas L6-Jul-11 4:47 
QuestionHow to retrieve Icon/Bitmap/HBITMAP information from CMenu? [modified] Pin
nate316-Jul-11 0:30
nate316-Jul-11 0:30 
AnswerRe: How to retrieve Icon/Bitmap/HBITMAP information from CMenu? Pin
Richard MacCutchan6-Jul-11 0:37
mveRichard MacCutchan6-Jul-11 0:37 
GeneralRe: How to retrieve Icon/Bitmap/HBITMAP information from CMenu? Pin
nate316-Jul-11 15:52
nate316-Jul-11 15:52 
QuestionRe: How to retrieve Icon/Bitmap/HBITMAP information from CMenu? Pin
David Crow6-Jul-11 3:52
David Crow6-Jul-11 3:52 
AnswerRe: How to retrieve Icon/Bitmap/HBITMAP information from CMenu? Pin
nate316-Jul-11 15:53
nate316-Jul-11 15:53 
GeneralRe: How to retrieve Icon/Bitmap/HBITMAP information from CMenu? Pin
David Crow6-Jul-11 16:55
David Crow6-Jul-11 16:55 
QuestionAt CADORecordset.Close() Application get crashed. Pin
Amrit Agr5-Jul-11 23:16
Amrit Agr5-Jul-11 23:16 
AnswerRe: At CADORecordset.Close() Application get crashed. Pin
Niklas L6-Jul-11 0:04
Niklas L6-Jul-11 0:04 
GeneralRe: At CADORecordset.Close() Application get crashed. Pin
Amrit Agr6-Jul-11 0:19
Amrit Agr6-Jul-11 0:19 
GeneralRe: At CADORecordset.Close() Application get crashed. Pin
Niklas L6-Jul-11 0:42
Niklas L6-Jul-11 0:42 
Questionwin32 dll is not working for c# application. Pin
Le@rner5-Jul-11 21:17
Le@rner5-Jul-11 21:17 
AnswerRe: win32 dll is not working for c# application. Pin
Cedric Moonen5-Jul-11 21:37
Cedric Moonen5-Jul-11 21:37 
QuestionRe: win32 dll is not working for c# application. Pin
Malli_S5-Jul-11 21:56
Malli_S5-Jul-11 21:56 
AnswerRe: win32 dll is not working for c# application. Pin
Le@rner5-Jul-11 22:00
Le@rner5-Jul-11 22:00 

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.