CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    1

    CFormView w/o CDocument

    Is there any way of creating a SDI with CFormView w/o using CDocument w/o getting an 'Access Violation' in MFC42.DLL. I'm using VC6 sp2. Thanks.


  2. #2
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: CFormView w/o CDocument

    There may be a way around it, but I don't think so. I am almost positive that every CView derived class has to have a CDocument attached to it. You could write it where the document doesn't do anything, but it still has to be there. What is the reason you do not want a CDocument class associated with the CFormView class?

    Wayne



  3. #3
    Join Date
    May 1999
    Location
    ALABAMA, USA
    Posts
    9,917

    Re: CFormView w/o CDocument

    There are several things to do but of course it is possible. Drop me e-mail if you want sample of the source.

    John Cz
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

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