robi-y
robi-y

Reputation: 1717

Exporting member function of a static library

Is it possible (or relevant at all) to export member functions of a static library? When I "dumpbin /EXPORTS" my .lib file I don't see any of my defined class members.

Upvotes: 0

Views: 2543

Answers (1)

doron
doron

Reputation: 28882

A static library is just a collection of .o files. This is then linked into your executable in exactly the same way as .o files so whatever works for .o files will work for static libraries.

Upvotes: 5

Related Questions