all groups > visual c libraries > march 2007 >
You're in the

visual c libraries

group:

how to use a static library in VS2005 ???


how to use a static library in VS2005 ??? Chris
3/25/2007 7:55:26 AM
visual c libraries:
Hi,

Using Visual Studio 2005 :

I create a project of type "Win32 Console Application" type 'Static Library' and add the code of a class (named Car) I've been using in earlier version of Visual Studio, the class is written in standard C++ !!
I build without problems

Then from a client Win32 Console Application (standard C++) , I add the compiled lib-code to the client project but get compiler errors ??

The client doesn't know the definition of the class (Car) ??

How can I solve this ?

thanks
Re: how to use a static library in VS2005 ??? David Lowndes
3/25/2007 3:59:53 PM
[quoted text, click to view]

Chris,

What are the errors?

[quoted text, click to view]

Have you included the header file that contains the definition?

AddThis Social Bookmark Button