Click here to Skip to main content
15,893,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Big int Pin
Joe Woodbury26-Apr-06 8:39
professionalJoe Woodbury26-Apr-06 8:39 
GeneralRe: Big int Pin
Maximilien26-Apr-06 10:20
Maximilien26-Apr-06 10:20 
GeneralRe: Big int Pin
Rilhas29-Apr-06 14:22
Rilhas29-Apr-06 14:22 
AnswerRe: Big int Pin
Jörgen Sigvardsson26-Apr-06 12:12
Jörgen Sigvardsson26-Apr-06 12:12 
Questionan embarassing question about #include Pin
Waldermort26-Apr-06 7:46
Waldermort26-Apr-06 7:46 
AnswerRe: an embarassing question about #include Pin
Chris Losinger26-Apr-06 10:51
professionalChris Losinger26-Apr-06 10:51 
AnswerRe: an embarassing question about #include Pin
Wes Aday27-Apr-06 4:43
professionalWes Aday27-Apr-06 4:43 
AnswerRe: an embarassing question about #include Pin
Rilhas29-Apr-06 14:30
Rilhas29-Apr-06 14:30 
I have that same problem very often, since I always generate lib files, which sometimes come from various libs and sources from the start. So I frequently need to merge ".h" files together, in order to get a single ".lib"+".h" pair.

The solution is very simple. The DOS command "copy" can be used to copy multiple files together. The line "copy a.h+b.h+c.h d.h" will copy "a, "b", and "c" into "d". You can automate the copy process by typing it in the "Post-build step" (or post build event in VC8). If you do that, then everytime you build your project the files will be merged automatically.

That works fine if the files you are merging include only system files. If they include specific files then you must remove the inclusion statements. I created a program to do text replacements inside text files, so I add it to the post build step to replace #include " by //#include " (I use the " to diferentiate from #include <, which should not be removed). Putting the replace application in the path makes it easy to do this in all my projects.

Rilhas
QuestionHow I can Get DLL Version Number from resource file Pin
jinzhecheng26-Apr-06 7:32
jinzhecheng26-Apr-06 7:32 
AnswerRe: How I can Get DLL Version Number from resource file Pin
Michael Dunn26-Apr-06 7:39
sitebuilderMichael Dunn26-Apr-06 7:39 
QuestionRe: How I can Get DLL Version Number from resource file Pin
David Crow26-Apr-06 7:44
David Crow26-Apr-06 7:44 
AnswerRe: How I can Get DLL Version Number from resource file Pin
jinzhecheng28-Apr-06 14:11
jinzhecheng28-Apr-06 14:11 
Question3D graphics Pin
Gagnon Claude26-Apr-06 7:24
Gagnon Claude26-Apr-06 7:24 
QuestionBest way to setup environment for modular development ? Pin
Defenestration26-Apr-06 7:14
Defenestration26-Apr-06 7:14 
AnswerRe: Best way to setup environment for modular development ? Pin
Blake Miller26-Apr-06 7:25
Blake Miller26-Apr-06 7:25 
AnswerRe: Best way to setup environment for modular development ? Pin
Rilhas29-Apr-06 15:06
Rilhas29-Apr-06 15:06 
QuestionHandling asynchronous I/O Pin
logicaldna26-Apr-06 6:24
logicaldna26-Apr-06 6:24 
QuestionCTreeCtrl selection problem Pin
RoyceF26-Apr-06 5:57
RoyceF26-Apr-06 5:57 
AnswerRe: CTreeCtrl selection problem Pin
includeh1026-Apr-06 6:16
includeh1026-Apr-06 6:16 
GeneralRe: CTreeCtrl selection problem Pin
RoyceF26-Apr-06 7:15
RoyceF26-Apr-06 7:15 
GeneralRe: CTreeCtrl selection problem Pin
RoyceF26-Apr-06 7:17
RoyceF26-Apr-06 7:17 
QuestionCFileDialog & GetOpenFileName Pin
RobJones26-Apr-06 5:24
RobJones26-Apr-06 5:24 
QuestionRe: CFileDialog & GetOpenFileName Pin
David Crow26-Apr-06 6:06
David Crow26-Apr-06 6:06 
AnswerRe: CFileDialog &amp; GetOpenFileName Pin
RobJones26-Apr-06 6:18
RobJones26-Apr-06 6:18 
AnswerRe: CFileDialog & GetOpenFileName Pin
RobJones26-Apr-06 6:42
RobJones26-Apr-06 6:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.