Click here to Skip to main content
15,894,145 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: an embarassing question about #include Pin
Rilhas29-Apr-06 14:30
Rilhas29-Apr-06 14:30 
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 
I put the CPP and H files into a separate folder called 'Common' or 'Shared'.
I add the path to this folder to the resource and general includes tabs for each project using one of the shared files.

Now, the reason I don't make them into libs, is that there are different project settings galore these days - debug, release, debug multi-threaded, release-multithreaded, unicode, mbcs, straight ASCII, etc. and a scad of optimizations.

So, you would need MANY different potential LIBS to be used in different projects.

So, I just find it easier for each project to just include the 'source' for each module it needs.

The disadvantage is that if you use something like serialization and one executable module (writing) is out of synch with another (reading), for example, you could end up with some strange run-time issues. But then, serialization should be performed in a DLL which they both share, to avoid such an issue in the first place.


People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks
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 & 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 
AnswerRe: CFileDialog & GetOpenFileName Pin
RobJones26-Apr-06 7:16
RobJones26-Apr-06 7:16 
AnswerRe: CFileDialog & GetOpenFileName Pin
RobJones26-Apr-06 7:58
RobJones26-Apr-06 7:58 
QuestionRe: CFileDialog & GetOpenFileName Pin
David Crow27-Apr-06 2:45
David Crow27-Apr-06 2:45 
GeneralRe: CFileDialog & GetOpenFileName Pin
David Crow27-Apr-06 9:41
David Crow27-Apr-06 9:41 
GeneralRe: CFileDialog & GetOpenFileName Pin
RobJones27-Apr-06 9:50
RobJones27-Apr-06 9:50 
GeneralRe: CFileDialog & GetOpenFileName Pin
RobJones1-May-06 3:55
RobJones1-May-06 3:55 
QuestionSystem sound volume on WinCE Pin
KellyR26-Apr-06 5:15
KellyR26-Apr-06 5:15 

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.