|
Use CRegKey
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
|
Registry functions.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi all,
I have a doubt reagrading DeleteObject().
I created 25 solid brushes in a function and deleted all the brushes in other function.
Before creating the brush the GDIObject count was 18 (as per task manager).
After Creating 25 brushes the count was 43.
Now even after deleting 25 brushes the GDI object count was still 32 instead of 18.
Anybody plz tell me the reason..
Plz suggest any good GDI leak tester.
|
|
|
|
|
sruti_p wrote: Anybody plz tell me the reason..
Reading this[^] article will be of some help.
|
|
|
|
|
Is there any tool to detect GDI leaks & Memory Leaks for VS 2005 Application apart from Task Manager?
Thanks
Today is a gift, that's why it is called the present.
|
|
|
|
|
narayanagvs wrote: Is there any tool to detect GDI leaks & Memory Leaks for VS 2005 Application apart from Task Manager?
I can't suggest any tool, but this[^] will make a good read.
|
|
|
|
|
This is really helpful to me..Thanks.
Appu..
"My blood group is not B+.But I have it my blood"
|
|
|
|
|
So, you asked from your 'other' ID?
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
brahmma wrote: So, you asked from your 'other' ID?
|
|
|
|
|
Detective on duty !
|
|
|
|
|
You can clearly see that he has one ID only for 'asking' purposes and may be also it is used for 'VOTING' purposes (for his own post? ). Today he got caught.
prasad_som wrote: Detective on duty !
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
brahmma wrote: may be also it is used for 'VOTING' purposes (for his own post? )
Dont think so. IP filter is always there.
|
|
|
|
|
Not every company is going have one firewall and computers behind that. Smaller companies have some 'N' number of computers and everything has an IP. I may be wrong too.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
Hi ...
I am not Nice Naidu...surprised to see many replies....I have already read the Article suggested by Thomas..
Pls. Suggest more Articles or Tools if any for GDI leak detection
Thanks
Today is a gift, that's why it is called the present.
|
|
|
|
|
narayanagvs wrote: I am not Nice Naidu...surprised to see many replies....
*sigh*
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
Try Memory Validator or (if you have masochistic tendencies) BoundsChecker (part of the DevPartner suite).
|
|
|
|
|
brahmma wrote: You can clearly see that he has one ID only for 'asking' purposes
How?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers! We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP Linkify!|Fold With Us!
|
|
|
|
|
Linkety[^]
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
hi i am having two buttons ok and cancel. when the user click ok it will do some process also i will disable this button. during my process when we press enter it ahould cancle the process instead it contiues the process. i tried using cancel->SetFocus() but i cant get the soluition. what i have to do if the user press enter key it should do the process in cancel button. anyone who knows please help me.
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
Is your application multithreaded? In a unithreaded application, your whole app will be prevented from processing messages until a process completes. If it a unithreaded app, then AfxPumpMessage may help you.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
deeps_cute wrote: during my process when we press enter it ahould cancle the process instead it contiues the process. i tried using cancel->SetFocus() but i cant get the soluition.
At the point of disabling the OK button, have you tried setting the Cancel button as default?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi all,
I am working on a SDI application.When i run it, on the main window it gives the name of the project. I want to change it and want to give a desired name.
And similarly i want to change the name of exe file through coding .
Can anybody help me in this???
|
|
|
|
|
neha.agarwal27 wrote: And similarly i want to change the name of exe file through coding
actually that name is part of String Table you have to edit that!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
i have tried it by changing IDR_MAINFRAME Caption but its not changing.
Whenever i run it it always come
Untitled - website
n i want to change it to Neha
similary exe name is coming website.exe n i want to change it to neha.exe..
|
|
|
|