Click here to Skip to main content
15,917,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Converting unsigned short int to its hex representation Pin
yeah10003-Nov-09 4:41
yeah10003-Nov-09 4:41 
AnswerRe: Converting unsigned short int to its hex representation Pin
softwaremonkey4-Nov-09 11:23
softwaremonkey4-Nov-09 11:23 
Questionc++ code Pin
anilga3-Nov-09 1:51
anilga3-Nov-09 1:51 
AnswerRe: c++ code Pin
Nikola Tanev3-Nov-09 2:08
Nikola Tanev3-Nov-09 2:08 
AnswerRe: c++ code Pin
Richard MacCutchan3-Nov-09 2:15
mveRichard MacCutchan3-Nov-09 2:15 
AnswerRe: c++ code Pin
CPallini3-Nov-09 2:18
mveCPallini3-Nov-09 2:18 
AnswerRe: c++ code Pin
Michael Schubert3-Nov-09 2:36
Michael Schubert3-Nov-09 2:36 
AnswerRe: c++ code Pin
David Crow3-Nov-09 3:13
David Crow3-Nov-09 3:13 
AnswerRe: c++ code Pin
Rajesh R Subramanian3-Nov-09 3:15
professionalRajesh R Subramanian3-Nov-09 3:15 
AnswerRe: c++ code Pin
Hamid_RT3-Nov-09 6:39
Hamid_RT3-Nov-09 6:39 
GeneralOT Pin
CPallini3-Nov-09 6:50
mveCPallini3-Nov-09 6:50 
GeneralRe: OT Pin
Hamid_RT3-Nov-09 19:28
Hamid_RT3-Nov-09 19:28 
QuestionHow can add path of all files to List Ctrl those are present in folder ? Pin
Le@rner3-Nov-09 1:51
Le@rner3-Nov-09 1:51 
AnswerRe: How can add path of all files to List Ctrl those are present in folder ? Pin
Code-o-mat3-Nov-09 1:57
Code-o-mat3-Nov-09 1:57 
GeneralRe: How can add path of all files to List Ctrl those are present in folder ? Pin
iwt.dev3-Nov-09 4:34
iwt.dev3-Nov-09 4:34 
GeneralRe: How can add path of all files to List Ctrl those are present in folder ? Pin
David Crow3-Nov-09 5:11
David Crow3-Nov-09 5:11 
QuestionRe: How can add path of all files to List Ctrl those are present in folder ? Pin
David Crow3-Nov-09 3:12
David Crow3-Nov-09 3:12 
QuestionCopy code Pin
Nikola Tanev3-Nov-09 1:24
Nikola Tanev3-Nov-09 1:24 
AnswerRe: Copy code Pin
Nikola Tanev3-Nov-09 11:32
Nikola Tanev3-Nov-09 11:32 
GeneralRe: Copy code Pin
enhzflep3-Nov-09 11:44
enhzflep3-Nov-09 11:44 
GeneralRe: Copy code Pin
Nikola Tanev3-Nov-09 21:00
Nikola Tanev3-Nov-09 21:00 
Actually the idea is that you make the functions static in order to be created in the data segment and hope they will be one after another with your build - this is since you need to extract the size of the code. i noticed that if i make changes to the code and not rebuild it for a long time then in some cases after_foo goes before foo in the code segment (looking in the Disassembly).

If you can find a link of that discussion it would be great if you can share it... If it is dodgy way to determine the size than i hope there is another way (then i would be interested).

I used this method in my company when we wanted to measure incremental memory leeks in a specific scenario of the software we examined (example from point A to point B - GUI app). My idea was to build the examined app with instrumentation tool, then inject a thread in the remote process so that I can start and stop the instrumentation from outside. This way we wanted to measure the leaks only in the current scenario (not whole app). The method i used was the same as this but only in a remote process.

regards
Nikola
QuestionMemory allocation problem !!! Pin
Game-point3-Nov-09 1:13
Game-point3-Nov-09 1:13 
AnswerRe: Memory allocation problem !!! Pin
PrafullaShirke273-Nov-09 1:21
professionalPrafullaShirke273-Nov-09 1:21 
GeneralRe: Memory allocation problem !!! Pin
Game-point3-Nov-09 1:28
Game-point3-Nov-09 1:28 
GeneralRe: Memory allocation problem !!! Pin
PrafullaShirke273-Nov-09 1:38
professionalPrafullaShirke273-Nov-09 1:38 

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.