Click here to Skip to main content
15,889,595 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
That is exactly how you do it. By listing the OpenCV lib files under Linker|General|Additional Dependencies, they get linked in statically and you don't need to ship the application with the DLLs.
Yes, setting "Use MFC in a Shared DLL" gives you the dynamic linking to MFC I suggest, but the MFC DLLs have to be on your client's machine - there is a very good chance they already are.

This gives you that nice 100 KB exe you got here[^]. The fact that you did not mention any linker errors is a very good sign.

Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

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 
GeneralRe: WinAPI/C++/Dialog - ChooseColor() ignoring mouse Pin
Derell Licht5-Feb-14 8:17
professionalDerell Licht5-Feb-14 8:17 
Questionproblem with RegSetvalue in c++ Pin
mohamad mahdi zeinali5-Feb-14 1:18
mohamad mahdi zeinali5-Feb-14 1:18 
AnswerRe: problem with RegSetvalue in c++ Pin
Richard MacCutchan5-Feb-14 1:39
mveRichard MacCutchan5-Feb-14 1:39 
GeneralRe: problem with RegSetvalue in c++ Pin
mohamad mahdi zeinali5-Feb-14 1:52
mohamad mahdi zeinali5-Feb-14 1:52 
GeneralRe: problem with RegSetvalue in c++ Pin
Richard MacCutchan5-Feb-14 2:03
mveRichard MacCutchan5-Feb-14 2:03 
QuestionWNetGetConnection API behaves wrongly when UAC is enabled Pin
atm.menon4-Feb-14 19:19
atm.menon4-Feb-14 19:19 

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.