Click here to Skip to main content
15,923,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: new to dlls! Pin
Chris Gao20-Mar-06 16:07
Chris Gao20-Mar-06 16:07 
AnswerRe: new to dlls! Pin
Abebe20-Mar-06 20:07
Abebe20-Mar-06 20:07 
AnswerRe: new to dlls! Pin
#realJSOP21-Mar-06 7:26
professional#realJSOP21-Mar-06 7:26 
QuestionAccess Violation !! Pin
sottos20-Mar-06 11:28
sottos20-Mar-06 11:28 
QuestionOutputs in bold form... Pin
yonis 1120-Mar-06 8:36
yonis 1120-Mar-06 8:36 
AnswerRe: Outputs in bold form... Pin
Stephen Hewitt20-Mar-06 11:38
Stephen Hewitt20-Mar-06 11:38 
GeneralRe: Outputs in bold form... Pin
Chris Gao20-Mar-06 16:22
Chris Gao20-Mar-06 16:22 
QuestionChoosing an architecture. Pin
belkhal20-Mar-06 8:20
belkhal20-Mar-06 8:20 
Hello community!

I've recently taken on a new task of rewritting an old control panel (originally written w/ Borland). The basic idea is to do the following:

-Read control settings from a database
-Dynamically create multiple forms based on the database
-Dynamically populate multiple controls on the forms
-Changes/updates to the control are taken from RAM on a PCI device.
-Beyond manipulating controls, I have to communicate some data over RS232 and Ethernet (basically, I need to write a terminal program).

The task seems simple, but I'm a programmer from a more embedded/unix world. My experience in VC only goes as far as the extent of one of those "Learn VC in 21 days" type books.

The main difficulty I'm having right now, is overcoming the learning curve to the MFC. Since my application is primarily form based, it would seem logical to use a simple Dialogs Application - however, I've been toying with the idea of using the Doc/View architecture with multiple CFormViews. I can see some benefit of using the MDI interface and binding each of the my control panels to a seperate CDocument. I would, however, need to instantiate each of these CDocuments and CFormViews dynamically, as their properties/content depend entirely upon the database.

Any insight you could provide to help me choose an architecture and get me started along the right direction is appreciated.

Thanks!
Embedded
QuestionGetting a Pointer to DC from Document Pin
signbit20-Mar-06 7:11
signbit20-Mar-06 7:11 
AnswerRe: Getting a Pointer to DC from Document Pin
Iain Clarke, Warrior Programmer20-Mar-06 8:36
Iain Clarke, Warrior Programmer20-Mar-06 8:36 
GeneralRe: Getting a Pointer to DC from Document Pin
signbit20-Mar-06 17:35
signbit20-Mar-06 17:35 
QuestionSaving from a dialog box Pin
amanoullah20-Mar-06 6:41
amanoullah20-Mar-06 6:41 
AnswerRe: Saving from a dialog box Pin
Richard Kock20-Mar-06 6:53
Richard Kock20-Mar-06 6:53 
AnswerRe: Saving from a dialog box Pin
Maximilien20-Mar-06 6:58
Maximilien20-Mar-06 6:58 
AnswerRe: Saving from a dialog box Pin
Ștefan-Mihai MOGA21-Mar-06 1:11
professionalȘtefan-Mihai MOGA21-Mar-06 1:11 
QuestionObtaining the text from active VC IDE source-code window Pin
Virtek20-Mar-06 6:11
Virtek20-Mar-06 6:11 
QuestionSSL? Pin
dandy7220-Mar-06 5:58
dandy7220-Mar-06 5:58 
AnswerRe: SSL? Pin
Rob Caldecott20-Mar-06 6:15
Rob Caldecott20-Mar-06 6:15 
GeneralRe: SSL? Pin
dandy7220-Mar-06 7:24
dandy7220-Mar-06 7:24 
AnswerRe: SSL? Pin
valikac20-Mar-06 10:14
valikac20-Mar-06 10:14 
GeneralRe: SSL? Pin
dandy7220-Mar-06 10:51
dandy7220-Mar-06 10:51 
Questiondll Pin
ss200620-Mar-06 5:57
ss200620-Mar-06 5:57 
AnswerRe: dll Pin
toxcct20-Mar-06 6:03
toxcct20-Mar-06 6:03 
Questionoverloading IpropertyPage part of COlePropertyPage Pin
norbert_barbosa20-Mar-06 5:39
norbert_barbosa20-Mar-06 5:39 
Questionoverloading IpropertyPage part of COlePropertyPage Pin
norbert_barbosa20-Mar-06 5:30
norbert_barbosa20-Mar-06 5:30 

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.