linking error
-
Hi, I just swtiched to the .NET for my programming. I have an error for my first Visual C++ .Net project: error LNK2001: unresolved external symbol "public: __thiscall TEnv::TEnv(float)" (??0TEnv@@$$FQAE@M@Z) What I did is the following: 1. Open a blank solution. 2. Add a new project Test (Managed C++ Application) 3. Add another new project TObject (Managed C++ Class Library) 4. Define a class TEnv in the TObject with the constructor TEnv(float t), but this constructor is implemented in the .cpp file. Then I begin to use class TEnv in the main() function inside project Test... I got this error. I am afraid the project setting is wrong, but I haven't be able to figure out why. It works in the good old days in Visual Studio... Thanks, and Merry Xmas!