Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionData Execution Prevention Pin
T.RATHA KRISHNAN25-Jun-10 20:48
T.RATHA KRISHNAN25-Jun-10 20:48 
AnswerRe: Data Execution Prevention Pin
«_Superman_»26-Jun-10 2:14
professional«_Superman_»26-Jun-10 2:14 
AnswerRe: Data Execution Prevention Pin
MindCoder7927-Jun-10 17:55
MindCoder7927-Jun-10 17:55 
QuestionTesting if Unicode Pin
Hans Dietrich25-Jun-10 19:52
mentorHans Dietrich25-Jun-10 19:52 
AnswerRe: Testing if Unicode Pin
Rajesh R Subramanian25-Jun-10 21:09
professionalRajesh R Subramanian25-Jun-10 21:09 
GeneralRe: Testing if Unicode Pin
Hans Dietrich25-Jun-10 21:54
mentorHans Dietrich25-Jun-10 21:54 
GeneralRe: Testing if Unicode Pin
ThatsAlok27-Jun-10 19:20
ThatsAlok27-Jun-10 19:20 
AnswerRe: Testing if Unicode PinPopular
Richard MacCutchan25-Jun-10 22:12
mveRichard MacCutchan25-Jun-10 22:12 
The documentation for IsTextUnicode() states:
Determines if a buffer is likely to contain a form of Unicode text.

Which is to say, it can only test for the likelihood by sampling various bytes within the buffer. Since there is no byte or word pattern which absolutely guarantees that a buffer is Unicode there is no way that such a function can guarantee to recognise it.
It's time for a new signature.

GeneralRe: Testing if Unicode Pin
Rajesh R Subramanian25-Jun-10 23:38
professionalRajesh R Subramanian25-Jun-10 23:38 
GeneralRe: Testing if Unicode [modified] Pin
Richard MacCutchan26-Jun-10 0:05
mveRichard MacCutchan26-Jun-10 0:05 
AnswerRe: Nothing seems to work Pin
Software_Developer26-Jun-10 2:29
Software_Developer26-Jun-10 2:29 
GeneralRe: Nothing seems to work Pin
Richard MacCutchan26-Jun-10 3:35
mveRichard MacCutchan26-Jun-10 3:35 
AnswerRe: Testing if Unicode Pin
Richard MacCutchan26-Jun-10 3:33
mveRichard MacCutchan26-Jun-10 3:33 
GeneralRe: Richards code works. Pin
Software_Developer26-Jun-10 3:57
Software_Developer26-Jun-10 3:57 
GeneralRe: Testing if Unicode Pin
Rajesh R Subramanian26-Jun-10 8:56
professionalRajesh R Subramanian26-Jun-10 8:56 
GeneralRe: Testing if Unicode Pin
Niklas L26-Jun-10 11:44
Niklas L26-Jun-10 11:44 
GeneralRe: Testing if Unicode Pin
Rajesh R Subramanian27-Jun-10 3:30
professionalRajesh R Subramanian27-Jun-10 3:30 
GeneralRe: Testing if Unicode Pin
Niklas L27-Jun-10 9:28
Niklas L27-Jun-10 9:28 
GeneralRe: Testing if Unicode Pin
Hans Dietrich26-Jun-10 12:17
mentorHans Dietrich26-Jun-10 12:17 
GeneralRe: Testing if Unicode Pin
Aescleal26-Jun-10 23:36
Aescleal26-Jun-10 23:36 
GeneralRe: Testing if Unicode Pin
Richard MacCutchan27-Jun-10 0:04
mveRichard MacCutchan27-Jun-10 0:04 
GeneralRe: Testing if Unicode Pin
Rajesh R Subramanian27-Jun-10 3:30
professionalRajesh R Subramanian27-Jun-10 3:30 
GeneralRe: Testing if Unicode Pin
Richard MacCutchan27-Jun-10 7:34
mveRichard MacCutchan27-Jun-10 7:34 
AnswerRe: Testing if Unicode Pin
Nemanja Trifunovic27-Jun-10 11:32
Nemanja Trifunovic27-Jun-10 11:32 
GeneralRe: Testing if Unicode Pin
VeganFanatic27-Jun-10 18:15
VeganFanatic27-Jun-10 18:15 

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.