How we can findout Memoryleaks, In what way it can be
avoided
Answers were Sorted based on User's Feedback
Answer / guest
Use CMemoryState class put checkpoints and differences, and
investigate
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / chandrasekharreddy s
To find out the memory leaks there are several ways
1. Use Permon utility provided by Microsoft
2. Collect the memory leak dump using Debug Diag and
investigate.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / bhavesh akoliya
By overloading new , delete , malloc , calloc and realloc
we can find out the Memoryleaks.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kushagra
The appropiate way to chec leaks in memory is to perform
utilty and collect memory leaks dump using Debug Diag and
Use CMemoryState class put checkpoints and differences, and
investigate.Rational products are available on Liscence so
an be used if agreed by your employer.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / jecintho sirumalar
to detect the memory leaks in the vc++ code certain tools
available like rational purify plus tool.By intergrating
this tool with your source code the leakage report would be
identified. It will also be very easy to identify the
leaks.
| Is This Answer Correct ? | 1 Yes | 2 No |
How you create a button dynamically?
What is LoadLibrary function returns?
What is the difference between Extension DLL and Regular DLL?
What is CSingleDocTemplate?
What is the difference between the ASSERT and VERIFY macros?
what message is sent to an application when the user presses the primary button?
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.
what is message Testing ?
Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer
Difference between Cclint DC & Cpaint Dc
How can i change the color of a dropdowncombobox elements
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?