Monday 15 August 2011

visual c++ - fatal error LNK1120: 1 unresolved externals -


I can do to solve it, when I compile your source so I get the error

  News .exe: fatal error LNK1120: 1 unresolved EditString.obj: error LNK2019: unresolved external symbol "public: void __thiscall CEditString :: ParsingString (char const *, unsigned long, unsigned long, unsigned short class ATL :: CStringT & LT; four square StrTraitMFC & LT; four class ATL :: ChTraitsCRT & LT; four & gt; & gt; & gt; & amp ;, class CDWordArray & amp ;, bridesmaid C CByteArray &, class CWordArray & amp;?, Unsigned long) "(ParsingString @ CEditString @@ QAEXPBDKKGAAV $ CStringT @DV $ StrTraitMFC @ DV $ ChTraitsCRT @ D @ ATL @@@@ ATL @@AAVCDWordArray @@AAVCByteArray @@ AAVCWordArray @@ K @ Z) function referred to "public? void __thiscall CEditString :: AddParsingString (char const *, unsigned long to unsigned long, unsigned short, unsigned long)" (? AddParsingString @ CEditString @@ QAEXPBDKKGK @ Z)    

your Number If class CEditString has been applied in an o Then add the source file to the source files in your project.

If the class CEditString has been implemented in a library (.LIB), then add the library to your project. If Class CEditString is implemented in a DLL, then add the Import Library to your project. In the latter two cases, verify that you have included correct and unchanged header files that match the exported symbols. You can use dumpin to see the exported symbols of Lib and DLL.

No comments:

Post a Comment