Click here to Skip to main content
15,914,481 members

Survey Results

How do you link your C++ applications?   [Edit]

Survey period: 6 Jan 2003 to 12 Jan 2003

Conflicts between different versions of the MFC and ATL libraries can cause headaches. How do you link you C++ apps?

OptionVotes% 
Static link to MFC libraries35133.85
Dynamic link to MFC libraries50548.70
Static link to ATL libraries23222.37
Dynamic link to ATL libraries12812.34
I don't use MFC or ATL18217.55
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralStatically linking MFC is the way to go Pin
Gary Kirkham10-Jan-03 10:21
Gary Kirkham10-Jan-03 10:21 
GeneralRe: Statically linking MFC is the way to go Pin
NormDroid11-Jan-03 1:03
professionalNormDroid11-Jan-03 1:03 
Generalonly fairies dynamically link Pin
Chris Losinger8-Jan-03 14:39
professionalChris Losinger8-Jan-03 14:39 
GeneralRe: only faries dynamically link Pin
Gary Wheeler9-Jan-03 6:57
Gary Wheeler9-Jan-03 6:57 
GeneralRe: only fairies dynamically link Pin
Chris Losinger9-Jan-03 6:58
professionalChris Losinger9-Jan-03 6:58 
GeneralRe: only fairies dynamically link Pin
Alvaro Mendez9-Jan-03 10:15
Alvaro Mendez9-Jan-03 10:15 
GeneralRe: only fairies dynamically link Pin
Michael Dunn9-Jan-03 14:42
sitebuilderMichael Dunn9-Jan-03 14:42 
GeneralMDAC has more problems... Pin
Anonymous6-Jan-03 10:23
Anonymous6-Jan-03 10:23 
GeneralRe: MDAC has more problems... Pin
Mike Nordell7-Jan-03 16:08
Mike Nordell7-Jan-03 16:08 
GeneralRe: MDAC has more problems... Pin
Member 9610-Jan-03 10:11
Member 9610-Jan-03 10:11 
GeneralRe: MDAC has more problems... Pin
Anonymous9-Jan-03 8:26
Anonymous9-Jan-03 8:26 
GeneralInstall MFC dlls in application directory Pin
Hans6-Jan-03 9:20
Hans6-Jan-03 9:20 
GeneralRe: Install MFC dlls in application directory Pin
Navin6-Jan-03 9:27
Navin6-Jan-03 9:27 
GeneralRe: Install MFC dlls in application directory Pin
#realJSOP6-Jan-03 9:29
professional#realJSOP6-Jan-03 9:29 
GeneralRe: Install MFC dlls in application directory Pin
Oliver Anhuth7-Jan-03 1:17
Oliver Anhuth7-Jan-03 1:17 
GeneralRe: Install MFC dlls in application directory Pin
Hans7-Jan-03 6:40
Hans7-Jan-03 6:40 
GeneralRe: Install MFC dlls in application directory Pin
Husnan Abbas8-Jan-03 6:35
sussHusnan Abbas8-Jan-03 6:35 
GeneralRe: Install MFC dlls in application directory Pin
Stephane Rodriguez.6-Jan-03 10:00
Stephane Rodriguez.6-Jan-03 10:00 
GeneralRe: Install MFC dlls in application directory Pin
Navin6-Jan-03 10:30
Navin6-Jan-03 10:30 
GeneralRe: Install MFC dlls in application directory Pin
Boze6-Jan-03 12:27
Boze6-Jan-03 12:27 
GeneralRe: Install MFC dlls in application directory Pin
Navin6-Jan-03 15:03
Navin6-Jan-03 15:03 
GeneralRe: Install MFC dlls in application directory Pin
Boze7-Jan-03 11:14
Boze7-Jan-03 11:14 
I know that this runs correctly on workstations that have a different version of the MFC libraries installed and a running application using those different versions. Our app always get it's MFC libraries. If you remove those libraries it will crash.

I thought that the search order for a dll was the application directory, system directory, then path. Since it finds one in the application directory, it will use it. There is not chance for it to say 'there is already a copy of that DLL running' because that 'copy' lives in the system directory.

Ofcourse, it nullifies any benefits of dynamically linking.
GeneralRe: Install MFC dlls in application directory Pin
Navin7-Jan-03 11:28
Navin7-Jan-03 11:28 
GeneralRe: Install MFC dlls in application directory Pin
Boze7-Jan-03 13:14
Boze7-Jan-03 13:14 
GeneralRe: Install MFC dlls in application directory Pin
Navin7-Jan-03 15:02
Navin7-Jan-03 15:02 

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.