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 / Languages / Managed C++ / May 2004

Tip: Looking for answers? Try searching our database.

HOW DO I...Automatically incorporate a source-code library

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Javier Estrada - 14 May 2004 18:05 GMT
I have a source-code library, that provides header and source files (similar
to MFC).

What would be a good way to automatically incorporate it into other
projects?

The way I do it today is by appending it to the list of include directories
and adding each source file to the project, but this is time consuming--and
error prone.

Regards,

Javier
Alek Davis - 14 May 2004 21:59 GMT
Javier,

One option would be to build your code as a static library (.lib file). Then
you can put the appropriate header and library files to the dedicated
folders and these folders to Visual Studio settings. After you do this, the
only things you will need to do in the projects that use this library are:
(1) add #include directives for the header files and (2) add .lib files to
the project. Alternatively (to the static library), you can create a shared
DLL, but you will need to deploy this DLL with your applications, which may
be a hassle.

Alek

> I have a source-code library, that provides header and source files (similar
> to MFC).
[quoted text clipped - 9 lines]
>
> Javier

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.