Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionchat application help please2 Pin
amyy8611-Jun-06 10:37
amyy8611-Jun-06 10:37 
QuestionHow to dynamically detect when CD/DVD burner drive is added/removed ? Pin
Defenestration11-Jun-06 9:27
Defenestration11-Jun-06 9:27 
AnswerRe: How to dynamically detect when CD/DVD burner drive is added/removed ? Pin
Hamid_RT11-Jun-06 18:59
Hamid_RT11-Jun-06 18:59 
QuestionGetting values from CDateTimeCtrl Pin
ensger11-Jun-06 8:37
ensger11-Jun-06 8:37 
AnswerRe: Getting values from CDateTimeCtrl [modified] Pin
bob1697211-Jun-06 12:33
bob1697211-Jun-06 12:33 
GeneralRe: Getting values from CDateTimeCtrl Pin
ensger12-Jun-06 1:18
ensger12-Jun-06 1:18 
AnswerRe: Getting values from CDateTimeCtrl Pin
David Crow12-Jun-06 3:24
David Crow12-Jun-06 3:24 
GeneralRe: Getting values from CDateTimeCtrl Pin
ensger12-Jun-06 4:17
ensger12-Jun-06 4:17 
QuestionAtl Object Pin
hmklakmal11-Jun-06 7:31
hmklakmal11-Jun-06 7:31 
AnswerRe: Atl Object Pin
bob1697211-Jun-06 8:37
bob1697211-Jun-06 8:37 
GeneralRe: Atl Object Pin
hmklakmal11-Jun-06 10:04
hmklakmal11-Jun-06 10:04 
GeneralRe: Atl Object Pin
bob1697211-Jun-06 11:34
bob1697211-Jun-06 11:34 
QuestionVisual C++ Task list Pin
Giles11-Jun-06 7:25
Giles11-Jun-06 7:25 
QuestionMenu Bitmaps from Minimal Source Code in Dialog Pin
Igor Mihailov11-Jun-06 7:25
Igor Mihailov11-Jun-06 7:25 
AnswerRe: Menu Bitmaps from Minimal Source Code in Dialog Pin
Gary R. Wheeler11-Jun-06 8:21
Gary R. Wheeler11-Jun-06 8:21 
GeneralRe: Menu Bitmaps from Minimal Source Code in Dialog Pin
Igor Mihailov11-Jun-06 9:30
Igor Mihailov11-Jun-06 9:30 
GeneralRe: Menu Bitmaps from Minimal Source Code in Dialog Pin
Gary R. Wheeler11-Jun-06 10:44
Gary R. Wheeler11-Jun-06 10:44 
GeneralRe: Menu Bitmaps from Minimal Source Code in Dialog Pin
Igor Mihailov11-Jun-06 20:14
Igor Mihailov11-Jun-06 20:14 
QuestionHow to detect if XML resource is UTF8 or UTF16 Pin
Andre xxxxxxx11-Jun-06 7:01
Andre xxxxxxx11-Jun-06 7:01 
AnswerRe: How to detect if XML resource is UTF8 or UTF16 Pin
bob1697211-Jun-06 8:31
bob1697211-Jun-06 8:31 
If you created the resource string using MSXML then the string will be a BSTR which is UTF-16 by definition. Microsoft warns that the string will not contain the byte order mark that you normally can check for at the beginning of a disk file.

The thing to remember when parsing a BSTR string created with MSXML is that the line indicating the encoding will not reflect the actual encoding of the string.

In other words,

<?xml version="1.0" encoding="UTF-8"?>

in a BSTR representation should be ignored as the encoding will always be UTF-16.
AnswerRe: How to detect if XML resource is UTF8 or UTF16 Pin
Michael Dunn11-Jun-06 9:54
sitebuilderMichael Dunn11-Jun-06 9:54 
GeneralRe: How to detect if XML resource is UTF8 or UTF16 Pin
Andre xxxxxxx11-Jun-06 10:20
Andre xxxxxxx11-Jun-06 10:20 
QuestionChange User-Agent String with BHO Pin
nmx_de11-Jun-06 5:27
nmx_de11-Jun-06 5:27 
Questionsorting Pin
RockyJames11-Jun-06 4:02
RockyJames11-Jun-06 4:02 
AnswerRe: sorting [modified] Pin
Stephen Hewitt11-Jun-06 4:42
Stephen Hewitt11-Jun-06 4:42 

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.