Home > Software engineering >  How to compile the lib files for DLLS are available, and use of other languages?
How to compile the lib files for DLLS are available, and use of other languages?

Time:10-19

Under the first statement, I just contact vs2012, has now been created..lib file and are available
. How do I put the lib files, or use vs2012, generate a Dll, because I want to use other languages, can't use lib...

My small white, I wish a great god, many talk about the details, thank you very much

CodePudding user response:

http://jingyan.baidu.com/article/a24b33cd54fdbb19ff002b71.html

CodePudding user response:

reference 1st floor zgl7903 response:
http://jingyan.baidu.com/article/a24b33cd54fdbb19ff002b71.html
hello, I can't compile lib for DLL is, not the DLL cannot be used for other languages!

CodePudding user response:

The project properties in configuration type changed to dynamic library DLL

CodePudding user response:

Lib is supposed to be similar to a DLL library, cannot be compiled into a DLL!

CodePudding user response:


Want to generate DLL is very simple, just to change the project properties, but want to call by other language, there is a lot of work to do,
1. The function have no? To be exported to other language called function through __declspec (dllexport) or def file export,
2. The exported function parameters and return values are what type, if it is STD: : string not decisive, such as to change WindowsAPI, are the basic C type, can be most other language calls,
  • Related