tags:

views:

51

answers:

2

i have a code which is compiling into dll but i want it to compile is as lib file .

Compiler visual c++ 6 (using commmad line)

any ideas ??

A: 

Use a 'Win32 Static Library' project for that.

logicnp
A: 

When you create a new project you have the option to create a Win32 Static Library.

Having just created one to check the options I see that the tabs on the project settings dialog are different to those for DLL project.

Your best bet is to create a new project and copy the source files across. If you need the code to compile into both then you'll need to create the projects in the same directory (but with different names) or link the source from one directory to the other.

ChrisF