Click here to Skip to main content
15,891,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to create Webpage Viewer Pin
Soumyadipta15-Oct-07 19:53
Soumyadipta15-Oct-07 19:53 
AnswerRe: How to create Webpage Viewer Pin
Hamid_RT15-Oct-07 20:43
Hamid_RT15-Oct-07 20:43 
QuestionBrowser Control Pin
Soumyadipta15-Oct-07 19:44
Soumyadipta15-Oct-07 19:44 
Question[SOLVED] Read a file on click event Pin
CodingLover15-Oct-07 19:22
CodingLover15-Oct-07 19:22 
AnswerRe: Read a file on click event Pin
chandu00415-Oct-07 19:46
chandu00415-Oct-07 19:46 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 20:02
CodingLover15-Oct-07 20:02 
GeneralRe: Read a file on click event Pin
chandu00415-Oct-07 20:05
chandu00415-Oct-07 20:05 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 20:14
CodingLover15-Oct-07 20:14 
Ok,

As you said I've replace the strlen(tempBuffer) part with 256. It avoid a warning conversion from 'size_t' to 'UINT', possible loss of data

Initially I've create a buffer of size 256. I want to put my string there and use it. I think it is clear.....

To read the file I used openFile.Read() with two arguments, the buffer and length what I want to read. If I use 256 it read all the buffer, more than my string. If the buffer is not empty it can read something else. Is it clear.

But it not work.


I appreciate your help all the time...
ErangaSmile | :)

GeneralRe: Read a file on click event Pin
chandu00415-Oct-07 20:24
chandu00415-Oct-07 20:24 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 20:29
CodingLover15-Oct-07 20:29 
GeneralRe: Read a file on click event Pin
chandu00415-Oct-07 20:27
chandu00415-Oct-07 20:27 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 20:33
CodingLover15-Oct-07 20:33 
GeneralRe: Read a file on click event Pin
chandu00415-Oct-07 20:48
chandu00415-Oct-07 20:48 
AnswerRe: Read a file on click event Pin
Nishad S15-Oct-07 20:41
Nishad S15-Oct-07 20:41 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 20:57
CodingLover15-Oct-07 20:57 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 21:03
Nishad S15-Oct-07 21:03 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 21:14
CodingLover15-Oct-07 21:14 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 21:33
Nishad S15-Oct-07 21:33 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 21:40
CodingLover15-Oct-07 21:40 
GeneralRe: Read a file on click event Pin
chandu00415-Oct-07 21:44
chandu00415-Oct-07 21:44 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 22:44
Nishad S15-Oct-07 22:44 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 22:47
CodingLover15-Oct-07 22:47 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 23:55
Nishad S15-Oct-07 23:55 
GeneralRe: Read a file on click event Pin
CodingLover16-Oct-07 0:09
CodingLover16-Oct-07 0:09 
GeneralRe: Read a file on click event Pin
chandu00416-Oct-07 0:14
chandu00416-Oct-07 0:14 

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.