Click here to Skip to main content
15,888,070 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what is AFX_OLDPROPSHEETHEADER and GetPropSheetHeader()? Pin
David Crow17-Apr-08 3:51
David Crow17-Apr-08 3:51 
GeneralProblems converting from VC++ 4.2 to VC++ 2005 Pin
Paul Hager17-Apr-08 2:36
Paul Hager17-Apr-08 2:36 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
Maximilien17-Apr-08 2:53
Maximilien17-Apr-08 2:53 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
Paul Hager17-Apr-08 8:20
Paul Hager17-Apr-08 8:20 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
Iain Clarke, Warrior Programmer17-Apr-08 3:25
Iain Clarke, Warrior Programmer17-Apr-08 3:25 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
jhwurmbach17-Apr-08 4:57
jhwurmbach17-Apr-08 4:57 
Questionhow to convert bytes array into int Pin
huma satti17-Apr-08 1:37
huma satti17-Apr-08 1:37 
AnswerRe: how to convert bytes array into int Pin
Iain Clarke, Warrior Programmer17-Apr-08 1:57
Iain Clarke, Warrior Programmer17-Apr-08 1:57 
1/ Read on the posting guidlines - particularly the pre tag. It marks out what is code, and what is text.

2/ You declare t, then don't use it.

3/ You use n, but don;t declare it. Without knowing things like type, we can;t help you much.

3/ buff [0] is a uchar. (buf [0] << 24) is also a uchar - and only has room for 8 bits, and will therefore end up as 0.

4/ Lastly, some help:

DWORD dwResult = 0;

dwResult |= header [22]; // assuming header is a big 'ol array of bytes.
dwResult <<8; // shift it across a bit.
dwResult |= header [23;
dwResult <<= 16; // shift it some more.


Enjoy,

Iain.

Iain Clarke appears because CPallini still cares.

QuestionRe: how to convert bytes array into int Pin
CPallini17-Apr-08 2:06
mveCPallini17-Apr-08 2:06 
GeneralRe: how to convert bytes array into int Pin
Iain Clarke, Warrior Programmer17-Apr-08 3:14
Iain Clarke, Warrior Programmer17-Apr-08 3:14 
AnswerRe: how to convert bytes array into int Pin
Cedric Moonen17-Apr-08 2:00
Cedric Moonen17-Apr-08 2:00 
AnswerRe: how to convert bytes array into int [modified] Pin
CPallini17-Apr-08 2:01
mveCPallini17-Apr-08 2:01 
AnswerRe: how to convert bytes array into int Pin
krmed17-Apr-08 7:17
krmed17-Apr-08 7:17 
GeneralGetting crash report from freezed program Pin
rrrado16-Apr-08 23:36
rrrado16-Apr-08 23:36 
GeneralRe: Getting crash report from freezed program Pin
James R. Twine17-Apr-08 8:02
James R. Twine17-Apr-08 8:02 
GeneralPlz, Help! win32 - edges on buttons Pin
Member 382549316-Apr-08 23:32
Member 382549316-Apr-08 23:32 
QuestionRe: Plz, Help! win32 - edges on buttons Pin
CPallini16-Apr-08 23:50
mveCPallini16-Apr-08 23:50 
JokeRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 1:14
professionalRajesh R Subramanian17-Apr-08 1:14 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Member 382549317-Apr-08 1:22
Member 382549317-Apr-08 1:22 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 1:35
professionalRajesh R Subramanian17-Apr-08 1:35 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Hamid_RT17-Apr-08 1:38
Hamid_RT17-Apr-08 1:38 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
CPallini17-Apr-08 1:48
mveCPallini17-Apr-08 1:48 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 1:53
professionalRajesh R Subramanian17-Apr-08 1:53 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Hamid_RT17-Apr-08 2:00
Hamid_RT17-Apr-08 2:00 
GeneralRe: Plz, Help! win32 - edges on buttons Pin
Rajesh R Subramanian17-Apr-08 2:03
professionalRajesh R Subramanian17-Apr-08 2:03 

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.