Click here to Skip to main content
15,909,332 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get CPU ID Pin
ShilpiP23-Aug-07 23:08
ShilpiP23-Aug-07 23:08 
AnswerRe: How to get CPU ID Pin
David Crow24-Aug-07 5:49
David Crow24-Aug-07 5:49 
QuestionTooltip repositioning Pin
Nishad S23-Aug-07 22:30
Nishad S23-Aug-07 22:30 
QuestionHow to find memory leak in a big project? Pin
hafz23-Aug-07 22:23
hafz23-Aug-07 22:23 
AnswerRe: How to find memory leak in a big project? Pin
shyam bhiogade24-Aug-07 0:54
shyam bhiogade24-Aug-07 0:54 
AnswerRe: How to find memory leak in a big project? Pin
toxcct24-Aug-07 1:50
toxcct24-Aug-07 1:50 
AnswerRe: How to find memory leak in a big project? Pin
Hamid_RT24-Aug-07 2:47
Hamid_RT24-Aug-07 2:47 
Question64 bit programming issue... Pin
Kedar Potdar23-Aug-07 21:12
Kedar Potdar23-Aug-07 21:12 
Hi,

I am currently porting 64 bit application with C and Assembly code (x86-64) from Linux to windows.

I am using Microsoft C-Compiler 2005 and Yasm for compiling C and assembly code respectively.

I have modified the assembly files as per the 64-bit ABI specification for windows and i do get expected results when i use “RTCs” flag which is meant for stack pointer verification. This flag also requires optimization flags to be turned off.

The problem starts when i dont use the “RTCs” (which is the case in release version) it tries to access initial locations (0×04a0) of memory in C-code.

I suspect that it has something to do with calling convention mismatch when control gets transferred from assembly to C-function.

Any help in this regard would be highly appreciated.

With warm regards,
KEDAR
Questiontormented by _CrtIsValidHeapPointer (t=day7) [modified] Pin
devvvy23-Aug-07 21:09
devvvy23-Aug-07 21:09 
AnswerRe: tormented by _CrtIsValidHeapPointer (t=day7) Pin
jhwurmbach23-Aug-07 21:56
jhwurmbach23-Aug-07 21:56 
GeneralRe: tormented by _CrtIsValidHeapPointer (t=day7) Pin
devvvy23-Aug-07 22:00
devvvy23-Aug-07 22:00 
GeneralRe: tormented by _CrtIsValidHeapPointer (t=day7) Pin
toxcct23-Aug-07 22:13
toxcct23-Aug-07 22:13 
Generalbecause this is stripped down test app with nothing more than init Pin
devvvy23-Aug-07 22:17
devvvy23-Aug-07 22:17 
GeneralRe: because this is stripped down test app with nothing more than init Pin
jhwurmbach23-Aug-07 23:52
jhwurmbach23-Aug-07 23:52 
AnswerRe: tormented by _CrtIsValidHeapPointer (t=day7) Pin
James R. Twine24-Aug-07 3:59
James R. Twine24-Aug-07 3:59 
GeneralRe: tormented by _CrtIsValidHeapPointer (t=day7) Pin
devvvy24-Aug-07 4:45
devvvy24-Aug-07 4:45 
AnswerRe: tormented by _CrtIsValidHeapPointer (t=day7) Pin
cmk24-Aug-07 10:00
cmk24-Aug-07 10:00 
GeneralRe: tormented by _CrtIsValidHeapPointer (t=day7) Pin
devvvy29-Aug-07 2:53
devvvy29-Aug-07 2:53 
Questionmultiple document-view architecture Pin
Taruni23-Aug-07 19:59
Taruni23-Aug-07 19:59 
AnswerRe: multiple document-view architecture Pin
jhwurmbach23-Aug-07 21:57
jhwurmbach23-Aug-07 21:57 
AnswerRe: multiple document-view architecture Pin
Iain Clarke, Warrior Programmer23-Aug-07 22:00
Iain Clarke, Warrior Programmer23-Aug-07 22:00 
GeneralRe: multiple document-view architecture Pin
jhwurmbach23-Aug-07 23:55
jhwurmbach23-Aug-07 23:55 
GeneralRe: multiple document-view architecture Pin
jhwurmbach24-Aug-07 0:37
jhwurmbach24-Aug-07 0:37 
General[Message Deleted] Pin
devvvy24-Aug-07 0:47
devvvy24-Aug-07 0:47 
GeneralRe: multiple document-view architecture Pin
jhwurmbach24-Aug-07 0:52
jhwurmbach24-Aug-07 0:52 

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.