C# DLL for C++

Mar 5 2007 6:36 AM
May be my question can be found in documentation, but I've searched everywhere I can and got no results. I write a module for working with graphics of System.Drawing that has less limits of bitmap size than gdiplus namespace for C++. But the whole existing programm is in C++. So I need to create in C# a DLL and use it in C++. As I've read C++ to use DLL requires a lib-file for static linking (using dynamic one seems to me to make finding all errors almost eternal). But everywhere I've found nothing about how to make C# compiler (VS 2005) create a lib-file. Tell me please how to generate this file. Also it'll be good to generate automatically H-file because it'll save the time to find errors if I create it manually.

Answers (1)