Click here to Skip to main content
15,850,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Controlling microphone gain using "mixer" API? Pin
Mark Salsbery17-Jul-11 12:46
Mark Salsbery17-Jul-11 12:46 
GeneralRe: Controlling microphone gain using "mixer" API? Pin
Vaclav_17-Jul-11 13:15
Vaclav_17-Jul-11 13:15 
QuestionVS 2010 and XP Pin
RomTibi17-Jul-11 0:45
RomTibi17-Jul-11 0:45 
AnswerRe: VS 2010 and XP Pin
Richard MacCutchan17-Jul-11 2:04
mveRichard MacCutchan17-Jul-11 2:04 
GeneralRe: VS 2010 and XP Pin
RomTibi17-Jul-11 9:50
RomTibi17-Jul-11 9:50 
GeneralRe: VS 2010 and XP Pin
RomTibi17-Jul-11 18:45
RomTibi17-Jul-11 18:45 
GeneralRe: VS 2010 and XP Pin
Richard MacCutchan17-Jul-11 23:47
mveRichard MacCutchan17-Jul-11 23:47 
AnswerRe: VS 2010 and XP Pin
«_Superman_»17-Jul-11 4:12
professional«_Superman_»17-Jul-11 4:12 
You can try to link with the static libraries of MFC, ATL and the C runtime time.
By default it links to the dynamic libraries.

Go to Project -> Properties -> Configuration Properties -> General.
If you're using MFC, change Use of MFC from Use MFC in a Shared DLL to Use MFC in a Static Library.
If you're using ATL, change Use of ATL from Dynamic Link to ATL to Static Link to ATL.

Finally go to Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library.
Change /MDd to /MTd (Debug mode) or /MD to /MT (Release mode).
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C

QuestionRe: VS 2010 and XP Pin
bob1697217-Jul-11 7:04
bob1697217-Jul-11 7:04 
GeneralRe: VS 2010 and XP [modified] Pin
RomTibi17-Jul-11 9:51
RomTibi17-Jul-11 9:51 
QuestionButton Hover Effect Pin
john563216-Jul-11 6:43
john563216-Jul-11 6:43 
AnswerRe: Button Hover Effect Pin
«_Superman_»16-Jul-11 6:47
professional«_Superman_»16-Jul-11 6:47 
GeneralRe: Button Hover Effect Pin
john563216-Jul-11 6:52
john563216-Jul-11 6:52 
GeneralRe: Button Hover Effect Pin
«_Superman_»16-Jul-11 6:53
professional«_Superman_»16-Jul-11 6:53 
GeneralRe: Button Hover Effect Pin
john563216-Jul-11 6:55
john563216-Jul-11 6:55 
GeneralRe: Button Hover Effect Pin
«_Superman_»16-Jul-11 6:56
professional«_Superman_»16-Jul-11 6:56 
GeneralRe: Button Hover Effect Pin
john563216-Jul-11 6:59
john563216-Jul-11 6:59 
GeneralRe: Button Hover Effect Pin
john563216-Jul-11 7:03
john563216-Jul-11 7:03 
Questionfatal error C1189: #error : _WIN32_WINNT settings conflicts with _WIN32_IE setting C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\sdkddkver.h Pin
SNI16-Jul-11 2:18
SNI16-Jul-11 2:18 
AnswerRe: fatal error C1189: #error : _WIN32_WINNT settings conflicts with _WIN32_IE setting C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\sdkddkver.h Pin
David Crow16-Jul-11 6:36
David Crow16-Jul-11 6:36 
QuestionRuntime Library option in Visual Studio Pin
Pranit Kothari16-Jul-11 1:19
Pranit Kothari16-Jul-11 1:19 
AnswerRe: Runtime Library option in Visual Studio Pin
Richard MacCutchan16-Jul-11 2:15
mveRichard MacCutchan16-Jul-11 2:15 
QuestionStatic vs Dynamic vs Shared DLL, and what about lib Pin
Pranit Kothari16-Jul-11 1:12
Pranit Kothari16-Jul-11 1:12 
AnswerRe: Static vs Dynamic vs Shared DLL, and what about lib Pin
CPallini16-Jul-11 1:30
mveCPallini16-Jul-11 1:30 
AnswerRe: Static vs Dynamic vs Shared DLL, and what about lib Pin
Rolf Kristensen27-Jul-11 13:29
Rolf Kristensen27-Jul-11 13:29 

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.