Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Base class pointer to Derived Class object?? Pin
codeII15-Oct-07 20:49
codeII15-Oct-07 20:49 
GeneralRe: Base class pointer to Derived Class object?? Pin
Ash2015-Oct-07 22:19
Ash2015-Oct-07 22:19 
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 
chandu004 wrote:
you didnt specify, what is the output/error you are getting.
and what does openFile.Read() return?


Sorry about that and I got this error.

'CWnd::SetDlgItemTextA' : cannot convert parameter 2 from 'UINT' to 'LPCTSTR'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast


chandu004 wrote:
instead of strlen(tempBuffer) try giving 256 and see;


I'll already do it, but the issue is there. I used strlen(tempBuffer) to set the length of string same to the buffer.

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

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 
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 

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.