Click here to Skip to main content
15,912,021 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get the current active document of MDI application? Pin
rahul.kulshreshtha30-Oct-11 20:41
rahul.kulshreshtha30-Oct-11 20:41 
AnswerRe: How to get the current active document of MDI application? Pin
«_Superman_»30-Oct-11 21:55
professional«_Superman_»30-Oct-11 21:55 
QuestionIIS Metadata, can't write the default pages and Mimes. Pin
jkirkerx30-Oct-11 6:43
professionaljkirkerx30-Oct-11 6:43 
AnswerRe: IIS Metadata, can't write the default pages and Mimes. Pin
jkirkerx30-Oct-11 9:42
professionaljkirkerx30-Oct-11 9:42 
AnswerI'm almost there, how to add to safe array Pin
jkirkerx31-Oct-11 13:18
professionaljkirkerx31-Oct-11 13:18 
QuestionBuild problems Pin
columbos1492730-Oct-11 1:24
columbos1492730-Oct-11 1:24 
AnswerRe: Build problems Pin
Richard MacCutchan30-Oct-11 2:51
mveRichard MacCutchan30-Oct-11 2:51 
AnswerRe: Build problems Pin
_AnsHUMAN_ 30-Oct-11 22:02
_AnsHUMAN_ 30-Oct-11 22:02 
GeneralRe: Build problems Pin
columbos1492731-Oct-11 2:53
columbos1492731-Oct-11 2:53 
QuestionHow to extract Visio XML files properties Pin
DeveloperLife201529-Oct-11 1:41
DeveloperLife201529-Oct-11 1:41 
AnswerRe: How to extract Visio XML files properties Pin
Richard MacCutchan29-Oct-11 2:47
mveRichard MacCutchan29-Oct-11 2:47 
GeneralRe: How to extract Visio XML files properties Pin
Code-o-mat29-Oct-11 4:07
Code-o-mat29-Oct-11 4:07 
AnswerRe: Some links to visio code.. Pin
App_29-Oct-11 12:25
App_29-Oct-11 12:25 
QuestionHow to get column Title when get inffo from IShellFolder2::GetDetailsOf Method? Pin
Le@rner29-Oct-11 1:25
Le@rner29-Oct-11 1:25 
AnswerRe: How to get column Title when get inffo from IShellFolder2::GetDetailsOf Method? Pin
Trogdan6-Jan-12 10:45
Trogdan6-Jan-12 10:45 
Question#defines in a static library Pin
Albert Holguin28-Oct-11 10:30
professionalAlbert Holguin28-Oct-11 10:30 
AnswerRe: #defines in a static library Pin
Niklas L28-Oct-11 22:50
Niklas L28-Oct-11 22:50 
GeneralRe: #defines in a static library Pin
Albert Holguin29-Oct-11 9:55
professionalAlbert Holguin29-Oct-11 9:55 
GeneralRe: #defines in a static library Pin
Richard MacCutchan29-Oct-11 22:35
mveRichard MacCutchan29-Oct-11 22:35 
Albert Holguin wrote:
The #defines are in the header that gets used in the exe code for pulling in the functions in the static library

That is not correct, both the include file and the #defines within it are processed by the compiler, there is no reference to them in the exe or lib file. The actual #define directives are seen and converted to their 'real' values by the preprocessor. If you have different versions of the same directives within your project then you can end up with the situation you are seeing. Alternatively you could have a different set of values in the pre-compiled header file which conflict with the ones you are seeing in your .h file. Without seeing a bit more of your source it's difficult to speculate further as to why this is happening.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman



GeneralRe: #defines in a static library Pin
Albert Holguin30-Oct-11 10:42
professionalAlbert Holguin30-Oct-11 10:42 
GeneralRe: #defines in a static library Pin
Richard MacCutchan30-Oct-11 23:34
mveRichard MacCutchan30-Oct-11 23:34 
AnswerRe: #defines in a static library Pin
Richard MacCutchan28-Oct-11 23:21
mveRichard MacCutchan28-Oct-11 23:21 
AnswerRe: #defines in a static library Pin
Erudite_Eric29-Oct-11 7:06
Erudite_Eric29-Oct-11 7:06 
GeneralRe: #defines in a static library Pin
Albert Holguin29-Oct-11 9:56
professionalAlbert Holguin29-Oct-11 9:56 
GeneralRe: #defines in a static library Pin
Erudite_Eric29-Oct-11 22:49
Erudite_Eric29-Oct-11 22:49 

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.