Click here to Skip to main content
15,889,528 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Detecting a right way to use variables in .Net Pin
Ray Cassick7-Nov-10 21:10
Ray Cassick7-Nov-10 21:10 
GeneralRe: Detecting a right way to use variables in .Net Pin
Dave Kreskowiak8-Nov-10 1:35
mveDave Kreskowiak8-Nov-10 1:35 
AnswerRe: Detecting a right way to use variables in .Net Pin
GParkings2-Sep-11 3:08
GParkings2-Sep-11 3:08 
QuestionDesign & Architecture Help Pin
dsrao4-Nov-10 12:30
dsrao4-Nov-10 12:30 
AnswerCROSSPOST Pin
Dave Kreskowiak4-Nov-10 14:55
mveDave Kreskowiak4-Nov-10 14:55 
Questiontool for real time graph plotting.. Pin
jainiraj27-Oct-10 1:22
jainiraj27-Oct-10 1:22 
AnswerRe: tool for real time graph plotting.. Pin
Eddy Vluggen28-Oct-10 9:40
professionalEddy Vluggen28-Oct-10 9:40 
QuestionModularizing Help Pin
Aaronov21-Oct-10 18:38
Aaronov21-Oct-10 18:38 
I was told I should probably ask this here, even though it relates to MFC, it is probably more a design question. So,

At my workplace we have a number of programs (sub systems) which make up our software. Some of these programs need functionality from other programs and I'm trying to find a good way to perhaps modularize each program so that common code/resources can be used "globally". The current example forcing me to find a solution is the need to launch a dialog from our Accounting package from another sub system. The big problem is that this is quite a large dialog and depends a lot on things from the Accountings MainFrame.

I was thinking that for each sub system I could create a DLL which contained common dialogs, etc that could be used by other programs. The problem I face is that a lot of the dialogs have dependencies on their parent programs MainFrame and I'm not sure how to get around it. I guess one solution might be to take everything out of the MainFrame and put it into its own class which can then be passed to the DLL.. but I don't even know if that would work as I still need to Initialise this new class the same way it would be done in the parents program, but now in the other sub system.. though in saying that the DLL should probably be responsible for setting itself up.

Your thoughts?

Cheers
AnswerRe: Modularizing Help Pin
Eddy Vluggen23-Oct-10 4:49
professionalEddy Vluggen23-Oct-10 4:49 
GeneralRe: Modularizing Help Pin
Aaronov24-Oct-10 12:11
Aaronov24-Oct-10 12:11 
GeneralRe: Modularizing Help Pin
Richard Andrew x6424-Oct-10 15:01
professionalRichard Andrew x6424-Oct-10 15:01 
QuestionProductivity to a grinding hault Pin
DavidKiryazi17-Oct-10 18:14
DavidKiryazi17-Oct-10 18:14 
AnswerRe: Productivity to a grinding hault Pin
Alegria_Lee18-Oct-10 3:58
Alegria_Lee18-Oct-10 3:58 
GeneralRe: Productivity to a grinding hault Pin
DavidKiryazi18-Oct-10 15:44
DavidKiryazi18-Oct-10 15:44 
GeneralRe: Productivity to a grinding hault Pin
Ray Cassick26-Oct-10 17:42
Ray Cassick26-Oct-10 17:42 
GeneralRe: Productivity to a grinding hault Pin
Ravi Sant4-Nov-10 10:12
Ravi Sant4-Nov-10 10:12 
AnswerRe: Productivity to a grinding hault Pin
Eddy Vluggen18-Oct-10 8:12
professionalEddy Vluggen18-Oct-10 8:12 
GeneralRe: Productivity to a grinding hault Pin
DavidKiryazi18-Oct-10 15:52
DavidKiryazi18-Oct-10 15:52 
AnswerRe: Productivity to a grinding hault Pin
Ravi Sant4-Nov-10 10:18
Ravi Sant4-Nov-10 10:18 
AnswerRe: Productivity to a grinding hault Pin
RobCroll26-Dec-10 4:25
RobCroll26-Dec-10 4:25 
GeneralRe: Productivity to a grinding hault Pin
GParkings2-Sep-11 3:17
GParkings2-Sep-11 3:17 
GeneralJob Application Design Pin
hussain.attiya11-Oct-10 3:32
hussain.attiya11-Oct-10 3:32 
GeneralRe: Job Application Design Pin
hussain.attiya12-Oct-10 19:36
hussain.attiya12-Oct-10 19:36 
GeneralRe: Job Application Design Pin
Mycroft Holmes13-Oct-10 1:17
professionalMycroft Holmes13-Oct-10 1:17 
GeneralRe: Job Application Design Pin
hussain.attiya17-Oct-10 3:17
hussain.attiya17-Oct-10 3:17 

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.