Click here to Skip to main content
15,886,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hooking OleGetClipboard Pin
Member 382162030-Aug-10 3:17
Member 382162030-Aug-10 3:17 
GeneralRe: Hooking OleGetClipboard Pin
Code-o-mat30-Aug-10 3:30
Code-o-mat30-Aug-10 3:30 
GeneralRe: Hooking OleGetClipboard Pin
Member 382162030-Aug-10 4:32
Member 382162030-Aug-10 4:32 
GeneralRe: Hooking OleGetClipboard Pin
Code-o-mat30-Aug-10 4:37
Code-o-mat30-Aug-10 4:37 
QuestionThe header file process.h Pin
Danzy8328-Aug-10 3:41
Danzy8328-Aug-10 3:41 
AnswerRe: The header file process.h Pin
«_Superman_»28-Aug-10 4:47
professional«_Superman_»28-Aug-10 4:47 
GeneralRe: The header file process.h Pin
markkuk28-Aug-10 5:30
markkuk28-Aug-10 5:30 
AnswerRe: The header file process.h PinPopular
Aescleal28-Aug-10 5:00
Aescleal28-Aug-10 5:00 
It's not a standard header, it tends to be Microsoft C and it's descendents and workalikes that implement it.

So if you want to create a portable threading application then get a portable library. Your options for this include:

- Use C++0x. Unfortunately a complete implementation of this on all the platforms you want us unlikely to be supported soon. VC++ 2010 for example doesn't have the threads library in it

- Use Boost - this is a good choice as it's largely upwards compatible with the upcoming C++ standard and is maintained by Anthony Williams one of the main test implementers of the new standard

- Use some other portable library, e.g. find something like pthreads for windows and use them on all your platforms. The problem is that pthreads is pretty low level - it's really one of the assembly languages of concurrent programming

Out of those I'd go with boost as the code you write today will probably work for the next 5 years and will be fairly easy to port to whatever C++0x compilers we've got then.

Cheers,

Ash
GeneralRe: The header file process.h Pin
Sauro Viti28-Aug-10 6:00
professionalSauro Viti28-Aug-10 6:00 
GeneralRe: The header file process.h Pin
Paul Michalik29-Aug-10 1:07
Paul Michalik29-Aug-10 1:07 
Questionhow do I handle the VSCROLL from CMFCRibbonEdit on ribbon in CMainFrame? Pin
andrewxiang27-Aug-10 17:58
andrewxiang27-Aug-10 17:58 
QuestionHow to declare pointer to member function Pin
Danzy8327-Aug-10 14:02
Danzy8327-Aug-10 14:02 
AnswerRe: How to declare pointer to member function Pin
Luc Pattyn27-Aug-10 15:08
sitebuilderLuc Pattyn27-Aug-10 15:08 
AnswerRe: How to declare pointer to member function Pin
wsauer27-Aug-10 18:12
wsauer27-Aug-10 18:12 
GeneralRe: How to declare pointer to member function Pin
Aescleal27-Aug-10 20:19
Aescleal27-Aug-10 20:19 
GeneralRe: How to declare pointer to member function Pin
Niklas L27-Aug-10 21:15
Niklas L27-Aug-10 21:15 
GeneralRe: How to declare pointer to member function Pin
Aescleal27-Aug-10 22:21
Aescleal27-Aug-10 22:21 
AnswerRe: How to declare pointer to member function Pin
«_Superman_»27-Aug-10 18:20
professional«_Superman_»27-Aug-10 18:20 
AnswerRe: How to declare pointer to member function Pin
Paul Michalik28-Aug-10 0:55
Paul Michalik28-Aug-10 0:55 
GeneralRe: How to declare pointer to member function Pin
Aescleal28-Aug-10 4:52
Aescleal28-Aug-10 4:52 
GeneralRe: How to declare pointer to member function Pin
Paul Michalik28-Aug-10 9:52
Paul Michalik28-Aug-10 9:52 
GeneralRe: How to declare pointer to member function Pin
Aescleal28-Aug-10 11:10
Aescleal28-Aug-10 11:10 
GeneralRe: How to declare pointer to member function Pin
Paul Michalik28-Aug-10 21:40
Paul Michalik28-Aug-10 21:40 
QuestionAfxGetMainWnd() returns the window of another application!!!! Pin
VCSharp00727-Aug-10 0:08
VCSharp00727-Aug-10 0:08 
Questionwindow controls are not getting resized while dragging the window Pin
arun_pk27-Aug-10 0:04
arun_pk27-Aug-10 0:04 

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.