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

C / C++ / MFC

 
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 
GeneralRe: #defines in a static library Pin
Albert Holguin30-Oct-11 10:43
professionalAlbert Holguin30-Oct-11 10:43 
GeneralRe: #defines in a static library Pin
Erudite_Eric30-Oct-11 21:42
Erudite_Eric30-Oct-11 21:42 
GeneralRe: #defines in a static library Pin
Albert Holguin2-Nov-11 4:30
professionalAlbert Holguin2-Nov-11 4:30 
AnswerRe: #defines in a static library Pin
User 5838521-Nov-11 18:47
User 5838521-Nov-11 18:47 
GeneralRe: #defines in a static library Pin
Albert Holguin2-Nov-11 1:02
professionalAlbert Holguin2-Nov-11 1:02 
QuestionOverlay icon in CListView Pin
Dialecticus28-Oct-11 7:46
Dialecticus28-Oct-11 7:46 
QuestionReading a UNICODE text file backwards in VC++ Pin
Manikkuttan28-Oct-11 2:17
Manikkuttan28-Oct-11 2:17 
AnswerRe: Reading a UNICODE text file backwards in VC++ Pin
«_Superman_»28-Oct-11 2:27
professional«_Superman_»28-Oct-11 2:27 
AnswerRe: Reading a UNICODE text file backwards in VC++ Pin
Erudite_Eric28-Oct-11 2:55
Erudite_Eric28-Oct-11 2:55 
GeneralRe: Reading a UNICODE text file backwards in VC++ Pin
David Crow28-Oct-11 3:05
David Crow28-Oct-11 3:05 
GeneralRe: Reading a UNICODE text file backwards in VC++ Pin
enhzflep28-Oct-11 4:26
enhzflep28-Oct-11 4:26 

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.