Building off .obj file

I need help with a .obj file I was given in my class. The professor included a Explorer.h and a Explorer.obj file in the project folder. We are supposed to extend this class to a derived class BattleExplorer. I understand that an .obj file is a precompiled class, however whenever I try to include it in my project I get fatal link error..
LNK1313: pure module detected; cannot link with ijw/native module

I'm confused on how to include this .obj, and how to build the project to where I can use the functions out of this class.
You don't include the .obj, you just have to link it at the end.

Just use the .h to write your code, compile your code to .obj files, then link all the .obj files at the end.
How do you link the files at the end?
I get what your saying, just confused on how to actually do that. I'm using VS 2008.
Last edited on
Topic archived. No new replies allowed.