Click here to Skip to main content
15,889,992 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionextend the "Save As..." dialog Pin
carabutnicolae123427-Sep-07 5:39
carabutnicolae123427-Sep-07 5:39 
AnswerRe: extend the "Save As..." dialog Pin
Nelek28-Sep-07 0:37
protectorNelek28-Sep-07 0:37 
GeneralRe: extend the "Save As..." dialog Pin
carabutnicolae123428-Sep-07 3:52
carabutnicolae123428-Sep-07 3:52 
GeneralRe: extend the "Save As..." dialog Pin
Nelek30-Sep-07 22:09
protectorNelek30-Sep-07 22:09 
QuestionNewbie question Pin
Nelek27-Sep-07 4:35
protectorNelek27-Sep-07 4:35 
AnswerRe: Newbie question Pin
toxcct27-Sep-07 4:47
toxcct27-Sep-07 4:47 
GeneralRe: Newbie question Pin
Nelek27-Sep-07 5:02
protectorNelek27-Sep-07 5:02 
AnswerRe: Newbie question Pin
Matthew Faithfull27-Sep-07 4:54
Matthew Faithfull27-Sep-07 4:54 
AS long as you restrict yourself to 32bit x86 programming, an unsigned long, DWORD and 4 BYTES can all be equivalent. In 'modern' C++ you might use
static const unsigned long PC_MAGIC = 0x23958670;
within a class definition and sizeof(unsigned long); to give you the number of bytes this actually takes up. These days it's wise to consider both 32 and 64 bit scenarios and perhaps even the mysteries of 'byte ordering' and 'endianness', depending on how portable you want your code to be. What fun Smile | :)



Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: Newbie question Pin
Nelek27-Sep-07 21:31
protectorNelek27-Sep-07 21:31 
Question"Default" class member Pin
DQNOK27-Sep-07 4:11
professionalDQNOK27-Sep-07 4:11 
AnswerRe: "Default" class member Pin
David Crow27-Sep-07 4:17
David Crow27-Sep-07 4:17 
AnswerRe: "Default" class member Pin
Matthew Faithfull27-Sep-07 4:18
Matthew Faithfull27-Sep-07 4:18 
GeneralRe: "Default" class member Pin
DQNOK27-Sep-07 4:24
professionalDQNOK27-Sep-07 4:24 
GeneralRe: "Default" class member Pin
DQNOK27-Sep-07 4:39
professionalDQNOK27-Sep-07 4:39 
AnswerRe: "Default" class member Pin
led mike27-Sep-07 4:18
led mike27-Sep-07 4:18 
GeneralRe: "Default" class member Pin
DQNOK27-Sep-07 4:35
professionalDQNOK27-Sep-07 4:35 
GeneralRe: "Default" class member Pin
led mike27-Sep-07 4:43
led mike27-Sep-07 4:43 
GeneralRe: "Default" class member Pin
DQNOK27-Sep-07 4:52
professionalDQNOK27-Sep-07 4:52 
GeneralRe: "Default" class member Pin
jhwurmbach27-Sep-07 5:19
jhwurmbach27-Sep-07 5:19 
QuestionProject help (Port programming) Pin
TooFast27-Sep-07 3:42
TooFast27-Sep-07 3:42 
AnswerRe: Project help (Port programming) Pin
Roger Stoltz27-Sep-07 4:23
Roger Stoltz27-Sep-07 4:23 
QuestionDetaching dialog boxes Pin
William Engberts27-Sep-07 2:54
William Engberts27-Sep-07 2:54 
AnswerRe: Detaching dialog boxes Pin
Nelek27-Sep-07 3:06
protectorNelek27-Sep-07 3:06 
AnswerRe: Detaching dialog boxes Pin
KarstenK27-Sep-07 3:09
mveKarstenK27-Sep-07 3:09 
AnswerRe: Detaching dialog boxes Pin
David Crow27-Sep-07 3:12
David Crow27-Sep-07 3:12 

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.