S
SDI_Pgmr
Guest
I'm upgrading a C++/C solution from VS2010 to VS2017. I have one project (from old MS ctl3d code base) that does not want to link. It does when I use the old .mak file but not using the project in the IDE or NMAKE. (Yes, we maintain 3 ways of compiling.) I get a linker error LNK2001 on the dllEntryPoint and also a .exp error LNK2001: unresolved external symbol on all of the functions that should be exposed.
The only changes in the .vcxproj file are the changes needed for ToolsVersion PlatformToolset and the additional WindowsTargetPlatformVersion. But I did these same changes with all 377 other projects without issues.
I used dumpbin on the .exp and it is virtually the same as the 2010 version. I also tried adding the .obj files to the Additional Dependencies. Although it produced warnings later, it did create the .dll. Unfortunately it didn't work correctly.
The project was fine with VS2010. I cannot figure out what I need to do to fix this issue.
Thanks in advance to your help.
Continue reading...
The only changes in the .vcxproj file are the changes needed for ToolsVersion PlatformToolset and the additional WindowsTargetPlatformVersion. But I did these same changes with all 377 other projects without issues.
I used dumpbin on the .exp and it is virtually the same as the 2010 version. I also tried adding the .obj files to the Additional Dependencies. Although it produced warnings later, it did create the .dll. Unfortunately it didn't work correctly.
The project was fine with VS2010. I cannot figure out what I need to do to fix this issue.
Thanks in advance to your help.
Continue reading...