Thanks a lot. I love sea
SmilingHeart
Posts
-
A question about CRuntimeClass and Dynamic Creation -
A question about CRuntimeClass and Dynamic CreationI have tried your code. But it does not work. "pModuleState->m_classList" is always eaqual to 0x0000. Can you tell me the reason? I love sea
-
A question about CRuntimeClass and Dynamic CreationI want to implement a funtion.The follwing is its prototype: CRuntimeClass* FindClass(CString &strClassName) Parameter strClassName is the name of some class. I want to get the CRuntimeClass member variable of the class whose name is strClassName. For example : CString strClassName="CMyView"; CRuntimeClass * pRtc=FineClass(strClassName); ~~~~~~~~ I hope that I can get the pointer of CRuntimeClass member variable of CMyView; Thanks for your help I love sea
-
What does this mean?Yes you are right. But i donot know what the assembly codes mean.Have you ever encourted this problem?How can i solve this problem. I love sea
-
What does this mean?I encounter a warning, when i debug a programe. The warning message is "User breakpoint called from code at 0x77f97704".I donot know the reason. When this warning message appears, VC shows a screen of assembly code to me.Please tell me the reason to cause this warning . I love sea
-
Help me!To Christian, First thank you very much for your reply! Yeah,I agree about what you have said. But what i want to do now, is to read ~~~~~ the content of a document.And I donot want that the view and frame are to be ~~~~~~~~~~~~~~~~~~~~~~~~~ showed. Let us take an example: Suppose that you are going to load the content of a *.txt file. Must you run an notepad.exe? No. You can make it by writing such codes: CStdioFile f(...); Do you catch what i mean? I love sea
-
Help me!I have created an MDI application. In this application, I have a class CMyDoc,which is inherited from CDocument. Now I want to write some code to open a document of this kind, while not showing the frame and view which are associated with the document. I write these codes: { ... CMyDoc * pDoc=(CMyDoc*)theApp.OpenDocumentFile(m_strNewFileName); ... } As you can guess,the frame and view are showed.Please tell me how to open a document without showing the frame and view . I love sea