Click here to Skip to main content
15,904,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can we set any time limit for a thread to run Pin
«_Superman_»10-Jan-11 6:44
professional«_Superman_»10-Jan-11 6:44 
Questionhow to show 10thousand items in menu? [modified] Pin
yogish29310-Jan-11 2:42
yogish29310-Jan-11 2:42 
AnswerRe: how to show 10thousand items in menu? PinPopular
HimanshuJoshi10-Jan-11 3:20
HimanshuJoshi10-Jan-11 3:20 
AnswerRe: how to show 10thousand items in menu? Pin
User 742933810-Jan-11 3:25
professionalUser 742933810-Jan-11 3:25 
AnswerRe: how to show 10thousand items in menu? PinPopular
Richard MacCutchan10-Jan-11 3:58
mveRichard MacCutchan10-Jan-11 3:58 
AnswerRe: how to show 10thousand items in menu? Pin
Yusuf10-Jan-11 6:12
Yusuf10-Jan-11 6:12 
AnswerRe: how to show 10thousand items in menu? Pin
Stefan_Lang10-Jan-11 6:40
Stefan_Lang10-Jan-11 6:40 
AnswerRe: how to show 10thousand items in menu? Pin
«_Superman_»10-Jan-11 6:49
professional«_Superman_»10-Jan-11 6:49 
AnswerRe: how to show 10thousand items in menu? Pin
CPallini10-Jan-11 8:22
mveCPallini10-Jan-11 8:22 
AnswerRe: how to show 10thousand items in menu? Pin
Rolf Kristensen10-Jan-11 9:20
Rolf Kristensen10-Jan-11 9:20 
AnswerRe: how to show 10thousand items in menu? Pin
bleedingfingers10-Jan-11 23:37
bleedingfingers10-Jan-11 23:37 
AnswerRe: how to show 10thousand items in menu? Pin
yu-jian12-Jan-11 3:02
yu-jian12-Jan-11 3:02 
QuestionAny library/dll using which i can convert jpeg images to mp4 video Pin
kapardhi10-Jan-11 0:29
kapardhi10-Jan-11 0:29 
QuestionCheck box in list control Pin
MKC0029-Jan-11 21:21
MKC0029-Jan-11 21:21 
QuestionRe: Check box in list control Pin
David Crow10-Jan-11 5:38
David Crow10-Jan-11 5:38 
Questionequivalent code for filedescriptor in vs10 Pin
gomathylakshmanan9-Jan-11 19:48
gomathylakshmanan9-Jan-11 19:48 
QuestionSHFILEINFO read icon throw exception Pin
yu-jian9-Jan-11 19:34
yu-jian9-Jan-11 19:34 
QuestionRe: SHFILEINFO read icon throw exception Pin
CPallini9-Jan-11 21:31
mveCPallini9-Jan-11 21:31 
AnswerRe: SHFILEINFO read icon throw exception Pin
Richard MacCutchan9-Jan-11 23:05
mveRichard MacCutchan9-Jan-11 23:05 
GeneralRe: SHFILEINFO read icon throw exception Pin
yu-jian13-Jan-11 0:57
yu-jian13-Jan-11 0:57 
QuestionHow to show different window layout Pin
cy163@hotmail.com9-Jan-11 1:11
cy163@hotmail.com9-Jan-11 1:11 
AnswerRe: How to show different window layout Pin
«_Superman_»9-Jan-11 6:45
professional«_Superman_»9-Jan-11 6:45 
QuestionAnother academic question - compiler options or #pragma ? Pin
Vaclav_8-Jan-11 9:28
Vaclav_8-Jan-11 9:28 
AnswerRe: Another academic question - compiler options or #pragma ? Pin
Aescleal8-Jan-11 9:44
Aescleal8-Jan-11 9:44 
AnswerRe: Another academic question - compiler options or #pragma ? Pin
T21028-Jan-11 13:20
T21028-Jan-11 13:20 
To link in libraries, the header files that require the library use #pragma to include the library. I do not use compiler options since I do not want to include libraries that I do not need or might not need in the future if I no longer use a specific header. Another reason I prefer not to use compiler options is that I have had a lot of extra work porting Visual C++ to newer editions when some compiler options such as include directories were thrown out.

Note that you should also might use #pragma message to list libraries that have included when you set a particular preprocessor flag. This would make porting to another compiler that does not support #pragma easier.

When I do use compiler options, I use one of a few .props files with some project specific settings for things like preprocessor macros. I do not modify project settings via the GUI provided with Visual C++, except for a handful of options that do not load properly from props files.

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.