ba272
asked on
Anybody got any ideas about how to improve my program's performance
Hi,
I need to find the bottlenecks in my program so I can re-write them. Anybody got any suggestions how to find them?
Are there any programs you could suggest that could profile the way my program runs? And which functions get most of the clock cycles?
Is there a built in tool in VS2003?
Also, what about calling Destroy()?
When I came from C++ I was told you don't need to clean up after yourself, the environment does that for you. But lately I've hear dthat's not true. Meanwhile I have done nothing to override Destroy() and remove my objects.
What re some basic rules I can use to start going through my numerous objects and dialogs to start implementing Destroy()?
When a dialog cals its destroy, should I be destroying the controls I created in that dialog? What function do I call? Do I set it to null as well?
Thanks for any help you provide. I'm in a pickle and can't get out of it.
Bob
I need to find the bottlenecks in my program so I can re-write them. Anybody got any suggestions how to find them?
Are there any programs you could suggest that could profile the way my program runs? And which functions get most of the clock cycles?
Is there a built in tool in VS2003?
Also, what about calling Destroy()?
When I came from C++ I was told you don't need to clean up after yourself, the environment does that for you. But lately I've hear dthat's not true. Meanwhile I have done nothing to override Destroy() and remove my objects.
What re some basic rules I can use to start going through my numerous objects and dialogs to start implementing Destroy()?
When a dialog cals its destroy, should I be destroying the controls I created in that dialog? What function do I call? Do I set it to null as well?
Thanks for any help you provide. I'm in a pickle and can't get out of it.
Bob
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well I have heard caims that I still need to destroy objects in certain case, using C#. Not long ago I made a dialog with a timer. And when the timer fired, a function executed. but when I closed th edialog, it still executed. That's one example of when I needed to explicity set it to null in the destroy function of the dialog.
ASKER
no that was me from my other account... Sorry.