quote:
Originally posted by feline
i have confirmed that something is odd. using a small .NET 2003 project i have copied one of my .h files to a .i file. i then added this to the project, and went through the steps in the FAQ to tell VAX to recognise this as a header file.
I'm still having this problem with 1422. Is there any info from support on whether the steps to add .i files are wrong, or if there's any other way to get VAX to recognize alternate extensions as headers?
Thanks,
Wes
PS - here is a very simple console app that reproduces the problem:
-- Interface.i --
class IInterface { public:
static IInterface* Get() {return 0;}
virtual void Foo() = 0;
virtual void Bar() = 0;
};
-- Interface.h --
#include "Interface.i"
class Interface : public IInterface { public:
virtual void Foo() {}
virtual void Bar() {}
};
-- main.cpp --
#include "Interface.h"
int main() {
// IInterface doesn't get any intellisense
IInterface::Get()->Foo(); return 0;
}