Click here to Skip to main content
15,881,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: OpenCV in MFC App Pin
SoMad5-Feb-14 13:20
professionalSoMad5-Feb-14 13:20 
AnswerRe: OpenCV in MFC App Pin
Don Guy5-Feb-14 13:27
Don Guy5-Feb-14 13:27 
GeneralRe: OpenCV in MFC App Pin
SoMad5-Feb-14 14:32
professionalSoMad5-Feb-14 14:32 
GeneralRe: OpenCV in MFC App Pin
Don Guy5-Feb-14 15:12
Don Guy5-Feb-14 15:12 
GeneralRe: OpenCV in MFC App Pin
SoMad5-Feb-14 15:37
professionalSoMad5-Feb-14 15:37 
GeneralRe: OpenCV in MFC App Pin
Don Guy5-Feb-14 16:18
Don Guy5-Feb-14 16:18 
GeneralRe: OpenCV in MFC App Pin
SoMad5-Feb-14 16:27
professionalSoMad5-Feb-14 16:27 
GeneralRe: OpenCV in MFC App Pin
Don Guy6-Feb-14 4:24
Don Guy6-Feb-14 4:24 
With Static Linking options in, i.e., in Configuration Properties --> General --> Use of MFC = Use MFC in a Static Library, and then comment out all OpenCV code in the app, the total exe size is 4 MB. So basically it reduced 2 MB, but no significant difference.

I added the #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS to stdafx.h file and that didn't make any difference.

Btw, i am using Visual Studio 2012.
AnswerRe: OpenCV in MFC App Pin
SoMad6-Feb-14 7:41
professionalSoMad6-Feb-14 7:41 
GeneralRe: OpenCV in MFC App Pin
Joe Woodbury6-Feb-14 8:11
professionalJoe Woodbury6-Feb-14 8:11 
GeneralRe: OpenCV in MFC App Pin
SoMad6-Feb-14 8:31
professionalSoMad6-Feb-14 8:31 
GeneralRe: OpenCV in MFC App Pin
Joe Woodbury6-Feb-14 8:38
professionalJoe Woodbury6-Feb-14 8:38 
GeneralRe: OpenCV in MFC App Pin
Don Guy6-Feb-14 9:12
Don Guy6-Feb-14 9:12 
GeneralRe: OpenCV in MFC App Pin
SoMad6-Feb-14 9:30
professionalSoMad6-Feb-14 9:30 
GeneralRe: OpenCV in MFC App Pin
Don Guy6-Feb-14 9:53
Don Guy6-Feb-14 9:53 
GeneralRe: OpenCV in MFC App Pin
SoMad6-Feb-14 10:29
professionalSoMad6-Feb-14 10:29 
GeneralRe: OpenCV in MFC App Pin
Don Guy6-Feb-14 10:55
Don Guy6-Feb-14 10:55 
GeneralRe: OpenCV in MFC App Pin
SoMad6-Feb-14 12:10
professionalSoMad6-Feb-14 12:10 
GeneralRe: OpenCV in MFC App Pin
Don Guy6-Feb-14 13:05
Don Guy6-Feb-14 13:05 
GeneralRe: OpenCV in MFC App Pin
SoMad6-Feb-14 13:12
professionalSoMad6-Feb-14 13:12 
GeneralRe: OpenCV in MFC App Pin
SoMad6-Feb-14 13:36
professionalSoMad6-Feb-14 13:36 
QuestionWinAPI/C++/Dialog - ChooseColor() ignoring mouse Pin
Derell Licht5-Feb-14 6:44
professionalDerell Licht5-Feb-14 6:44 
GeneralRe: WinAPI/C++/Dialog - ChooseColor() ignoring mouse Pin
Richard MacCutchan5-Feb-14 7:12
mveRichard MacCutchan5-Feb-14 7:12 
GeneralRe: WinAPI/C++/Dialog - ChooseColor() ignoring mouse Pin
Derell Licht5-Feb-14 7:40
professionalDerell Licht5-Feb-14 7:40 
GeneralRe: WinAPI/C++/Dialog - ChooseColor() ignoring mouse Pin
Richard MacCutchan5-Feb-14 7:52
mveRichard MacCutchan5-Feb-14 7:52 

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.