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

C / C++ / MFC

 
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 
Seem to be experiencing a bit of weirdness with a static library:

I have two #defines inside of the .lib (hex constants):
#define VAL_ONE 0x14fc
#define VAL_TWO 0x0050


Now, if I execute everything from the .lib as inline function from within the executable source (pretty much make it part of that compilation versus a static library), it works fine, but when it executes within the lib, somehow these values aren't getting assigned correctly to the structure that passes these values on to another function.
MY_STRUCT tmp;
tmp.value1 = VAL_ONE;
tmp.value2 = VAL_TWO;
//Where, value1 and value2 are defined as unsigned short values
//If I look at this on the debugger, value1 and value2 do not contain what I expect.


Am I missing/forgetting something?? D'Oh! | :doh:
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 
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 

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.