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

C / C++ / MFC

 
Question2 Different idl files 2 different outputs Pin
sawerr27-Aug-07 0:44
sawerr27-Aug-07 0:44 
AnswerRe: 2 Different idl files 2 different outputs Pin
KarstenK27-Aug-07 2:20
mveKarstenK27-Aug-07 2:20 
GeneralRe: 2 Different idl files 2 different outputs Pin
sawerr27-Aug-07 3:00
sawerr27-Aug-07 3:00 
GeneralRe: 2 Different idl files 2 different outputs Pin
KarstenK27-Aug-07 3:15
mveKarstenK27-Aug-07 3:15 
Questionbackground of picture static control Pin
vasu_sri26-Aug-07 23:41
vasu_sri26-Aug-07 23:41 
AnswerRe: background of picture static control Pin
Roger Broomfield27-Aug-07 0:26
Roger Broomfield27-Aug-07 0:26 
QuestionReading mrt.log file Pin
Manasi D26-Aug-07 21:26
Manasi D26-Aug-07 21:26 
AnswerRe: Reading mrt.log file Pin
Naveen26-Aug-07 21:48
Naveen26-Aug-07 21:48 
Manasi D wrote:
I am trying to read mrt.log file programatically (vc++).


I am not sure, but may be the file is not purley ASCII file. It may be UNICODE or UTF-8 encode. Open the file in a binary mode using msdev IDE, and check few bytes in the begining.

if the first two is FF, FE -> it will be UNICODE,
EF BB BF -> UTF-8 and so on. So first you need to identify the format in which the file is encode. You can convert texts in such formats to normal string using the WideCharToMultiByte() and MultiByteToWideChar() API's



Questionfile path's Pin
Waldermort26-Aug-07 20:58
Waldermort26-Aug-07 20:58 
AnswerRe: file path's Pin
toxcct26-Aug-07 21:10
toxcct26-Aug-07 21:10 
GeneralRe: file path's Pin
Waldermort26-Aug-07 21:16
Waldermort26-Aug-07 21:16 
QuestionDiff b/w Copy constructor & Assignment operator Pin
prashant pissey26-Aug-07 20:49
prashant pissey26-Aug-07 20:49 
AnswerRe: Diff b/w Copy constructor & Assignment operator Pin
Hamid_RT26-Aug-07 21:00
Hamid_RT26-Aug-07 21:00 
AnswerRe: Diff b/w Copy constructor & Assignment operator Pin
toxcct26-Aug-07 21:18
toxcct26-Aug-07 21:18 
Questioncompilation of UTF-8 in visual cpp Pin
puneet_cha26-Aug-07 20:30
puneet_cha26-Aug-07 20:30 
AnswerRe: compilation of UTF-8 in visual cpp Pin
sGrabert26-Aug-07 22:48
sGrabert26-Aug-07 22:48 
AnswerRe: compilation of UTF-8 in visual cpp Pin
bob1697227-Aug-07 2:04
bob1697227-Aug-07 2:04 
QuestionRe: compilation of UTF-8 in visual cpp Pin
bob1697227-Aug-07 5:03
bob1697227-Aug-07 5:03 
AnswerRe: compilation of UTF-8 in visual cpp Pin
Michael Dunn27-Aug-07 7:05
sitebuilderMichael Dunn27-Aug-07 7:05 
Questionsystem command Pin
IlanTal26-Aug-07 19:50
IlanTal26-Aug-07 19:50 
AnswerRe: system command Pin
Naveen26-Aug-07 20:00
Naveen26-Aug-07 20:00 
GeneralRe: system command Pin
IlanTal26-Aug-07 20:04
IlanTal26-Aug-07 20:04 
GeneralRe: system command Pin
Naveen26-Aug-07 20:07
Naveen26-Aug-07 20:07 
GeneralRe: system command Pin
IlanTal26-Aug-07 20:16
IlanTal26-Aug-07 20:16 
GeneralRe: system command Pin
Naveen26-Aug-07 20:21
Naveen26-Aug-07 20:21 

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.