Click here to Skip to main content
16,004,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using a #include in a struct Pin
Anonymous1-Aug-05 5:07
Anonymous1-Aug-05 5:07 
GeneralRe: Using a #include in a struct Pin
toxcct1-Aug-05 5:16
toxcct1-Aug-05 5:16 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld1-Aug-05 7:37
Bob Stanneveld1-Aug-05 7:37 
GeneralRe: Using a #include in a struct Pin
Jonas Åhrman2-Aug-05 6:52
sussJonas Åhrman2-Aug-05 6:52 
GeneralRe: Using a #include in a struct Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1-Aug-05 5:25
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1-Aug-05 5:25 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld1-Aug-05 7:34
Bob Stanneveld1-Aug-05 7:34 
GeneralRe: Using a #include in a struct Pin
Anonymous2-Aug-05 5:15
Anonymous2-Aug-05 5:15 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld3-Aug-05 7:09
Bob Stanneveld3-Aug-05 7:09 
Hello,

I apologize for my rudeness. Indeed, should not critisize people I don't know on something I don't understand. I have experiance in including stuff at places where it shouldn't be included.

I once had to hide some details that I included. One solution was to create a "private" namespace and include the header there, which was the most horrible mistake I ever made. Not only did it not solve my problems, but it created many more. Bad maintanability is one, lot's of compiler errors are another.
After giving it some more thought, I insulated the details from the physical interface and I included the file in the source file, not the header.

I know that there are many solutions to one problem, and that one solution is always better than another. I also don't know what you are trying to achieve, but since you know that it can be done, I hope that you are happy with the solution.

Again, I apologize for my rude post.

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: Using a #include in a struct Pin
knapak1-Aug-05 11:09
knapak1-Aug-05 11:09 
GeneralRe: Using a #include in a struct Pin
knapak1-Aug-05 11:04
knapak1-Aug-05 11:04 
Questionhow to prevent a window from being activated??? Pin
JERKII.SHANG1-Aug-05 3:51
JERKII.SHANG1-Aug-05 3:51 
AnswerRe: how to prevent a window from being activated??? Pin
David Crow1-Aug-05 5:52
David Crow1-Aug-05 5:52 
GeneralRe: how to prevent a window from being activated??? Pin
JERKII.SHANG1-Aug-05 14:53
JERKII.SHANG1-Aug-05 14:53 
GeneralRe: how to prevent a window from being activated??? Pin
David Crow2-Aug-05 3:42
David Crow2-Aug-05 3:42 
QuestionHow tof find the executable name? Pin
mcgahanfl1-Aug-05 3:01
mcgahanfl1-Aug-05 3:01 
AnswerRe: How tof find the executable name? Pin
David Crow1-Aug-05 3:08
David Crow1-Aug-05 3:08 
GeneralRe: How tof find the executable name? Pin
mcgahanfl1-Aug-05 3:25
mcgahanfl1-Aug-05 3:25 
AnswerRe: How tof find the executable name? Pin
Neelesh K J Jain1-Aug-05 3:09
Neelesh K J Jain1-Aug-05 3:09 
GeneralRe: How tof find the executable name? Pin
mcgahanfl1-Aug-05 3:25
mcgahanfl1-Aug-05 3:25 
General?Mouse position Pin
Halawlaws1-Aug-05 2:53
Halawlaws1-Aug-05 2:53 
GeneralRe: ?Mouse position Pin
David Crow1-Aug-05 2:55
David Crow1-Aug-05 2:55 
GeneralRe: ?Mouse position Pin
Halawlaws1-Aug-05 2:56
Halawlaws1-Aug-05 2:56 
GeneralRe: ?Mouse position Pin
toxcct1-Aug-05 3:51
toxcct1-Aug-05 3:51 
GeneralRe: ?Mouse position Pin
David Crow1-Aug-05 5:55
David Crow1-Aug-05 5:55 
GeneralRe: ?Mouse position Pin
Ravi Bhavnani1-Aug-05 5:17
professionalRavi Bhavnani1-Aug-05 5: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.