c++ - Any one have used Posix pthread win32 library, dll files -


i trying setup mqueue in win32 env, need pthread win32 lib, http://sourceware.org/pthreads-win32/. 1 knows how link vs project? thanks

you need link 1 of visual c++ .lib files, named differently depending on exception handling wish in library. see faq here, items 2. , 3. further details.

in general:         pthread[vg]{se,ce,c}.dll         pthread[vg]{se,ce,c}.lib  where:         [vg] indicates compiler         v       - ms vc         g       - gnu c          {se,ce,c} indicates exception handling scheme         se      - structured eh         ce      - c++ eh         c       - no exceptions - uses setjmp/longjmp  example:         pthreadvse.dll  (msvc/seh)         pthreadgce.dll  (gnuc/c++ eh)         pthreadgc.dll   (gnuc/not dependent on exceptions) 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -