Click here to Skip to main content
16,008,942 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionShadow after using CFiledialog in the dialog Pin
bhanu_850928-Jul-08 3:44
bhanu_850928-Jul-08 3:44 
AnswerRe: Shadow after using CFiledialog in the dialog Pin
bhanu_850928-Jul-08 4:55
bhanu_850928-Jul-08 4:55 
AnswerRe: Shadow after using CFiledialog in the dialog Pin
Rajesh R Subramanian28-Jul-08 5:31
professionalRajesh R Subramanian28-Jul-08 5:31 
AnswerRe: Shadow after using CFiledialog in the dialog Pin
Mark Salsbery28-Jul-08 7:27
Mark Salsbery28-Jul-08 7:27 
AnswerRe: Shadow after using CFiledialog in the dialog Pin
shivareaj7-Oct-12 23:17
shivareaj7-Oct-12 23:17 
Questionconverting char* into BYTE* Pin
subramanyeswari28-Jul-08 3:17
subramanyeswari28-Jul-08 3:17 
AnswerRe: converting char* into BYTE* Pin
CPallini28-Jul-08 3:22
mveCPallini28-Jul-08 3:22 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 3:33
toxcct28-Jul-08 3:33 
of course, you're looking for devil every where :p

a char* is not always a string Wink | ;)
char c = 'c';
char* pc = &c;
 
BYTE* pb1 = (BYTE*)pc;
BYTE* pb2 = reinterpret_cast<BYTE*>(pc);


BTW, looking at the level of the question, i think it's worth saying that a char IS a BYTE:
char c = 'c';
 
BYTE b = c;



GeneralRe: converting char* into BYTE* Pin
VaDa Um Uie28-Jul-08 3:45
VaDa Um Uie28-Jul-08 3:45 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 3:50
toxcct28-Jul-08 3:50 
GeneralRe: converting char* into BYTE* Pin
VaDa Um Uie28-Jul-08 3:52
VaDa Um Uie28-Jul-08 3:52 
GeneralRe: converting char* into BYTE* Pin
CPallini28-Jul-08 7:20
mveCPallini28-Jul-08 7:20 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 9:04
toxcct28-Jul-08 9:04 
GeneralRe: converting char* into BYTE* Pin
CPallini28-Jul-08 11:34
mveCPallini28-Jul-08 11:34 
AnswerRe: converting char* into BYTE* Pin
Matthew Faithfull28-Jul-08 3:22
Matthew Faithfull28-Jul-08 3:22 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 3:30
toxcct28-Jul-08 3:30 
GeneralRe: converting char* into BYTE* Pin
Matthew Faithfull28-Jul-08 4:11
Matthew Faithfull28-Jul-08 4:11 
GeneralRe: converting char* into BYTE* Pin
Rajesh R Subramanian28-Jul-08 4:30
professionalRajesh R Subramanian28-Jul-08 4:30 
AnswerRe: converting char* into BYTE* Pin
Rajesh R Subramanian28-Jul-08 4:25
professionalRajesh R Subramanian28-Jul-08 4:25 
GeneralRe: converting char* into BYTE* Pin
Matthew Faithfull28-Jul-08 4:53
Matthew Faithfull28-Jul-08 4:53 
JokeI forgot to include the footer: Pin
Rajesh R Subramanian28-Jul-08 5:08
professionalRajesh R Subramanian28-Jul-08 5:08 
QuestionConsole WIndos Size Pin
Andy20228-Jul-08 3:16
Andy20228-Jul-08 3:16 
AnswerRe: Console WIndos Size Pin
Luc Pattyn28-Jul-08 4:25
sitebuilderLuc Pattyn28-Jul-08 4:25 
QuestionHow get to UserName ? (with Windows API) Pin
Member 373633528-Jul-08 2:49
Member 373633528-Jul-08 2:49 
AnswerRe: How get to UserName ? (with Windows API) Pin
Hamid_RT28-Jul-08 2:57
Hamid_RT28-Jul-08 2:57 

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.