Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC CreateCompatibleDC(), Drawtext() no display Pin
Chris Losinger18-Mar-14 1:41
professionalChris Losinger18-Mar-14 1:41 
GeneralRe: MFC CreateCompatibleDC(), Drawtext() no display Pin
Chris Losinger18-Mar-14 1:44
professionalChris Losinger18-Mar-14 1:44 
GeneralRe: MFC CreateCompatibleDC(), Drawtext() no display Pin
econy18-Mar-14 2:26
econy18-Mar-14 2:26 
QuestionMFC set Control color question [Solved] Pin
econy16-Mar-14 11:13
econy16-Mar-14 11:13 
AnswerRe: MFC set Control color question Pin
CPallini16-Mar-14 22:29
mveCPallini16-Mar-14 22:29 
GeneralRe: MFC set Control color question Pin
econy17-Mar-14 1:58
econy17-Mar-14 1:58 
GeneralRe: MFC set Control color question Pin
CPallini17-Mar-14 2:52
mveCPallini17-Mar-14 2:52 
QuestionCompiling DLL - what is the sequence of compilation? SOLVED Pin
Vaclav_16-Mar-14 8:53
Vaclav_16-Mar-14 8:53 
I would like to have a common header file in a simple DLL I am building.
I would like to have common headers, classes forward declarations and their headers in it.
How do I make sure my common header is compiled first?
It seems that the complier works on the classes in a sequence they were added to the DLL.
Any pointers will be as always appreciated.
Cheers
Vaclav

After several attempts to build DirectShow filter using sample code I found here and in SDK I am totally lost how to build simple DLL with more than one class. It appears that having identical include header files in each cpp file compiles / links OK. I even tryied #pragma once and it did not stop this behavior. This leads me to believe that having common file in simple DLL is not possible.
I guess I need some pointers on how this works and why.


The answer:
The sequence of compilation is given in the project DSP file ( VC6.0 )

-- modified 18-Mar-14 11:39am.
AnswerRe: Compiling DLL - what is the sequence of compilation? Pin
Richard MacCutchan16-Mar-14 23:11
mveRichard MacCutchan16-Mar-14 23:11 
GeneralRe: Compiling DLL - what is the sequence of compilation? Pin
Vaclav_17-Mar-14 3:47
Vaclav_17-Mar-14 3:47 
GeneralRe: Compiling DLL - what is the sequence of compilation? Pin
Gisle Vanem17-Mar-14 4:00
Gisle Vanem17-Mar-14 4:00 
GeneralRe: Compiling DLL - what is the sequence of compilation? Pin
Richard MacCutchan17-Mar-14 4:16
mveRichard MacCutchan17-Mar-14 4:16 
GeneralRe: Compiling DLL - what is the sequence of compilation? Pin
Vaclav_17-Mar-14 7:42
Vaclav_17-Mar-14 7:42 
GeneralRe: Compiling DLL - what is the sequence of compilation? Pin
Richard MacCutchan17-Mar-14 7:54
mveRichard MacCutchan17-Mar-14 7:54 
QuestionDrawText() blinking problem Pin
econy15-Mar-14 1:36
econy15-Mar-14 1:36 
AnswerRe: DrawText() blinking problem Pin
PJ Arends15-Mar-14 6:07
professionalPJ Arends15-Mar-14 6:07 
GeneralRe: DrawText() blinking problem Pin
econy15-Mar-14 6:33
econy15-Mar-14 6:33 
AnswerRe: DrawText() blinking problem Pin
Richard MacCutchan15-Mar-14 6:39
mveRichard MacCutchan15-Mar-14 6:39 
GeneralRe: DrawText() blinking problem Pin
econy15-Mar-14 6:44
econy15-Mar-14 6:44 
GeneralRe: DrawText() blinking problem Pin
Richard MacCutchan15-Mar-14 6:54
mveRichard MacCutchan15-Mar-14 6:54 
GeneralRe: DrawText() blinking problem Pin
econy15-Mar-14 6:54
econy15-Mar-14 6:54 
GeneralRe: DrawText() blinking problem Pin
Richard MacCutchan15-Mar-14 6:56
mveRichard MacCutchan15-Mar-14 6:56 
GeneralRe: DrawText() blinking problem Pin
econy15-Mar-14 7:24
econy15-Mar-14 7:24 
GeneralRe: DrawText() blinking problem Pin
Richard MacCutchan15-Mar-14 7:39
mveRichard MacCutchan15-Mar-14 7:39 
GeneralRe: DrawText() blinking problem Pin
econy15-Mar-14 8:00
econy15-Mar-14 8:00 

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.