Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
ThatsAlok22-Apr-09 21:42
ThatsAlok22-Apr-09 21:42 
GeneralRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
Nibu babu thomas22-Apr-09 21:46
Nibu babu thomas22-Apr-09 21:46 
QuestionHow to write Binary data to a file???? [modified] Pin
TooShy2Talk22-Apr-09 16:04
TooShy2Talk22-Apr-09 16:04 
AnswerRe: How to write Binary data to a file???? Pin
Fiona101122-Apr-09 16:37
Fiona101122-Apr-09 16:37 
GeneralRe: How to write Binary data to a file???? Pin
TooShy2Talk22-Apr-09 17:24
TooShy2Talk22-Apr-09 17:24 
GeneralRe: How to write Binary data to a file???? Pin
Fiona101122-Apr-09 17:56
Fiona101122-Apr-09 17:56 
GeneralRe: How to write Binary data to a file???? Pin
TooShy2Talk22-Apr-09 19:44
TooShy2Talk22-Apr-09 19:44 
GeneralRe: How to write Binary data to a file???? Pin
Fiona101122-Apr-09 21:04
Fiona101122-Apr-09 21:04 
Wink | ;)
Your code:fp.Write(&buf,100000);
The length of buf may be not enough. So you haven't copy the whole binary data.

Are you sure there are all binary data in the array?
If the answer is YES,you may use cycle to write in a bitmap file.Every time write 1024B binary data or more;

My code which send to you have no error when it runs in my computer.You may send me your error information.
GeneralRe: How to write Binary data to a file???? Pin
Cedric Moonen22-Apr-09 20:12
Cedric Moonen22-Apr-09 20:12 
GeneralRe: How to write Binary data to a file???? Pin
David Crow23-Apr-09 2:58
David Crow23-Apr-09 2:58 
GeneralRe: How to write Binary data to a file???? Pin
Cedric Moonen23-Apr-09 3:08
Cedric Moonen23-Apr-09 3:08 
GeneralRe: How to write Binary data to a file???? Pin
David Crow23-Apr-09 3:20
David Crow23-Apr-09 3:20 
QuestionRe: How to write Binary data to a file???? Pin
David Crow23-Apr-09 2:57
David Crow23-Apr-09 2:57 
QuestionHow to determine the Width of a Multiline Rich edit Control Pin
ForNow22-Apr-09 14:06
ForNow22-Apr-09 14:06 
Questionswarm robot motor question Pin
ic3e22-Apr-09 13:19
ic3e22-Apr-09 13:19 
AnswerRe: swarm robot motor question Pin
bulg23-Apr-09 5:50
bulg23-Apr-09 5:50 
GeneralRe: swarm robot motor question Pin
RTek2323-Apr-09 14:30
professionalRTek2323-Apr-09 14:30 
QuestionHelp referencing a list control in a tab control. Pin
FISH78622-Apr-09 8:59
FISH78622-Apr-09 8:59 
QuestionRe: Help referencing a list control in a tab control. Pin
David Crow22-Apr-09 9:24
David Crow22-Apr-09 9:24 
AnswerRe: Help referencing a list control in a tab control. Pin
FISH78622-Apr-09 9:25
FISH78622-Apr-09 9:25 
QuestionIObjectSafety Pin
siva45522-Apr-09 8:20
siva45522-Apr-09 8:20 
AnswerRe: IObjectSafety Pin
CPallini22-Apr-09 9:01
mveCPallini22-Apr-09 9:01 
QuestionMouse movements & MOUSEEVENTF_MOVE versus Scroll & Highlight Pin
THAQCD22-Apr-09 6:41
THAQCD22-Apr-09 6:41 
Questionhighlight words in text to speech Pin
Member 282845222-Apr-09 6:18
Member 282845222-Apr-09 6:18 
AnswerRe: highlight words in text to speech Pin
ThatsAlok22-Apr-09 21:41
ThatsAlok22-Apr-09 21:41 

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.