all groups > visual studio .net general > january 2005 >
You're in the

visual studio .net general

group:

C++ project --> compile to a dll


C++ project --> compile to a dll jwk
1/27/2005 7:27:03 AM
visual studio .net general:
I've been given a C++ class library project which I need to use from my
asp.net vb.net project. I have tried building the C++ class library it but it
only creates a series of .obj files which I can't reference from the asp.net
project. How do I get the C++ class library to compile to a dll (I've played
around with the properties of the project but it still doesn't seem to
Re: C++ project --> compile to a dll Richard Merrett
1/31/2005 11:52:43 PM
Hi,
I assume you are talking about C++ .NET project? In VS2003 IDE go to
'Solution Explorer' and right click the solution name (this will appear in
bold, usually above the references folder). After right-clicking select
'properties'. When the properties window appears, navigate to 'Config
Properties...General' and there will be an option called 'configuration
type'. Change this to 'Dynamic Library (.dll)' and then click OK and build
the solution. The only thing to watch for is that you have selected the
'active' build configuration in the properties window dialog box. You will
see the current selection at the top of the window and it will say something
like 'Active(debug)' or 'Active(release)' depending on which configuration
you are trying to build. Once the solution is built there should be a dll
file in the solution folder which you can reference in your VB project.

Richard.
[quoted text, click to view]

AddThis Social Bookmark Button