CodePudding user response:
Cannot resolve external symbol commonly there are two cases1. Link library without load
2. The library is wrong, such as library call specification (__thiscall is one of a kind of specification), or configure different (some libraries is win32, some are x64)
CodePudding user response:
May be both1, in. H file wrote DECLARE_DYNAMIC, not written IMPLEMENT_DYNAMIC in. CPP file
2, in. H file wrote DECLARE_DYNCREATE, but in. Write the IMPLEMENT_DYNCREATE CPP file no
CodePudding user response:
Do you have other projects to add CMScomm controls, if any, you try to manually add "mscomm1. CPP files to your project,CodePudding user response:
See if the two files with red mark, that is not loaded, select properties l bar there are true choice, loaded with respect to OK
CodePudding user response:
According to https://www.cnblogs.com/xiongjiaji/archive/2010/12/31/2476565.html to provide guidance, as follows:A check on the Internet and found the following Settings can be:
C/C + + | Language | Treat would be the as built - in type: yes? no?
By default, set to no,
]
Can be solved,
CodePudding user response:
IMPLEMENT_DYNAMIC DECLARE_DYNAMIC () () in respectively. H and. CPP in the statement, if only declaration DECLARE_DYNAMIC () the above mistakes will happen,