In learning, ivorhorton vs2013 introduction classic chapter 17 after serialization code to run the problem cannot resolve the external symbol, consult how to solve?
CodePudding user response:
In the baidu search "LNK2019"
CodePudding user response:
reference 1/f, zhao teacher reply: in baidu search "LNK2019" Baidu said to add a library file, can't find the CreateObject () function belongs to which the library files CodePudding user response:
DECLARE_SERIAL IMPLEMENT_SERIAL CodePudding user response:
The reference 3 floor zgl7903 response: DECLARE_SERIAL IMPLEMENT_SERIAL The two macros I added, deleted can compile, but does not implement serialization CodePudding user response:
Finally to build project, the whole program to do it again, the same code, not a problem, or want to ask why? CodePudding user response:
For a long time didn't rebuild all of the project, under the precompiled header file system retains the old code statements correspond to some of the assembly instruction, lead to can't execute debugging new statements corresponding assembly instruction function, I guess, CodePudding user response:
refer to 6th floor 4 teacher zhao response: for a long time didn't rebuild all of the project, under the precompiled header file system retains the old code statements correspond to some of the assembly instruction, lead to can't execute debugging new statements corresponding assembly instruction function, I guess, Maybe, thank you for your advice