Click here to Skip to main content
15,920,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Timer Pin
Balkrishna Talele21-Apr-04 0:15
Balkrishna Talele21-Apr-04 0:15 
GeneralSilly question about std namespace Pin
Jerome Conus20-Apr-04 20:15
Jerome Conus20-Apr-04 20:15 
GeneralRe: Silly question about std namespace Pin
Maxwell Chen20-Apr-04 20:23
Maxwell Chen20-Apr-04 20:23 
GeneralRe: Silly question about std namespace Pin
Jerome Conus20-Apr-04 20:34
Jerome Conus20-Apr-04 20:34 
GeneralRe: Silly question about std namespace Pin
Maxwell Chen20-Apr-04 20:59
Maxwell Chen20-Apr-04 20:59 
GeneralRe: Silly question about std namespace Pin
Mike Dimmick21-Apr-04 0:50
Mike Dimmick21-Apr-04 0:50 
GeneralRe: Silly question about std namespace Pin
Jerome Conus21-Apr-04 1:03
Jerome Conus21-Apr-04 1:03 
GeneralVC++ -> Want to modify a binary file that contain "ab 0e" to "0xab 0x0e". Pin
Pankaj Bhalla20-Apr-04 19:51
Pankaj Bhalla20-Apr-04 19:51 
Hi All.

I need help related to files. I have a binary file...let say abc.bin. If i open this file with notepad, the content is something like as follows...

5b 7a 82 43 2c 03 b0 12 02 a6 0c 93 03 24 b0 12
24 a0 02 3c b0 12 0e a1 92 43 2c 03 e2 93 17 12
And so on...


Now, I want to convert that file to a file that have contents as

0x5b 0x7a 0x82 0x43 0x2c 0x03 0xb0 0x12 0x02 0xa6 0x0c 0x93 0x03 0x24 0xb0 0x12
0x24 0xa0 0x02 0x3c 0xb0 0x12 0x0e 0xa1 0x92 0x43 0x2c 0x03 0xe2 0x93 0x17 0x12
And so on...


I am trying to use CFile to open and then modifying it, but not able to do.

If anyone can suggest anything that can resolve my issue, it will be really great for me.


Thanks and Regards,



Pankaj Bhalla
pankajbhalla@mantraonline.com
GeneralRe: VC++ -> Want to modify a binary file that contain "ab 0e" to "0xab 0x0e". Pin
Steve S20-Apr-04 22:01
Steve S20-Apr-04 22:01 
GeneralRe: VC++ -> Want to modify a binary file that contain "ab 0e" to "0xab 0x0e". Pin
toxcct20-Apr-04 22:42
toxcct20-Apr-04 22:42 
GeneralRe: VC++ -> Want to modify a binary file that contain "ab 0e" to "0xab 0x0e". Pin
Tim Smith21-Apr-04 3:48
Tim Smith21-Apr-04 3:48 
Generalhelp on winsock problem Pin
psyclope20-Apr-04 18:26
psyclope20-Apr-04 18:26 
GeneralRe: help on winsock problem Pin
Paul Ranson21-Apr-04 9:47
Paul Ranson21-Apr-04 9:47 
QuestionHow to map CString to Class Pin
ykutanoor20-Apr-04 18:24
ykutanoor20-Apr-04 18:24 
AnswerRe: How to map CString to Class Pin
Christian Graus20-Apr-04 18:28
protectorChristian Graus20-Apr-04 18:28 
AnswerRe: How to map CString to Class Pin
Mike Dimmick21-Apr-04 0:53
Mike Dimmick21-Apr-04 0:53 
GeneralNewBird: How to...... Pin
tcsiong20-Apr-04 18:01
tcsiong20-Apr-04 18:01 
GeneralRe: NewBird: How to...... Pin
22491720-Apr-04 19:25
22491720-Apr-04 19:25 
QuestionHow to embed a binary file using CArchive Pin
Ted Christiansen20-Apr-04 13:53
Ted Christiansen20-Apr-04 13:53 
AnswerRe: How to embed a binary file using CArchive Pin
Mike Dimmick21-Apr-04 0:57
Mike Dimmick21-Apr-04 0:57 
GeneralRe: generate random ip addresses Pin
John M. Drescher20-Apr-04 16:24
John M. Drescher20-Apr-04 16:24 
GeneralRe: generate random ip addresses Pin
David Crow20-Apr-04 16:30
David Crow20-Apr-04 16:30 
GeneralRe: generate random ip addresses Pin
toxcct20-Apr-04 22:17
toxcct20-Apr-04 22:17 
GeneralRe: generate random ip addresses Pin
Paul Ranson21-Apr-04 9:29
Paul Ranson21-Apr-04 9:29 
Generalfetching selected text Pin
TFB20-Apr-04 12:22
TFB20-Apr-04 12:22 

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.