Click here to Skip to main content
14,448,127 members

C / C++ / MFC

 
GeneralRe: COM Query Pin
Adam Roderick J21-Jan-10 23:54
MemberAdam Roderick J21-Jan-10 23:54 
AnswerRe: COM Query Pin
Stuart Dootson22-Jan-10 0:02
professionalStuart Dootson22-Jan-10 0:02 
AnswerRe: COM Query Pin
CPallini22-Jan-10 0:39
mveCPallini22-Jan-10 0:39 
GeneralRe: COM Query Pin
pandit8422-Jan-10 1:53
Memberpandit8422-Jan-10 1:53 
GeneralRe: COM Query Pin
CPallini23-Jan-10 3:41
mveCPallini23-Jan-10 3:41 
QuestionA problem about the rubbish on win7 Pin
nenfa21-Jan-10 22:11
Membernenfa21-Jan-10 22:11 
AnswerRe: A problem about the rubbish on win7 Pin
«_Superman_»22-Jan-10 17:55
professional«_Superman_»22-Jan-10 17:55 
QuestionReplacing some bytes in a file in binary mode Pin
sunny_vc21-Jan-10 21:55
Membersunny_vc21-Jan-10 21:55 
Hi,
I have a file which is in binary mode.(I am using stdio functions fwrie,fread,fseek)
I have to read this file in binary mode and needs to replace some of the bytes in this file.
It contains around 1000 entries with 2 bytes each.
I know the location of bytes which is to be changed, like 100th entry.
Is there anyway to change that specific bytes, without copying in to other file.
As I have small memory I can not copy into other file and recopy with changed bytes.
So on the fly i want to change specific bytes.

please tell me if any method is there to do this.?

Regards,
Sunil Kumar

AnswerRe: Replacing some bytes in a file in binary mode Pin
CPallini21-Jan-10 22:24
mveCPallini21-Jan-10 22:24 
GeneralRe: Replacing some bytes in a file in binary mode Pin
sunny_vc21-Jan-10 22:34
Membersunny_vc21-Jan-10 22:34 
GeneralRe: Replacing some bytes in a file in binary mode - fixed, thanks to superman Pin
CPallini21-Jan-10 22:44
mveCPallini21-Jan-10 22:44 
GeneralRe: Replacing some bytes in a file in binary mode Pin
«_Superman_»21-Jan-10 23:35
professional«_Superman_»21-Jan-10 23:35 
GeneralRe: Replacing some bytes in a file in binary mode Pin
CPallini22-Jan-10 1:43
mveCPallini22-Jan-10 1:43 
GeneralRe: Replacing some bytes in a file in binary mode Pin
iceman861621-Jan-10 22:48
Membericeman861621-Jan-10 22:48 
GeneralRe: Replacing some bytes in a file in binary mode Pin
Stuart Dootson22-Jan-10 0:05
professionalStuart Dootson22-Jan-10 0:05 
QuestionFile Manipulation Pin
Chandrasekharan P21-Jan-10 21:03
MemberChandrasekharan P21-Jan-10 21:03 
AnswerRe: File Manipulation Pin
Rajesh R Subramanian21-Jan-10 21:16
professionalRajesh R Subramanian21-Jan-10 21:16 
AnswerRe: File Manipulation Pin
Cedric Moonen21-Jan-10 21:27
MemberCedric Moonen21-Jan-10 21:27 
QuestionRe: File Manipulation Pin
David Crow22-Jan-10 5:17
MemberDavid Crow22-Jan-10 5:17 
QuestionHandle to a video played in a video player Pin
lazy_panther21-Jan-10 20:42
Memberlazy_panther21-Jan-10 20:42 
QuestionCreate function error in CView Class Pin
diarabit21-Jan-10 20:16
Memberdiarabit21-Jan-10 20:16 
QuestionRe: Create function error in CView Class [modified] Pin
Nelek21-Jan-10 23:28
protectorNelek21-Jan-10 23:28 
AnswerRe: Create function error in CView Class Pin
diarabit22-Jan-10 3:12
Memberdiarabit22-Jan-10 3:12 
GeneralRe: Create function error in CView Class [modified] Pin
Nelek22-Jan-10 3:32
protectorNelek22-Jan-10 3:32 
QuestionGenerate Random Number between min and max range and where numbers can't repeat themselves. Pin
Le@rner21-Jan-10 20:06
MemberLe@rner21-Jan-10 20: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.