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
Chris
David Lowndes - 25 Mar 2007 16:59 GMT
>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 ??
Chris,
What are the errors?
>The client doesn't know the definition of the class (Car) ??
Have you included the header file that contains the definition?
Dave