Click here to Skip to main content
16,003,555 members
Home / Discussions / System Admin
   

System Admin

 
QuestionSet default setting for new user Pin
Mekong River16-Jan-06 14:39
Mekong River16-Jan-06 14:39 
AnswerRe: Set default setting for new user Pin
Dave Kreskowiak16-Jan-06 15:48
mveDave Kreskowiak16-Jan-06 15:48 
GeneralRe: Set default setting for new user Pin
Mekong River16-Jan-06 16:22
Mekong River16-Jan-06 16:22 
GeneralRe: Set default setting for new user Pin
Mekong River8-Feb-06 4:21
Mekong River8-Feb-06 4:21 
QuestionOpen IE if system idle for 5 minutes Pin
maneeshbakshi16-Jan-06 11:36
maneeshbakshi16-Jan-06 11:36 
AnswerRe: Open IE if system idle for 5 minutes Pin
Mekong River16-Jan-06 14:12
Mekong River16-Jan-06 14:12 
Questionresource.h Pin
aa814-Jan-06 10:58
aa814-Jan-06 10:58 
AnswerRe: resource.h Pin
Mike Dimmick15-Jan-06 3:01
Mike Dimmick15-Jan-06 3:01 
Top-level resources can be identified either by number or using a string. Controls on a dialog must always have a numeric identifier. The resource (.rc) file is run through a preprocessor, the same as a .cpp file is. The preprocessor substitutes tokens for their definitions, so any use of IDR_MENU is replaced by the number 101.

Any resources whose identifier is still a string after the preprocessor pass will end up in the final binary using that string, so if you deleted the IDR_MENU definition from resource.h entirely, you would then have to use the versions of resource loading functions that accept a string argument. The core Win32 API only offers resource-loading functions that accept a string argument; to use a numeric identifier you must use the MAKEINTRESOURCE macro.

If you just had #define IDR_MENU that would tell the preprocessor - both the resource file preprocessor and the C++ preprocessor - to replace all instances of IDR_MENU with an empty string. That would not compile.

Stability. What an interesting concept. -- Chris Maunder
QuestionXYNTService Pin
noelmn12-Jan-06 2:17
noelmn12-Jan-06 2:17 
AnswerRe: XYNTService Pin
Curtis Schlak.12-Jan-06 2:51
Curtis Schlak.12-Jan-06 2:51 
GeneralRe: XYNTService Pin
noelmn12-Jan-06 3:11
noelmn12-Jan-06 3:11 
GeneralRe: XYNTService Pin
noelmn12-Jan-06 6:14
noelmn12-Jan-06 6:14 
GeneralRe: XYNTService Pin
Curtis Schlak.12-Jan-06 10:27
Curtis Schlak.12-Jan-06 10:27 
GeneralRe: XYNTService Pin
Xiangyang Liu 刘向阳12-Jan-06 6:44
Xiangyang Liu 刘向阳12-Jan-06 6:44 
GeneralRe: XYNTService Pin
noelmn12-Jan-06 9:24
noelmn12-Jan-06 9:24 
GeneralRe: XYNTService Pin
Xiangyang Liu 刘向阳12-Jan-06 15:29
Xiangyang Liu 刘向阳12-Jan-06 15:29 
GeneralRe: XYNTService Pin
Curtis Schlak.12-Jan-06 10:26
Curtis Schlak.12-Jan-06 10:26 
GeneralRe: XYNTService Pin
Xiangyang Liu 刘向阳12-Jan-06 15:37
Xiangyang Liu 刘向阳12-Jan-06 15:37 
GeneralRe: XYNTService Pin
Curtis Schlak.13-Jan-06 1:48
Curtis Schlak.13-Jan-06 1:48 
Questionhow to logon to another windows XP from my system Pin
ashu_sharma2110-Jan-06 19:38
ashu_sharma2110-Jan-06 19:38 
AnswerRe: how to logon to another windows XP from my system Pin
WoutL10-Jan-06 21:23
WoutL10-Jan-06 21:23 
GeneralRe: how to logon to another windows XP from my system Pin
ashu_sharma2110-Jan-06 23:19
ashu_sharma2110-Jan-06 23:19 
AnswerRe: how to logon to another windows XP from my system Pin
Mekong River15-Jan-06 1:51
Mekong River15-Jan-06 1:51 
QuestionMSCS hardware requirements Pin
devvvy9-Jan-06 16:45
devvvy9-Jan-06 16:45 
AnswerRe: MSCS hardware requirements Pin
Mike Dimmick10-Jan-06 4:28
Mike Dimmick10-Jan-06 4:28 

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.