Click here to Skip to main content
15,897,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCRichEditCtrl and printing Pin
prithaa18-Feb-09 17:44
prithaa18-Feb-09 17:44 
AnswerRe: CRichEditCtrl and printing Pin
Stuart Dootson18-Feb-09 17:52
professionalStuart Dootson18-Feb-09 17:52 
QuestionTrying to create a Popup Window Pin
BobInNJ18-Feb-09 5:05
BobInNJ18-Feb-09 5:05 
AnswerRe: Trying to create a Popup Window Pin
prasad_som18-Feb-09 6:26
prasad_som18-Feb-09 6:26 
AnswerRe: Trying to create a Popup Window Pin
Iain Clarke, Warrior Programmer19-Feb-09 0:20
Iain Clarke, Warrior Programmer19-Feb-09 0:20 
QuestionModifying the window list and/or Ctrl+Tab behaviour in an MDI app Pin
Paul Vickery18-Feb-09 4:28
professionalPaul Vickery18-Feb-09 4:28 
AnswerRe: Modifying the window list and/or Ctrl+Tab behaviour in an MDI app Pin
led mike18-Feb-09 4:40
led mike18-Feb-09 4:40 
Questionmultiple dll Pin
pedefetoll18-Feb-09 3:08
pedefetoll18-Feb-09 3:08 
Context is C++, Visual C6

My application has to interface with two types of peripherals, with the same services :
For exemple, the service is :
void SetOutput( index, level) and

So my application do :
void MyApplicationFunc()
{
classPeripheral *p = new classPeripheral();

p->SetOutput( 0, 1);
}

I want to code TWO DLL in C++, with the same class interface, but driving two diffrents kind of peripherals.
For exemple
class cPeripheral
{
public :
cPeripheral();
void SetOutput( int Index, bool Level);
};

But each implementation have differents internal functions and variables in order to drive the specific peripheral.
So I want to have a good quality of code (no cast or void pointer), a good dependency resolution between the differents .dsp, and the possibility to change one DLL (DLL peripheral 1) by the other (DLL peripheral 2) with a perfect consistancy of dynamic link between application and class services.

Can you give me a simple workspace sample, with the differents projects (.dsp) (Application, peripheral 1, peripheral 2), showing the architecture , definition and inter-dependencies between the differents classes.

Best regards.
AnswerRe: multiple dll Pin
CPallini18-Feb-09 3:17
mveCPallini18-Feb-09 3:17 
AnswerRe: multiple dll Pin
Iain Clarke, Warrior Programmer18-Feb-09 3:51
Iain Clarke, Warrior Programmer18-Feb-09 3:51 
GeneralRe: multiple dll Pin
led mike18-Feb-09 4:30
led mike18-Feb-09 4:30 
QuestionCComboBox Pin
durban218-Feb-09 2:32
durban218-Feb-09 2:32 
AnswerRe: CComboBox Pin
krmed18-Feb-09 2:45
krmed18-Feb-09 2:45 
AnswerRe: CComboBox Pin
_AnsHUMAN_ 18-Feb-09 2:46
_AnsHUMAN_ 18-Feb-09 2:46 
AnswerRe: CComboBox Pin
David Crow18-Feb-09 3:05
David Crow18-Feb-09 3:05 
QuestionPassing a string Pin
brucewayn18-Feb-09 2:31
brucewayn18-Feb-09 2:31 
AnswerRe: Passing a string Pin
Cedric Moonen18-Feb-09 2:38
Cedric Moonen18-Feb-09 2:38 
GeneralRe: Passing a string Pin
CPallini18-Feb-09 22:06
mveCPallini18-Feb-09 22:06 
GeneralRe: Passing a string Pin
Cedric Moonen18-Feb-09 22:49
Cedric Moonen18-Feb-09 22:49 
GeneralRe: Passing a string Pin
CPallini18-Feb-09 23:12
mveCPallini18-Feb-09 23:12 
AnswerRe: Passing a string Pin
eraccn18-Feb-09 3:00
eraccn18-Feb-09 3:00 
QuestionOnSize() function help Pin
Deepu Antony18-Feb-09 1:28
Deepu Antony18-Feb-09 1:28 
AnswerRe: OnSize() function help Pin
Arman S.18-Feb-09 1:52
Arman S.18-Feb-09 1:52 
GeneralRe: OnSize() function help Pin
Deepu Antony18-Feb-09 2:22
Deepu Antony18-Feb-09 2:22 
QuestionSetting for removing a file path from Liner->Command Line in VS2005 Pin
pandit8418-Feb-09 1:24
pandit8418-Feb-09 1:24 

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.