tags:

views:

1294

answers:

2

I have a library (lib file + .h header file). I like to turn it into a DLL so I can easiliy use it in VB6. Is there a convenient way to do this?

+1  A: 

See http://stackoverflow.com/questions/845183/convert-static-windows-library-to-dll

anon
Why isn't this question closed since it clearly is a duplicate question?
Magnus Skog
Um, because nobody has yet voted to close it, I guess?
anon
Questions are closed after they receive 5 closing votes. I've cast one.
JesperE
A: 

Simply include the header file an a .def file in a new dll project and link it with the static lib.

The details of how to export symbols with a def file are here http://msdn.microsoft.com/en-us/library/d91k01sh(VS.80).aspx

iain