Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEvent Log automation Pin
jet915327-Oct-04 4:04
jet915327-Oct-04 4:04 
GeneralRe: Event Log automation Pin
David Crow27-Oct-04 6:11
David Crow27-Oct-04 6:11 
GeneralRe: Event Log automation Pin
jet915327-Oct-04 7:00
jet915327-Oct-04 7:00 
GeneralRe: Event Log automation Pin
David Crow27-Oct-04 10:26
David Crow27-Oct-04 10:26 
GeneralRe: Event Log automation Pin
jet915327-Oct-04 10:55
jet915327-Oct-04 10:55 
GeneralRe: Event Log automation Pin
David Crow28-Oct-04 4:58
David Crow28-Oct-04 4:58 
GeneralRe: pointer to a combobox Pin
Shotgun27-Oct-04 3:35
Shotgun27-Oct-04 3:35 
GeneralCustom build Pin
0v3rloader27-Oct-04 3:31
0v3rloader27-Oct-04 3:31 
Hello,

I have a Lib which has some objects which are compiled depending on whether certain macros are defined or not. I was wondering if it is possible to have multiple builds of the Lib for the different scenarios and have Visual C++ automatically choose between the correct version of the Lib to use?

Example:
In the Lib:
#ifdef _MACROA
class A
{
	.
	:
	.
};
#endif	// defined(_MACROA)


This means that we have two possible versions of the Lib: one for when _MACROA is defined and another for when it's not.

So the question is how to configure the project settings in the (implementation) App - if such a thing is possible at all - to make it choose the correct version of the Lib depending on whether the macro is defined or not.

Perhaps I should adopt a different strategy?
All insights on the question in hand will be greatly appreciated.

David
GeneralRe: Custom build Pin
RChin27-Oct-04 4:30
RChin27-Oct-04 4:30 
GeneralRe: Custom build Pin
Blake Miller27-Oct-04 4:54
Blake Miller27-Oct-04 4:54 
GeneralRe: Custom build Pin
0v3rloader27-Oct-04 6:29
0v3rloader27-Oct-04 6:29 
GeneralRe: Custom build Pin
Blake Miller27-Oct-04 9:39
Blake Miller27-Oct-04 9:39 
GeneralMerging different files into one big file Pin
gunnar6627-Oct-04 3:31
gunnar6627-Oct-04 3:31 
GeneralRe: Merging different files into one big file Pin
Blake Miller27-Oct-04 4:57
Blake Miller27-Oct-04 4:57 
QuestionSeveral views for one document in MDI? Pin
T.T.H.27-Oct-04 3:20
T.T.H.27-Oct-04 3:20 
AnswerRe: Several views for one document in MDI? Pin
l a u r e n27-Oct-04 15:19
l a u r e n27-Oct-04 15:19 
GeneralRe: Several views for one document in MDI? Pin
T.T.H.28-Oct-04 23:33
T.T.H.28-Oct-04 23:33 
AnswerRe: How to get the path of a file in VC++ Pin
Maximilien27-Oct-04 2:42
Maximilien27-Oct-04 2:42 
GeneralDirectShow Pin
mcsherry27-Oct-04 1:56
mcsherry27-Oct-04 1:56 
GeneralRe: DirectShow Pin
mcsherry28-Oct-04 2:29
mcsherry28-Oct-04 2:29 
QuestionHow to Change Audio device Volume ? Pin
P_JAYAPRAKASH27-Oct-04 1:39
P_JAYAPRAKASH27-Oct-04 1:39 
AnswerRe: How to Change Audio device Volume ? Pin
David Crow27-Oct-04 2:47
David Crow27-Oct-04 2:47 
GeneralRe: How to Change Audio device Volume ? Pin
P_JAYAPRAKASH27-Oct-04 16:47
P_JAYAPRAKASH27-Oct-04 16:47 
GeneralRe: How to Change Audio device Volume ? Pin
David Crow28-Oct-04 5:01
David Crow28-Oct-04 5:01 
GeneralRe: How to Change Audio device Volume ? Pin
P_JAYAPRAKASH28-Oct-04 17:23
P_JAYAPRAKASH28-Oct-04 17:23 

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.