Home > Software engineering >  CTP C of the previous period error LNK2001
CTP C of the previous period error LNK2001

Time:10-04

Ask a question:
I try to create a new win32 application, import the previous CTP libraries and header files, demo and modelled on the market to do an exercise, the result is always to quote the following error:
The Error LNK2001 unresolved external symbol "class CThostFtdcMdApi * pUserApi" (? PUserApi pavcthostftdcmdapi @ @ @ @ 3 A)
The Error LNK2001 unresolved external symbol "char * BROKER_ID (?" BROKER_ID @ @ 3 pada)
,,,
Could you tell me where I might be wrong? I am using vs2015 + 7
thank you

CodePudding user response:

Whether to need to contain what library?

CodePudding user response:

Is not loaded into the engineering related lib library?

CodePudding user response:

Project, properties, linker, regular, additional libraries directory: fill in the attached dependent libraries directory semicolon interval multiple
Project, properties, linker, input, additional dependencies: fill in the name of the additional dependent libraries. Lib Spaces or a semicolon between multiple

CodePudding user response:

Library.lib file does not have the right configuration to the project Settings,
  • Related