Home > Software engineering >  The great god for help, how to use the SDK in vs2013 secondary development kit??
The great god for help, how to use the SDK in vs2013 secondary development kit??

Time:10-11

RT! SDK in the secondary development kit. H file, the DLL and. Lib file, I really want to be crazy! A great god for help!

CodePudding user response:

The SDK generally have a Demo, change according to the Demo

CodePudding user response:

But only the demo. Exe can change ah,,,,,,,,,,

CodePudding user response:

Look at him first in the h file interface, can probably guess how to do

CodePudding user response:

Project, properties, C/C + +, additional include directories: fill in the attached header file directory semicolon interval multiple
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:

Include the header file to the project, be familiar with the parameters of the called function such as information,
The lib link configuration in engineering properties, the DLL into exe a directory, and then in the code can call the SDK functions

CodePudding user response:

reference 5 floor oyljerry reply:
include the header file to the project, familiar with the information such as the parameters of the called function,
The lib link configuration in the project properties, DLL in exe a directory, then code can invoke the SDK as a function of the

A great god, the above two brother said I can't, this is I didn't understand you? Can you tell me about specific steps? Thank you very much!

CodePudding user response:

In addition to the upstairs said, you can use the program stdafx. H file header file lib to introduce to


The following form
 
#include
# pragma comment (lib, "XXX. Lib")


If the above documents can't find the specific path to find files in double quotation marks position include
 
# include ", xx, xx, XXX. H "

# pragma comment (lib, "../xx/xx/xxxlib ")


Compile and see what is not added, can not find a file is wrong path

CodePudding user response:

To find the original manufacturer didn't have the use of VC example or related document

CodePudding user response:

4 l 7 l have said how to call the library in the see the SDK demo how to use is very simple

CodePudding user response:

Hello, your problem solved?

CodePudding user response:

Said to come in to the demo source code
  • Related