When creating a static library, VC++ 6 generates several .obj files and one
.lib file. Besides adding the header file of the library into the client
project, which other files should be also included into the client project
so that the class defined in the static library can be used by the client?
Thanks!

Re: Create static library by Guido

Guido
Fri Apr 23 03:08:13 CDT 2004

Nothing else, you only need the header files and the lib.



Re: Create static library by Cyrille

Cyrille
Fri Apr 23 03:20:17 CDT 2004

No extra files are needed, but you need to add the library to the linker
settings
of the client project

Project Settings-> Link, Object/library modules : add your lib there.

Cyrille Dupuydauby

"Cupb" <cupb09@nais.com> a écrit dans le message de
news:eKu5V6PKEHA.3944@tk2msftngp13.phx.gbl...
> When creating a static library, VC++ 6 generates several .obj files and
one
> .lib file. Besides adding the header file of the library into the client
> project, which other files should be also included into the client project
> so that the class defined in the static library can be used by the client?
> Thanks!
>
>