Click here to Skip to main content
15,893,401 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Bit manipulation useing "Bit Field" in C++ Pin
Stuart Dootson3-Jan-09 17:02
professionalStuart Dootson3-Jan-09 17:02 
What type is aBytes?

I'll presume it's a char or BYTE pointer. You want to increment it by sizeof (struct CHUNKS), as you want to manipulate items of that type. One wrinkle - making sure you don't increment off the end of the byte array and making sure that all of a CHUNK is in the array.

Anyway - try this:

for (int chunkCountor = 0; chunkCountor < Size_Of_aBytes/sizeof (struct CHUNKS); chunkCountor++)
{
        pChunk = ((CHUNKS*) (aBytes)) + chunkCountor;
        //From now on I expected to access my favorite values using <pchunk -=""> First>, ...
}</pchunk>

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 
QuestionReleasing memory occupied by controls Pin
VCProgrammer2-Jan-09 19:06
VCProgrammer2-Jan-09 19:06 

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.