Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes from Version 1 of ImportLibraries

Show
Ignore:
Author:
jcc7 (IP: 192.149.244.9)
Timestamp:
03/17/08 19:19:18 (16 years ago)
Comment:

added page

Legend:

Unmodified
Added
Removed
Modified
  • ImportLibraries

    v0 v1  
     1Import libraries provide the linker with information about functions from a .dll that might be used by a program. If you try to compile some code without a suitable import library, you could have a [Wiki4d:ErrorMessages/LinkerErrors linker error], such as: 
     2{{{ 
     3Error 42: Symbol Undefined _GetWindowInfo@8 
     4}}} 
     5 
     6Some import libraries are provided with the Digital Mars C++ compiler, but those .lib files have developed a reputation for being out-of-date. 
     7 
     8You might be able to use .lib files from another source, such as: [http://downloads.dsource.org/projects/dwt/dwt-win-importlibs.zip dwt-win-importlibs.zip] (for [/projects/dwt dwt-win], [Ng:digitalmars.D.dwt:933 announcement]) 
     9 
     10Import libraries can be created using [/projects/bindings/wiki/DefFiles .def files].