Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Popup Menu Pin
korte253-Jan-09 7:46
korte253-Jan-09 7:46 
GeneralRe: Popup Menu Pin
Michael Dunn3-Jan-09 18:39
sitebuilderMichael Dunn3-Jan-09 18:39 
GeneralRe: Popup Menu Pin
korte253-Jan-09 22:05
korte253-Jan-09 22:05 
GeneralRe: Popup Menu Pin
korte253-Jan-09 22:25
korte253-Jan-09 22:25 
GeneralRe: Popup Menu Pin
Stephen Hewitt3-Jan-09 21:55
Stephen Hewitt3-Jan-09 21:55 
GeneralRe: Popup Menu Pin
korte253-Jan-09 22:06
korte253-Jan-09 22:06 
QuestionBit manipulation useing "Bit Field" in C++ Pin
Joseph Marzbani3-Jan-09 5:43
Joseph Marzbani3-Jan-09 5:43 
GeneralRe: Bit manipulation useing "Bit Field" in C++ Pin
Luc Pattyn3-Jan-09 6:07
sitebuilderLuc Pattyn3-Jan-09 6:07 
Hi Jusef,

iCountor is counting 4-byte integers and you want the pChunk pointer to advance by 4 bytes, however aBytes is a char pointer, so adding iCountor to it is not correct. You should use one of these:
pChunk = (CHUNKS*) (aBytes + 4*iCountor);
pChunk = ((CHUNKS*)aBytes) + iCountor;

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Love, happiness and fewer bugs for 2009!


AnswerRe: Bit manipulation useing "Bit Field" in C++ Pin
Stuart Dootson3-Jan-09 17:02
professionalStuart Dootson3-Jan-09 17:02 
AnswerRe: Bit manipulation useing "Bit Field" in C++ Pin
krmed4-Jan-09 3:33
krmed4-Jan-09 3:33 
QuestionDebug Assertion Failure Pin
bhanu_85093-Jan-09 1:32
bhanu_85093-Jan-09 1:32 
AnswerRe: Debug Assertion Failure Pin
SandipG 3-Jan-09 1:39
SandipG 3-Jan-09 1:39 
AnswerRe: Debug Assertion Failure Pin
ThatsAlok5-Jan-09 0:28
ThatsAlok5-Jan-09 0:28 
Questionhelp me... Pin
surender992-Jan-09 21:58
surender992-Jan-09 21:58 
AnswerRe: help me... Pin
Code-o-mat3-Jan-09 3:22
Code-o-mat3-Jan-09 3:22 
QuestionHow can Create new rect with width? Pin
Le@rner2-Jan-09 20:05
Le@rner2-Jan-09 20:05 
AnswerRe: How can Create new rect with width? Pin
Hamid_RT2-Jan-09 20:27
Hamid_RT2-Jan-09 20:27 
GeneralRe: How can Create new rect with width? Pin
Le@rner2-Jan-09 20:47
Le@rner2-Jan-09 20:47 
GeneralRe: How can Create new rect with width? Pin
Hamid_RT3-Jan-09 0:16
Hamid_RT3-Jan-09 0:16 
AnswerRe: How can Create new rect with width? Pin
CPallini2-Jan-09 20:50
mveCPallini2-Jan-09 20:50 
GeneralRe: How can Create new rect with width? Pin
Le@rner2-Jan-09 20:55
Le@rner2-Jan-09 20:55 
GeneralRe: How can Create new rect with width? Pin
CPallini2-Jan-09 21:04
mveCPallini2-Jan-09 21:04 
GeneralRe: How can Create new rect with width? Pin
Le@rner2-Jan-09 21:16
Le@rner2-Jan-09 21:16 
GeneralRe: How can Create new rect with width? Pin
CPallini3-Jan-09 2:49
mveCPallini3-Jan-09 2:49 
AnswerRe: How can Create new rect with width? Pin
Michael Dunn3-Jan-09 18:41
sitebuilderMichael Dunn3-Jan-09 18:41 

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.