Compiler can't see class



I've tried this question over at Code Project but was unable to get a
resolution there. So I'm trying here.

I'm using VC++ 6.0. I've downloaded a non-MFC class from the Code
Project that I want to use in my project(s). In a test case project
I've copied the .h and .cpp files to my project workspace. I've
included the files in the project. I've #included the .h file in the
XXXView.h file. I've rebuilt the class wizard file. Per a suggestion
from the Code Project forum I've turned off pre-compiled headers.

The class shows up in the Class View but doesn't show up in class
wizard. When I compile the project I get three errors, all of which
indicate that the compiler hasn't noted the existence of the class.

Help? Please?

--
TIA
Lilith
.



Relevant Pages

  • Re: Compiler cant see class
    ... I've rebuilt the class wizard file. ... > from the Code Project forum I've turned off pre-compiled headers. ... When I compile the project I get three errors, ... VC++6 ClassWizard will only work with MFC derived classes and only certain ...
    (microsoft.public.vc.language)
  • legacy_code and compiler options
    ... Hallo, I have a question regarding "legacy_code" tool. ... tool to create an s-function from my c code project. ... there are several #ifdef statements to compile specific code ...
    (comp.soft-sys.matlab)