Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compile error C2065 - please help !

0 views
Skip to first unread message

Martin Etherton

unread,
May 26, 1998, 3:00:00 AM5/26/98
to

Hi everyone.

Hope someone can help me solve the following problem....

I have an MFC extension DLL in which I have derived numerous classes from
CObject...
eg. CGroup, CSubGroup

In my executable application, I get the compile error C2065 when I declare,
for example,
a CGroup object in my <app.h> file and then a CSubGroup object in my
<app.cpp> file..

I have the correct include statements added to the files and the correct
directory settings in my options selected.....

In fact if I only have one of the objects declared e.g CGroup and don't
include the CSubGroup then I don't get any compile errors...

It seems I only get the compile errors when I try to have 2 include
statements in my file....

Hope this has been explained sufficiently for someone to understand my
problem

Thanks in advance
Martin

0 new messages