Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I want to setup VC++ (using 2005, but that doesn't really matter) so that it makes it easy to do modular development. By that, I mean I want to create generic modules like CString, CPath which I can then use in all my projects. One way to do it would be develop all classes as single header files. These could then be put in a single folder called "Modules", with the path to this folder added to the INCLUDE search path of VC++. Each project could then just #include the modules header in each source file that used it.

A slight difference would be to create classes as a .c and .h file, and then just add these to each project that needed the module. Again, each project could then just #include the modules header in each source file that used it.

Another way, would be to compile the modules into .lib files which would then placed in a "Modules" folder along with the corresponding header file, with the path to this folder added to the LIB and INCLUDE search paths of VC++. This method has the advantage that complex modules can be developed consisting of multiple source files, which then compile to a single .lib file with a corresponding single interface header file.

Maybe a combination of the above methods, each depending on the complexity of the module being developed, would be the best way to go.

I'd be interested in hearing other people's opinions on the best/most efficient way to set up the development environment (IDE, folder structure, etc.) for this kind of modular development, including advantages and disadvantages of certain methods.

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 & 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 

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.