MrEARTHSHAcKER
Programmer
- Jan 26, 2012
- 20
- 0
- 0
Hi,
I have created the application which consists of several windows.
Except first window, all others are dynamically created.
They are created from windows before them and deleted after it's own closing ( they're deleted by themselves by button click ).
There is a problem.
When I wish to delete window, I get this error message : "Access violation at address 0A1826C8 in module 'Project1'.Read of address DD57D84A".
And it doesn't appear always, which is confusing. And it doesn't affect to the application, just displays the error.
Example of creating and deleting the window:
(withing 1st window)
MyTab= new TMyTab(Application);
MyTab->Show();
(withing window that'll be deleted - MyTab)
delete MyTab;
Thanks a lot, I need this because I don't want my game to be insane memory allocator.
I have created the application which consists of several windows.
Except first window, all others are dynamically created.
They are created from windows before them and deleted after it's own closing ( they're deleted by themselves by button click ).
There is a problem.
When I wish to delete window, I get this error message : "Access violation at address 0A1826C8 in module 'Project1'.Read of address DD57D84A".
And it doesn't appear always, which is confusing. And it doesn't affect to the application, just displays the error.
Example of creating and deleting the window:
(withing 1st window)
MyTab= new TMyTab(Application);
MyTab->Show();
(withing window that'll be deleted - MyTab)
delete MyTab;
Thanks a lot, I need this because I don't want my game to be insane memory allocator.