Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / January 2005

Tip: Looking for answers? Try searching our database.

C++ project  -->  compile to a dll

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jwk - 27 Jan 2005 15:27 GMT
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
produce a dll), is there any other way to include it in my asp.net project??
Richard Merrett - 31 Jan 2005 23:52 GMT
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.
> 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
[quoted text clipped - 6 lines]
> produce a dll), is there any other way to include it in my asp.net
> project??

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.