Re: Compiler can't see class



"Lilith" <lilith@xxxxxxxxx> wrote in message
news:r7rqt1hcjbh7l72lfv28nvg91r8t0v4fnu@xxxxxxxxxx
> 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

VC++6 ClassWizard will only work with MFC derived classes and only certain
ones, primarily ones derived from CWnd and a few others.

What are the errors?

--
============
Frank Hickman
Microsoft MVP
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.


.



Relevant Pages

  • Compiler cant see class
    ... resolution there. ... 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, ...
    (microsoft.public.vc.language)
  • Re: Compiler cant see class
    ... >> from the Code Project forum I've turned off pre-compiled headers. ... >VC++6 ClassWizard will only work with MFC derived classes and only certain ... my own and imported a few that did show up in the class wizard. ... I assume that the first error promotes the second two. ...
    (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)