Click here to Skip to main content
15,908,675 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SB_THUMBTRACK in ListCtrl Pin
Jagadeesh VN2-Feb-06 0:51
Jagadeesh VN2-Feb-06 0:51 
GeneralRe: SB_THUMBTRACK in ListCtrl Pin
Nishad S2-Feb-06 1:01
Nishad S2-Feb-06 1:01 
QuestionRe: SB_THUMBTRACK in ListCtrl Pin
David Crow2-Feb-06 4:59
David Crow2-Feb-06 4:59 
AnswerRe: SB_THUMBTRACK in ListCtrl Pin
PJ Arends2-Feb-06 6:53
professionalPJ Arends2-Feb-06 6:53 
GeneralRe: SB_THUMBTRACK in ListCtrl Pin
Nishad S2-Feb-06 16:56
Nishad S2-Feb-06 16:56 
QuestionProblem in compiling in debug mode with msxml2.lib Pin
kanduripavan2-Feb-06 0:10
kanduripavan2-Feb-06 0:10 
AnswerRe: Problem in compiling in debug mode with msxml2.lib Pin
Taka Muraoka2-Feb-06 1:34
Taka Muraoka2-Feb-06 1:34 
QuestionRtlFreeHeap Problem in dll Pin
amujim1-Feb-06 23:55
amujim1-Feb-06 23:55 
Hi!

I have a problem with dll programming. I am programming dll's for the micorosft flightsimulator.

Anyway in DEBUG mode i have the strange problem that i get a assertion in ntdll.dll telling me that a incorrect adress is passed to RtlFreeHeap when the sim wants to unload my module...so the problem is only on closing my dll. The error occours in the fs9.exe and not in my dll but i pass many (correct) pointers to the exe of course and its working with them.

I had found that the invalid adress that is passed to the RtlFreeHeap function is a pointer to a constant character string "xxxxxx" located in the .rdata section of my dll. When i remove the constant for my code the problem is still present but points to antoher adress also somewhere in the .rdata area of my dll.


Has anybody a idea what could be wrong with my heap setup and/or dll compilation that causes a problem with my .rdata memory area. Is there maybe something that i do not know about constants in dll's or resources in dlls.

My dll needs much memory, but still in the minimal configuration the error is present.

Again the problem is only on closing where the fs9.exe wants to free my memory? ans is not present during normal operation. Additional i could find that error when compiling in release mode.

Is there somewhere a tutorial about "do nots" in dll code programming...

hope somebody can help me

regards

Florian
AnswerRe: RtlFreeHeap Problem in dll Pin
geo_m2-Feb-06 2:23
geo_m2-Feb-06 2:23 
GeneralRe: RtlFreeHeap Problem in dll Pin
amujim2-Feb-06 7:57
amujim2-Feb-06 7:57 
Questionrand() Function Pin
Uzma Waheed1-Feb-06 23:51
Uzma Waheed1-Feb-06 23:51 
AnswerRe: rand() Function Pin
Owner drawn2-Feb-06 0:02
Owner drawn2-Feb-06 0:02 
AnswerRe: rand() Function Pin
Rage2-Feb-06 0:08
professionalRage2-Feb-06 0:08 
QuestionAsynchronous I/O using ReadFile Pin
PradeepKK1-Feb-06 23:49
PradeepKK1-Feb-06 23:49 
AnswerRe: Asynchronous I/O using ReadFile Pin
Vanting2-Feb-06 0:45
Vanting2-Feb-06 0:45 
GeneralRe: Asynchronous I/O using ReadFile Pin
PradeepKK2-Feb-06 1:18
PradeepKK2-Feb-06 1:18 
GeneralRe: Asynchronous I/O using ReadFile Pin
Iain Clarke, Warrior Programmer2-Feb-06 5:16
Iain Clarke, Warrior Programmer2-Feb-06 5:16 
QuestionHow can I intercept the "Windows" menu Pin
Jim @ JCT1-Feb-06 23:17
Jim @ JCT1-Feb-06 23:17 
AnswerRe: How can I intercept the "Windows" menu Pin
Iain Clarke, Warrior Programmer2-Feb-06 6:17
Iain Clarke, Warrior Programmer2-Feb-06 6:17 
GeneralRe: How can I intercept the "Windows" menu Pin
Jim @ JCT2-Feb-06 22:21
Jim @ JCT2-Feb-06 22:21 
GeneralRe: How can I intercept the "Windows" menu Pin
Iain Clarke, Warrior Programmer3-Feb-06 0:33
Iain Clarke, Warrior Programmer3-Feb-06 0:33 
GeneralRe: How can I intercept the "Windows" menu Pin
Jim @ JCT13-Feb-06 3:16
Jim @ JCT13-Feb-06 3:16 
Questionasking............ Pin
shazzney1-Feb-06 23:14
shazzney1-Feb-06 23:14 
AnswerRe: asking............ Pin
RChin1-Feb-06 23:20
RChin1-Feb-06 23:20 
QuestionHow to extract plain text from a url or a html document? Pin
shertay1-Feb-06 21:02
shertay1-Feb-06 21:02 

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.