Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DLL native win32 variables lifetime? Pin
MicroVirus15-Sep-11 3:57
MicroVirus15-Sep-11 3:57 
AnswerRe: DLL native win32 variables lifetime? Pin
Erudite_Eric15-Sep-11 4:08
Erudite_Eric15-Sep-11 4:08 
AnswerRe: DLL native win32 variables lifetime? Pin
Richard MacCutchan15-Sep-11 4:17
mveRichard MacCutchan15-Sep-11 4:17 
GeneralRe: DLL native win32 variables lifetime? Pin
skaboFer15-Sep-11 4:35
skaboFer15-Sep-11 4:35 
GeneralRe: DLL native win32 variables lifetime? Pin
Richard MacCutchan15-Sep-11 5:42
mveRichard MacCutchan15-Sep-11 5:42 
GeneralRe: DLL native win32 variables lifetime? Pin
skaboFer15-Sep-11 5:53
skaboFer15-Sep-11 5:53 
QuestionLibrary Usage Problem Pin
AmbiguousName14-Sep-11 23:06
AmbiguousName14-Sep-11 23:06 
AnswerRe: Library Usage Problem Pin
Erudite_Eric14-Sep-11 23:19
Erudite_Eric14-Sep-11 23:19 
This setting purely affects the way the MFC dlls are used with your applicaiton. They are either linked statically, ie, they are built into the exe (like a .lib file) or they are not, in which case the machine your exe is going to run on had better have the latest MFC dlls installed. (See Microsofts ludicrously named 'side by side' installation for more info on what an utter joke this has become. Yes, with manifests, and versions. Dll hell just became manidest hell...).


Anyway, enough slaging off the people at Microsoft...

Your library is either a dll or a lib.
If it is a lib then you want to use static linking. Make sure the lib is in the link path, and make sure the lib is added to the projects link settings.

If it is a dll you want to use dynamic linking. Even with a dll there is a tiny little lib file, make sure that is in your link path and that it is added to your projects link settings. And deploy the dll with your exe.
==============================

Nothing to say.
modified on Thursday, September 15, 2011 6:12 AM

AnswerRe: Library Usage Problem Pin
MicroVirus15-Sep-11 3:47
MicroVirus15-Sep-11 3:47 
GeneralRe: Library Usage Problem Pin
Erudite_Eric15-Sep-11 22:13
Erudite_Eric15-Sep-11 22:13 
GeneralRe: Library Usage Problem Pin
Albert Holguin16-Sep-11 3:59
professionalAlbert Holguin16-Sep-11 3:59 
GeneralRe: Library Usage Problem Pin
MicroVirus16-Sep-11 4:40
MicroVirus16-Sep-11 4:40 
GeneralRe: Library Usage Problem Pin
Erudite_Eric16-Sep-11 4:49
Erudite_Eric16-Sep-11 4:49 
GeneralRe: Library Usage Problem Pin
MicroVirus16-Sep-11 12:16
MicroVirus16-Sep-11 12:16 
AnswerRe: Library Usage Problem Pin
Richard MacCutchan14-Sep-11 23:36
mveRichard MacCutchan14-Sep-11 23:36 
GeneralRe: Library Usage Problem Pin
Albert Holguin16-Sep-11 4:03
professionalAlbert Holguin16-Sep-11 4:03 
GeneralRe: Library Usage Problem Pin
Richard MacCutchan16-Sep-11 5:24
mveRichard MacCutchan16-Sep-11 5:24 
GeneralRe: Library Usage Problem Pin
Albert Holguin16-Sep-11 5:58
professionalAlbert Holguin16-Sep-11 5:58 
AnswerRe: Library Usage Problem Pin
Chris Meech15-Sep-11 8:18
Chris Meech15-Sep-11 8:18 
QuestionDesign of Application Pin
002comp14-Sep-11 23:04
002comp14-Sep-11 23:04 
AnswerRe: Design of Application Pin
Richard MacCutchan15-Sep-11 0:15
mveRichard MacCutchan15-Sep-11 0:15 
GeneralRe: Design of Application Pin
002comp15-Sep-11 0:27
002comp15-Sep-11 0:27 
GeneralRe: Design of Application Pin
Richard MacCutchan15-Sep-11 0:35
mveRichard MacCutchan15-Sep-11 0:35 
QuestionCRichCtrl Pin
john563214-Sep-11 22:02
john563214-Sep-11 22:02 
AnswerRe: CRichCtrl Pin
Richard MacCutchan14-Sep-11 22:21
mveRichard MacCutchan14-Sep-11 22:21 

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.