Click here to Skip to main content
15,917,321 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: sqltype binding Pin
TehMedic15-Aug-04 20:24
TehMedic15-Aug-04 20:24 
GeneralProperty Page problems Pin
giziks14-Aug-04 22:37
giziks14-Aug-04 22:37 
QuestionWhat's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260014-Aug-04 20:01
Link260014-Aug-04 20:01 
AnswerRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 0:51
cmk15-Aug-04 0:51 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 10:18
Link260015-Aug-04 10:18 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 12:41
cmk15-Aug-04 12:41 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 14:12
Link260015-Aug-04 14:12 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 15:11
cmk15-Aug-04 15:11 
Alex Ngai wrote:
That means I should set all of them to Multi-threaded DLL? However,
project.exe is not an DLL, should I set it to Multi-threaded DLL?


Yes. What you are specifying, for each project exe or dll, is how you want to access the CRT functions.

CRT stands for C RunTime library. As Peter mentions, it is where all the standard C functions are e.g. fopen(), malloc(), free(), strcmp(), ... If you use any of these C functions then you will need to link to the CRT. It is possible to use similar functions provided by Win32 and not use any CRT function, in which case this whole conversation is moot.

All the mutli-threaded issues arise because it wasn't an issue when C was being developed and so the CRT functions weren't developed to support MT programming. To get them to support MT requires a bit of a hack - hence these linking options.


...cmk

Save the whales - collect the whole set
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 15:37
Link260015-Aug-04 15:37 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 17:09
cmk15-Aug-04 17:09 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 17:20
Link260015-Aug-04 17:20 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
cmk15-Aug-04 21:43
cmk15-Aug-04 21:43 
AnswerRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
peterchen15-Aug-04 0:54
peterchen15-Aug-04 0:54 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
Link260015-Aug-04 14:21
Link260015-Aug-04 14:21 
GeneralRe: What's the difference between Multi-threaded and Multi-threaded DLL? Pin
peterchen15-Aug-04 14:34
peterchen15-Aug-04 14:34 
GeneralLink Problems Pin
Jnewg514-Aug-04 17:11
Jnewg514-Aug-04 17:11 
GeneralRe: Link Problems Pin
Ryan Binns15-Aug-04 18:33
Ryan Binns15-Aug-04 18:33 
GeneralRegistry change event Pin
RoyceF14-Aug-04 16:35
RoyceF14-Aug-04 16:35 
GeneralRe: Registry change event Pin
Scozturk14-Aug-04 22:54
professionalScozturk14-Aug-04 22:54 
GeneralRe: Registry change event Pin
RoyceF15-Aug-04 9:43
RoyceF15-Aug-04 9:43 
GeneralRe: Registry change event Pin
Scozturk16-Aug-04 2:30
professionalScozturk16-Aug-04 2:30 
QuestionWIN 32 programming questions. what do these libraries do? Pin
Link260014-Aug-04 15:00
Link260014-Aug-04 15:00 
AnswerRe: WIN 32 programming questions. what do these libraries do? Pin
Ravi Bhavnani14-Aug-04 15:12
professionalRavi Bhavnani14-Aug-04 15:12 
GeneralRe: WIN 32 programming questions. what do these libraries do? Pin
Link260014-Aug-04 15:16
Link260014-Aug-04 15:16 
GeneralRe: WIN 32 programming questions. what do these libraries do? Pin
Ravi Bhavnani14-Aug-04 15:22
professionalRavi Bhavnani14-Aug-04 15:22 

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.