Conversion to Visual C++ .2005 and LNK2001

Hi,

I have just installed Visual C++ 2005.
I have aproject that was developed on Visual C++ 6.0, it was compiled and ran.

Note that I didn't install Visual C++ 6.0 in the PC which has VC2005(in case that may be related to the problem), nor do I plan to do so.
However, on Visual C++2005 , I get the following linker errors:

Project 1:
error LNK2001: unresolved external symbol "public: static strcut
CRuntimeClass const CObject::class
CObject"(?classCObject@CObject@@2UCRuntimeClass@@B)

( I'm guessing the error above has something to do with my usage of the RUNTIME_CLASS macro, but this worked before)

( But again, this was not a problem in Visual C++ 6.0)

Does anyone have any suggestions on how I can fix these problems?

Thanks,

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories