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

C / C++ / MFC

 
QuestionHow to show transparent image (a .png or .gif file ) in MFC Pin
Amrit Agr23-Jan-12 3:12
Amrit Agr23-Jan-12 3:12 
AnswerRe: How to show transparent image (a .png or .gif file ) in MFC Pin
Eugen Podsypalnikov23-Jan-12 5:01
Eugen Podsypalnikov23-Jan-12 5:01 
QuestionHow to use 'using' in MFC (in Visual C++ .NET) Pin
Rajeswari, T.22-Jan-12 20:26
Rajeswari, T.22-Jan-12 20:26 
AnswerRe: How to use 'using' in MFC (in Visual C++ .NET) Pin
Andy41122-Jan-12 20:45
Andy41122-Jan-12 20:45 
AnswerRe: How to use 'using' in MFC (in Visual C++ .NET) Pin
Stefan_Lang23-Jan-12 3:26
Stefan_Lang23-Jan-12 3:26 
QuestionCFILE::READ replacing x20's with x0a x0a Pin
ForNow22-Jan-12 14:57
ForNow22-Jan-12 14:57 
GeneralRe: CFILE::READ replacing x20's with x0a x0a Pin
David Crow22-Jan-12 16:27
David Crow22-Jan-12 16:27 
GeneralRe: CFILE::READ replacing x20's with x0a x0a Pin
ForNow22-Jan-12 18:44
ForNow22-Jan-12 18:44 
e.g. This how the file appears when open it under note pad

Options for this Assembly
0 NOADATA
ALIGN
ASA
BATCH
CODEPAGE(047C)
NOCOMPAT
NODBCS
NODECK
DXREF
ESD
NOEXIT

NOPCONTROL
NOPESTOP


here is how the file looks in memory using CFILE::READ(pbuf,121)

0x001AA3C8 54 0d 0a 20 20 20 20 20 4f 50 54 41 42 4c 45 28 55 4e 49 2c 4e 4f 4c 49 53 54 29 0d 0a 20 20 20 4e 4f 50 43 4f 4e 54 52 4f 4c 0d 0a 20 20 20 4e 4f 50 45 53 54 4f 50 0d 0a 20 T.. OPTABLE(UNI,NOLIST).. NOPCONTROL.. NOPESTOP..
0x001AA402 20 20 4e 4f 50 52 4f 46 49 4c 45 0d 0a 20 20 20 4e 4f 52 41 32 0d 0a 20 20 20 4e 4f 52 45 4e 54 0d 0a 20 20 20 20 20 52 4c 44 0d 0a 20 20 20 20 20 52 58 52 45 46 0d 0a 20 20 NOPROFILE.. NORA2.. NORENT.. RLD.. RXREF..



for example the are at least over 100 blanks "0x20" between NOPCONTROL and NOPSTOP They are being truncated discregarded After the text NOPCONTROL all blanks following are being disregarded and replaced by carriage reuturn X0D and line feed 0x0A
GeneralRe: CFILE::READ replacing x20's with x0a x0a Pin
«_Superman_»22-Jan-12 19:34
professional«_Superman_»22-Jan-12 19:34 
GeneralRe: CFILE::READ replacing x20's with x0a x0a Pin
ForNow22-Jan-12 20:04
ForNow22-Jan-12 20:04 
GeneralRe: CFILE::READ replacing x20's with x0a x0a Pin
Richard MacCutchan22-Jan-12 22:44
mveRichard MacCutchan22-Jan-12 22:44 
QuestionBinary serialization Pin
mutpan19-Jan-12 19:01
mutpan19-Jan-12 19:01 
AnswerRe: Binary serialization Pin
«_Superman_»19-Jan-12 19:28
professional«_Superman_»19-Jan-12 19:28 
AnswerRe: Binary serialization Pin
Richard MacCutchan19-Jan-12 22:57
mveRichard MacCutchan19-Jan-12 22:57 
QuestionUpdated question( What's wrong in previous location of an object ? ) Pin
love bird19-Jan-12 3:17
love bird19-Jan-12 3:17 
AnswerRe: Updated question( What's wrong in previous location of an object ? ) Pin
Richard MacCutchan19-Jan-12 3:26
mveRichard MacCutchan19-Jan-12 3:26 
GeneralRe: Updated question( What's wrong in previous location of an object ? ) Pin
love bird19-Jan-12 3:29
love bird19-Jan-12 3:29 
GeneralRe: Updated question( What's wrong in previous location of an object ? ) Pin
Richard MacCutchan19-Jan-12 3:53
mveRichard MacCutchan19-Jan-12 3:53 
GeneralRe: Updated question( What's wrong in previous location of an object ? ) Pin
jschell19-Jan-12 8:29
jschell19-Jan-12 8:29 
GeneralRe: Updated question( What's wrong in previous location of an object ? ) Pin
Richard MacCutchan19-Jan-12 8:48
mveRichard MacCutchan19-Jan-12 8:48 
GeneralRe: Updated question( What's wrong in previous location of an object ? ) Pin
Albert Holguin19-Jan-12 4:06
professionalAlbert Holguin19-Jan-12 4:06 
GeneralRe: Updated question( What's wrong in previous location of an object ? ) Pin
love bird19-Jan-12 4:12
love bird19-Jan-12 4:12 
GeneralRe: Updated question( What's wrong in previous location of an object ? ) Pin
Richard MacCutchan20-Jan-12 1:59
mveRichard MacCutchan20-Jan-12 1:59 
QuestionWhat's wrong in previous location of an object ? Pin
love bird19-Jan-12 2:09
love bird19-Jan-12 2:09 
QuestionRe: What's wrong in previous location of an object ? Pin
CPallini19-Jan-12 2:16
mveCPallini19-Jan-12 2:16 

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.