|
-
April 27th, 1999, 03:32 PM
#1
CDocument::GetPathName()
I need to call the CDocument::GetPathName() from my CEditView class. How do I do this? Everytime I try this the compiler gives me an error:
illegal call of non-static member function
I am trying to do it like this:
CString strReturn;
strReturn = CDocument::GetPathName();
What is the function GetPathName? Protected? How do I use this function from another class? Thanks for your help.
Todd
[email protected]
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
|