473,616 Members | 2,973 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HOW DO I...Automatical ly incorporate a source-code library

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
Nov 17 '05 #1
1 1310
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

"Javier Estrada" <lj*******@hotm ail.com> wrote in message
news:eW******** ******@TK2MSFTN GP09.phx.gbl...
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

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2226
by: netsurfer | last post by:
Hi: Have a question on making the date automatically filled in by what the user enters in by the date at the top. The date entered at the top would most likely be on a Wednesday then I need to have all the prior dates pop in. Example: User enters 2/9/05 in the date field at the top being a Wednesday...I need the dates at the bottom to be filled in automatically, respectively as 2/3/05, 2/4/05, 2/5/05, 2/6/05, 2/7/05, 2/8/05, 2/9/05...
0
1458
by: Michel | last post by:
I was successfully able to compile and incorporate an HTML Help file into my Access database. However, the only way that I was able to do this was by repeating the name of the HTML Help file (dbHelp.chm) in each form's properties and assigning it a different context ID. The context IDs are contained in a "header" file that was also compiled into the final Help file. There is a way to add a HTML Help file for the entire project within the...
2
6557
by: Earl Anderson | last post by:
Reading Google archives, I found a quick and simple solution from Allen Browne of having a "Day of Week" textbox automatically filled from a separate date field textbox. I put the function { =Format(, "dddd") } into the Control Source of the Day of the Week textbox, removing the previous 'lookup values' (Sunday - Saturday) that I had in the Control Source. When I tried it, 'Nothing' happened. When I entered a date into textbox and...
6
6989
by: Jozef | last post by:
Hello, Is there any way to automatically create an ODBC data source if it doesn't already exist? I'd like to deploy this program on workstations that I may not have access to, and don't want to rely on the user for any technical expertise. Is there any way to do that? Thanks!
11
1555
by: Kevin | last post by:
I have a problem I'm trying to figure out how to resolve in Access. I have a volunteer database for a project which occurs each year. Currently I have to go in and wipe out the data each year to start new. I want to somehow be able to incorporate the year's info into the database. For instance, keep 2005's information, and add 2006's. So next year I can pull up 2005 and say "oh yeah, so-and-so participated that year". Any ideas? ...
1
2552
by: Curtis | last post by:
I am having a problem with the coding below that someone was trying to help me with in another website. I have been to several websites and hopefully here I can get it resolved. I inherited this database and issue, and I apologize for a bit lengthy. The coding is located in the Event Procedure on the "On Open" property of the {rptLetter}: Sub cmdPrint_Click() 'Check if no results in any field, if all missing 'inform user and exit...
31
8590
by: smachin1000 | last post by:
Hi All, Does anyone know of a tool that can automatically analyze C source to remove unused #includes? Thanks, Sean
1
2011
by: sassy | last post by:
.....how can i incorporate videos on website using flash??
1
1152
by: jakorando | last post by:
describe the steps followed to incorporate an ActiveX components in visual basic
1
1401
by: Cage26 | last post by:
First, I need to rewrite the program to incorporate functions. And there should be a value returning function that returns an int that the user entered. It will be called 5 times, once for each integer input. After I compile the program, I need to modify the program again and replace the output statements with a call to a non-value returning function PrintAvg( ) that takes one parameter which is the calculated average. The function should...
0
8203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8297
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7121
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5550
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4063
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4141
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.