Click here to Skip to main content
15,887,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get ALT, SHIFT and CTRL key? Pin
Eytukan13-Mar-08 17:40
Eytukan13-Mar-08 17:40 
GeneralRe: How to get ALT, SHIFT and CTRL key? Pin
Mahesh Kulkarni13-Mar-08 18:14
Mahesh Kulkarni13-Mar-08 18:14 
GeneralRe: How to get ALT, SHIFT and CTRL key? Pin
ThatsAlok13-Mar-08 19:53
ThatsAlok13-Mar-08 19:53 
GeneralRe: How to get ALT, SHIFT and CTRL key? Pin
Mahesh Kulkarni13-Mar-08 20:43
Mahesh Kulkarni13-Mar-08 20:43 
GeneralRe: How to get ALT, SHIFT and CTRL key? Pin
TooShy2Talk13-Mar-08 21:16
TooShy2Talk13-Mar-08 21:16 
QuestionRe: How to get ALT, SHIFT and CTRL key? Pin
TooShy2Talk13-Mar-08 21:40
TooShy2Talk13-Mar-08 21:40 
GeneralRe: How to get ALT, SHIFT and CTRL key? Pin
Mahesh Kulkarni14-Mar-08 2:40
Mahesh Kulkarni14-Mar-08 2:40 
GeneralPimpl Idiom client/serve compile/link Pin
George_George13-Mar-08 15:26
George_George13-Mar-08 15:26 
Hello everyone,


Suppose in Pimpl Idiom, we put private members into Pimpl class (implementation class).

(http://www.gotw.ca/gotw/024.htm)

My questions are, if we changed the Pimpl class and do not change visible parts of the whole component (class). There are two parties, component and client. Inside the component, there are two parts, Pimpl part and visible (to client) part.

1. For the component, I think it needs re-compile, since private members of Pimpl part changed are referred by visible parts (public members refer to private members);

2. I am not sure whether for the whole component, it needs to relink? I think it depends on whether other compile unit of the component invokes functions from the Pimpl part of component? Is it correct?

3. I am not sure whether for the client, it needs re-link? If we provide the whole component as a static lib, client needs to re-link, right? And if we provide the whole component as a DLL, and client implicit links with it with import library, does the client needs relink again?


thanks in advance,
George
GeneralAbout your opaque pointer Pin
Eytukan13-Mar-08 16:08
Eytukan13-Mar-08 16:08 
GeneralRe: About your opaque pointer Pin
George_George13-Mar-08 16:30
George_George13-Mar-08 16:30 
GeneralRe: Pimpl Idiom client/serve compile/link Pin
David Crow14-Mar-08 3:30
David Crow14-Mar-08 3:30 
GeneralRe: Pimpl Idiom client/serve compile/link Pin
George_George14-Mar-08 3:44
George_George14-Mar-08 3:44 
Questionerror C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
ieyra20413-Mar-08 12:54
ieyra20413-Mar-08 12:54 
AnswerRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Mark Salsbery13-Mar-08 13:33
Mark Salsbery13-Mar-08 13:33 
GeneralRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Eytukan13-Mar-08 16:20
Eytukan13-Mar-08 16:20 
GeneralRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Mark Salsbery13-Mar-08 19:50
Mark Salsbery13-Mar-08 19:50 
GeneralRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Eytukan13-Mar-08 20:06
Eytukan13-Mar-08 20:06 
AnswerRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Stephen Hewitt13-Mar-08 14:08
Stephen Hewitt13-Mar-08 14:08 
AnswerRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
David Crow13-Mar-08 16:23
David Crow13-Mar-08 16:23 
Generalstatic_cast and reinterpret_cast Pin
LCI13-Mar-08 12:06
LCI13-Mar-08 12:06 
GeneralRe: static_cast and reinterpret_cast Pin
Mark Salsbery13-Mar-08 13:29
Mark Salsbery13-Mar-08 13:29 
GeneralRe: static_cast and reinterpret_cast Pin
Peter Weyzen13-Mar-08 13:57
Peter Weyzen13-Mar-08 13:57 
GeneralRe: static_cast and reinterpret_cast Pin
Eytukan13-Mar-08 16:11
Eytukan13-Mar-08 16:11 
GeneralRe: static_cast and reinterpret_cast Pin
LCI14-Mar-08 2:32
LCI14-Mar-08 2:32 
QuestionRe: static_cast and reinterpret_cast Pin
Rajkumar R14-Mar-08 3:02
Rajkumar R14-Mar-08 3:02 

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.