Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCTreeCtrl CheckBox Pin
JBAK_CP27-Oct-06 15:19
JBAK_CP27-Oct-06 15:19 
AnswerRe: CTreeCtrl CheckBox Pin
Gary R. Wheeler29-Oct-06 1:54
Gary R. Wheeler29-Oct-06 1:54 
QuestionReturn from function Pin
Oliver12327-Oct-06 11:04
Oliver12327-Oct-06 11:04 
AnswerRe: Return from function Pin
led mike27-Oct-06 11:09
led mike27-Oct-06 11:09 
QuestionDWORD to LPCVOID Pin
Cyclone0227-Oct-06 9:27
Cyclone0227-Oct-06 9:27 
AnswerRe: DWORD to LPCVOID Pin
David Crow27-Oct-06 10:16
David Crow27-Oct-06 10:16 
QuestionRe: DWORD to LPCVOID [modified] Pin
Cyclone0228-Oct-06 7:07
Cyclone0228-Oct-06 7:07 
AnswerRe: DWORD to LPCVOID Pin
Mark Salsbery29-Oct-06 7:17
Mark Salsbery29-Oct-06 7:17 
You're trying to do pointer arithmetic on void pointers. The compiler doesn't know the size
of void so it can't add the pointers. You need to use an appropriate pointer type (LPBYTE,
LPWORD, etc.) for the arithmetic then cast the result to a LPCVOID.

Without knowing what types lpBaseAddress, RealStart, and FakeStart are I can't show you example
code Smile | :)

Mark

GeneralRe: DWORD to LPCVOID Pin
Cyclone0229-Oct-06 8:59
Cyclone0229-Oct-06 8:59 
GeneralRe: DWORD to LPCVOID Pin
Mark Salsbery29-Oct-06 9:25
Mark Salsbery29-Oct-06 9:25 
GeneralRe: DWORD to LPCVOID Pin
Cyclone0230-Oct-06 5:57
Cyclone0230-Oct-06 5:57 
QuestionCan I use bits instead of bytes? Pin
Lord Kixdemp27-Oct-06 9:08
Lord Kixdemp27-Oct-06 9:08 
AnswerRe: Can I use bits instead of bytes? Pin
led mike27-Oct-06 9:16
led mike27-Oct-06 9:16 
GeneralRe: Can I use bits instead of bytes? Pin
Lord Kixdemp27-Oct-06 9:24
Lord Kixdemp27-Oct-06 9:24 
AnswerRe: Can I use bits instead of bytes? Pin
George L. Jackson27-Oct-06 12:07
George L. Jackson27-Oct-06 12:07 
GeneralRe: Can I use bits instead of bytes? Pin
Michael Dunn27-Oct-06 16:15
sitebuilderMichael Dunn27-Oct-06 16:15 
GeneralRe: Can I use bits instead of bytes? Pin
George L. Jackson27-Oct-06 16:48
George L. Jackson27-Oct-06 16:48 
GeneralRe: Can I use bits instead of bytes? Pin
Lord Kixdemp27-Oct-06 20:11
Lord Kixdemp27-Oct-06 20:11 
GeneralRe: Can I use bits instead of bytes? Pin
Prakash Nadar27-Oct-06 22:11
Prakash Nadar27-Oct-06 22:11 
GeneralRe: Can I use bits instead of bytes? Pin
Lord Kixdemp28-Oct-06 12:21
Lord Kixdemp28-Oct-06 12:21 
GeneralRe: Can I use bits instead of bytes? Pin
Prakash Nadar29-Oct-06 22:15
Prakash Nadar29-Oct-06 22:15 
GeneralRe: Can I use bits instead of bytes? Pin
Gary R. Wheeler29-Oct-06 2:02
Gary R. Wheeler29-Oct-06 2:02 
GeneralRe: Can I use bits instead of bytes? Pin
George L. Jackson29-Oct-06 9:52
George L. Jackson29-Oct-06 9:52 
Question3-in-1 project? Pin
Joe Smith IX27-Oct-06 6:41
Joe Smith IX27-Oct-06 6:41 
AnswerRe: 3-in-1 project? Pin
Mark Salsbery27-Oct-06 7:00
Mark Salsbery27-Oct-06 7:00 

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.