Click to See Complete Forum and Search --> : CFormView w/o CDocument


Hamilton
May 28th, 1999, 10:16 AM
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.

Wayne Fuller
May 28th, 1999, 10:25 AM
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

JohnCz
June 1st, 1999, 01:35 PM
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