If any one has the same Linker problem:
The solution is: Put CRemotePlay.cpp file (#include “RemotePlay.cpp”) in CSpaceWarClient.h file
I can’t explain why but RemotePlay.h file can’t find its implementation file
If any one has the same Linker problem:
The solution is: Put CRemotePlay.cpp file (#include “RemotePlay.cpp”) in CSpaceWarClient.h file
I can’t explain why but RemotePlay.h file can’t find its implementation file
Alternatively, you can check to see whether the RemotePlay.h and RemotePlay.cpp files are missing in the Solution Explorer list. For my project, neither file existed in the list, and I received the unresolved externals error. This is generally a result of VS failing to build the code in the source file containing the function definitions (since they weren’t listed as part of the project).
missing RemotePlay.cpp:
added RemotePlay.cpp: