Strange error...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ivan Debono

    Strange error...

    Hi all,

    I created an MFC exe using the wizard. The usual classes for App, Form and
    Doc. Then I added my own class (header too) which references d3d9.h &
    d3dx9.h. so far so good.

    then I wanted that my CMyView class inherits from the CView and CEngine (my
    added class), so I did something like this:

    class CMyView: public CView, public CEngine
    {
    }

    when I build, I get an error C2504 (or similar) which is base class
    'CEngine' undefined.

    Can someone please tell me what's wrong??

    Thanks,
    Ivan


Working...