Click here to Skip to main content
16,004,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Threads using Class Object functions Pin
David Crow2-Jun-09 2:30
David Crow2-Jun-09 2:30 
GeneralRe: Creating Threads using Class Object functions Pin
norish2-Jun-09 2:09
norish2-Jun-09 2:09 
NewsRe: Creating Threads using Class Object functions Pin
norish2-Jun-09 2:12
norish2-Jun-09 2:12 
AnswerRe: Creating Threads using Class Object functions Pin
Stuart Dootson2-Jun-09 2:25
professionalStuart Dootson2-Jun-09 2:25 
GeneralRe: Creating Threads using Class Object functions Pin
jobin0070072-Jun-09 4:27
jobin0070072-Jun-09 4:27 
GeneralRe: Creating Threads using Class Object functions Pin
Stuart Dootson2-Jun-09 5:13
professionalStuart Dootson2-Jun-09 5:13 
GeneralRe: Creating Threads using Class Object functions Pin
jobin0070072-Jun-09 12:17
jobin0070072-Jun-09 12:17 
GeneralRe: Creating Threads using Class Object functions Pin
Stuart Dootson2-Jun-09 12:30
professionalStuart Dootson2-Jun-09 12:30 
jobin007007 wrote:
3) What is difference between static and dynamic linkage.


Static linking = link against a .lib containing object file - the object files are incorporated into your .exe or .dll
Dynamic linking = link against a .lib that references a DLL - your .exe or .dll will call the DLL when it calls the functions from the library.

jobin007007 wrote:
1) what do you actually mean? Would you be able to make the meaning clearer?


Boost (on Windows) has this really cool mechanism which automatically specifies which Boost libraries the linker should use when making your .exe or .dll. This takes into account various factors like a) what compiler you're using, b) (for Visual C++) what C run-time you're using, c) whether you're building a Debug or Release build. The one thing you have control over is whether a dynamic or static version of the Boost library is used. By using the line I gave you, you are telling Boost that you want to use the DLL version of Boost.Threads, not the other one. Boost will then tell the linker to use the DLL version of Boost.Threads.

jobin007007 wrote:
2) Why is Boost statically linking with my library? or is vice versa? what does that actually mean?


Your library is statically linking the Boost library. This happens because by default, Boost libraries automatically get statically linked.

HTH!!!

jobin007007 wrote:
I am not sure what my C# Project type is.


That doesn't matter.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Creating Threads using Class Object functions Pin
jobin0070072-Jun-09 4:33
jobin0070072-Jun-09 4:33 
GeneralRe: Creating Threads using Class Object functions Pin
Stuart Dootson2-Jun-09 5:25
professionalStuart Dootson2-Jun-09 5:25 
QuestionIs it "ok" to get array length this way Pin
FocusedWolf1-Jun-09 12:46
FocusedWolf1-Jun-09 12:46 
GeneralRe: Is it "ok" to get array length this way Pin
norish1-Jun-09 13:27
norish1-Jun-09 13:27 
GeneralRe: Is it "ok" to get array length this way Pin
FocusedWolf1-Jun-09 16:07
FocusedWolf1-Jun-09 16:07 
AnswerRe: Is it "ok" to get array length this way Pin
Stuart Dootson1-Jun-09 14:43
professionalStuart Dootson1-Jun-09 14:43 
GeneralRe: Is it "ok" to get array length this way Pin
Chris Losinger1-Jun-09 15:35
professionalChris Losinger1-Jun-09 15:35 
GeneralRe: Is it "ok" to get array length this way Pin
FocusedWolf1-Jun-09 16:15
FocusedWolf1-Jun-09 16:15 
GeneralRe: Is it "ok" to get array length this way Pin
Stuart Dootson1-Jun-09 20:27
professionalStuart Dootson1-Jun-09 20:27 
GeneralRe: Is it "ok" to get array length this way Pin
FocusedWolf2-Jun-09 4:27
FocusedWolf2-Jun-09 4:27 
GeneralRe: Is it "ok" to get array length this way Pin
Stuart Dootson1-Jun-09 20:32
professionalStuart Dootson1-Jun-09 20:32 
QuestionRe: Is it "ok" to get array length this way Pin
David Crow1-Jun-09 17:08
David Crow1-Jun-09 17:08 
AnswerRe: Is it "ok" to get array length this way Pin
FocusedWolf2-Jun-09 4:26
FocusedWolf2-Jun-09 4:26 
AnswerRe: Is it "ok" to get array length this way Pin
gethomast2-Jun-09 2:28
gethomast2-Jun-09 2:28 
QuestionMDI without FileNew message at startup Pin
transoft1-Jun-09 9:09
transoft1-Jun-09 9:09 
AnswerRe: MDI without FileNew message at startup Pin
David Crow1-Jun-09 9:35
David Crow1-Jun-09 9:35 
Questionhelp Pin
ramina sen1-Jun-09 8:33
ramina sen1-Jun-09 8:33 

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.