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

C / C++ / MFC

 
GeneralRe: it's much slower when using boost::pool_allocator and boost::object_pool Pin
followait25-Mar-11 20:13
followait25-Mar-11 20:13 
QuestionCall a extern variable from Application class Pin
Jokcy12-Mar-11 16:35
Jokcy12-Mar-11 16:35 
AnswerRe: Call a extern variable from Application class Pin
David Crow12-Mar-11 17:04
David Crow12-Mar-11 17:04 
GeneralRe: Call a extern variable from Application class Pin
Jokcy12-Mar-11 21:07
Jokcy12-Mar-11 21:07 
GeneralRe: Call a extern variable from Application class Pin
David Crow13-Mar-11 13:09
David Crow13-Mar-11 13:09 
GeneralRe: Call a extern variable from Application class Pin
Jokcy15-Mar-11 21:35
Jokcy15-Mar-11 21:35 
AnswerRe: Call a extern variable from Application class Pin
«_Superman_»12-Mar-11 17:42
professional«_Superman_»12-Mar-11 17:42 
GeneralRe: Call a extern variable from Application class [modified] Pin
Jokcy12-Mar-11 21:16
Jokcy12-Mar-11 21:16 
GeneralRe: Call a extern variable from Application class Pin
«_Superman_»12-Mar-11 22:03
professional«_Superman_»12-Mar-11 22:03 
GeneralRe: Call a extern variable from Application class Pin
Jokcy13-Mar-11 1:34
Jokcy13-Mar-11 1:34 
AnswerRe: Call a extern variable from Application class Pin
Richard MacCutchan12-Mar-11 22:44
mveRichard MacCutchan12-Mar-11 22:44 
GeneralRe: Call a extern variable from Application class Pin
Jokcy12-Mar-11 23:01
Jokcy12-Mar-11 23:01 
GeneralRe: Call a extern variable from Application class Pin
Richard MacCutchan13-Mar-11 2:03
mveRichard MacCutchan13-Mar-11 2:03 
GeneralRe: Call a extern variable from Application class Pin
Jokcy13-Mar-11 3:14
Jokcy13-Mar-11 3:14 
GeneralRe: Call a extern variable from Application class Pin
Richard MacCutchan13-Mar-11 4:23
mveRichard MacCutchan13-Mar-11 4:23 
GeneralRe: Call a extern variable from Application class Pin
Jokcy14-Mar-11 21:40
Jokcy14-Mar-11 21:40 
QuestionLoad Bitmap with CreateCompatibleBitmap Pin
leorex12-Mar-11 16:23
leorex12-Mar-11 16:23 
AnswerRe: Load Bitmap with CreateCompatibleBitmap Pin
bob1697212-Mar-11 18:07
bob1697212-Mar-11 18:07 
GeneralRe: Load Bitmap with CreateCompatibleBitmap Pin
leorex12-Mar-11 18:11
leorex12-Mar-11 18:11 
GeneralRe: Load Bitmap with CreateCompatibleBitmap Pin
bob1697212-Mar-11 19:55
bob1697212-Mar-11 19:55 
AnswerRe: Load Bitmap with CreateCompatibleBitmap Pin
Richard MacCutchan12-Mar-11 22:49
mveRichard MacCutchan12-Mar-11 22:49 
AnswerRe: Load Bitmap with CreateCompatibleBitmap Pin
Hans Dietrich13-Mar-11 0:15
mentorHans Dietrich13-Mar-11 0:15 
QuestionGdplus::Color to DWORD Pin
csrss12-Mar-11 8:56
csrss12-Mar-11 8:56 
AnswerRe: Gdplus::Color to DWORD Pin
bob1697212-Mar-11 9:37
bob1697212-Mar-11 9:37 
AnswerRe: Gdplus::Color to DWORD Pin
Luc Pattyn12-Mar-11 10:05
sitebuilderLuc Pattyn12-Mar-11 10:05 
assuming all input values are in the [0,255] range, all it takes IMO is
(((((arg0<<8) | arg1) <<8) | arg2) <<8) | arg3


which is best implemented as an unsigned integer expression (otherwise it could give an overflow under some circumstances).

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

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.