CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Dec 2004
    Posts
    21

    Question I have problem to compile my code - don't see reason why - need help - i add the code.

    Hi All,

    I'm using visual 2005 to write some simple C++ program using MFC.
    I add the relevant file to here - the compile error that i getting is

    error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject'

    When i click the error then the comiler jump to the last line of the h file.

    I check and i don't try to access to any private member of CObject.
    I don't see any problem - and i need help.

    Thanks.
    Attached Files Attached Files
    Last edited by YANSHOF; January 19th, 2007 at 09:18 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured