|
-
January 5th, 2004, 05:42 AM
#11
Hey guys I have an enormous programming problem and I don't know what to do, you must help me to solve it please!!!!!
I have an object of the class CWoman called woman
But when I try to do:
woman.SetWidowText(_T("Happy"));
I get a run time error because its husband has not died yet.
I also have tried this before:
delete (woman.m_husband)
But I get the run time error: "The indicated element cannot be found".
I have entered the debug mode and I have seen that woman.m_husband is in the same memoy address than woman.m_bestfriend.
What can I do? Help me please!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|