Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using .lib vs. .dll Pin
John R. Shaw5-Mar-06 16:08
John R. Shaw5-Mar-06 16:08 
What can I say Sigvardsson is right, but he should have included that you may need to include some DLLs in the install software. Ocassionaly some one asks why their progam works on one machine and not anouther, the answer is usualy because they did not include the required DLL in the install program. If you want your users to be able to just copy the EXE and have it run, then you need to staticaly link the libraries (.libs) with the program. If you know that all the DLLs are standard (on all systems) then you do not need to staticaly link them.

The main advantage of using a DLL is that if there is a problem with it, it is their problem. The main disadvantage of using a DLL is that a problem in an updated version may affect any program depending on it. Of course the same thing applies to ActiveX controls, which are just a specalised version of a DLL.

INTP
Every thing is relative...
AnswerRe: Using .lib vs. .dll Pin
Tim Smith5-Mar-06 14:05
Tim Smith5-Mar-06 14:05 
QuestionOpenGL MFC Pin
braveheartkenya5-Mar-06 11:14
braveheartkenya5-Mar-06 11:14 
AnswerRe: OpenGL MFC Pin
Steve Echols5-Mar-06 12:28
Steve Echols5-Mar-06 12:28 
Questionproblem calling NtQuerySystemInformation Pin
gamitech5-Mar-06 8:18
gamitech5-Mar-06 8:18 
QuestionCFileDialog Resource Pin
MON2055-Mar-06 6:26
MON2055-Mar-06 6:26 
AnswerRe: CFileDialog Resource Pin
Naveen5-Mar-06 16:10
Naveen5-Mar-06 16:10 
GeneralRe: CFileDialog Resource Pin
MON2055-Mar-06 20:03
MON2055-Mar-06 20:03 
Question2 classes Pin
Sam 20065-Mar-06 5:08
Sam 20065-Mar-06 5:08 
AnswerRe: 2 classes Pin
darkelv5-Mar-06 5:14
darkelv5-Mar-06 5:14 
AnswerRe: 2 classes Pin
Michael Dunn5-Mar-06 6:20
sitebuilderMichael Dunn5-Mar-06 6:20 
Answersolution Pin
Sam 20065-Mar-06 6:24
Sam 20065-Mar-06 6:24 
GeneralRe: solution Pin
John R. Shaw5-Mar-06 14:30
John R. Shaw5-Mar-06 14:30 
GeneralRe: solution Pin
Divyang Mithaiwala5-Mar-06 17:23
Divyang Mithaiwala5-Mar-06 17:23 
QuestionDisplaying OpenGL terrain in MFC Pin
amanoullah5-Mar-06 4:32
amanoullah5-Mar-06 4:32 
QuestionOverloaded functions in DLL Pin
Eikthrynir5-Mar-06 2:59
Eikthrynir5-Mar-06 2:59 
AnswerRe: Overloaded functions in DLL Pin
Gary R. Wheeler5-Mar-06 3:45
Gary R. Wheeler5-Mar-06 3:45 
AnswerRe: Overloaded functions in DLL Pin
Michael Dunn5-Mar-06 6:25
sitebuilderMichael Dunn5-Mar-06 6:25 
Questioninteger to string? Pin
Pacificat0r5-Mar-06 2:02
Pacificat0r5-Mar-06 2:02 
AnswerRe: integer to string? Pin
Gary R. Wheeler5-Mar-06 2:22
Gary R. Wheeler5-Mar-06 2:22 
AnswerRe: integer to string? Pin
Stephen Hewitt5-Mar-06 2:35
Stephen Hewitt5-Mar-06 2:35 
AnswerRe: integer to string? Pin
Michael Dunn5-Mar-06 6:27
sitebuilderMichael Dunn5-Mar-06 6:27 
AnswerRe: integer to string? Pin
John R. Shaw5-Mar-06 14:46
John R. Shaw5-Mar-06 14:46 
AnswerRe: integer to string? Pin
Pacificat0r7-Mar-06 10:52
Pacificat0r7-Mar-06 10:52 
QuestionPorting from WinInet to WinHttp 5.1 Pin
shaylin5-Mar-06 2:02
shaylin5-Mar-06 2: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.