Click here to Skip to main content
15,904,415 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a threading question Pin
David Crow15-Jul-04 4:19
David Crow15-Jul-04 4:19 
GeneralRe: a threading question Pin
ns15-Jul-04 6:31
ns15-Jul-04 6:31 
GeneralCSplitterWnd inside another Pin
John Oliver15-Jul-04 1:50
John Oliver15-Jul-04 1:50 
GeneralRe: CSplitterWnd inside another Pin
John Oliver15-Jul-04 2:11
John Oliver15-Jul-04 2:11 
GeneralMath “expert” wanted… Algorithm for finding line of two crossing areas Pin
anderslundsgard15-Jul-04 1:46
anderslundsgard15-Jul-04 1:46 
GeneralRe: Math “expert” wanted… Algorithm for finding line of two crossing areas Pin
vmaltsev15-Jul-04 3:25
vmaltsev15-Jul-04 3:25 
GeneralRe: Math “expert” wanted… Algorithm for finding line of two crossing areas Pin
anderslundsgard15-Jul-04 3:40
anderslundsgard15-Jul-04 3:40 
Questionhow to extract non ascii charachters from a text. Pin
ananttrivedi15-Jul-04 1:20
ananttrivedi15-Jul-04 1:20 
hi,
i have a text in an "unknown text encoding" and I need to extract all non ascii charachters from it; replace them with some ascii tags; do some processing and then; replace the original non ascii chars back.
*(non ascii charachters like japanese and chinese charachter sets)
well basically i have a vrml scenegraph and i need to render it using the open inventor renderer, which has problems with non ASCII charachters. so I am doing this ..

get the sceneData in memory as binary data
void *sceneData=<scenedata from="" file=""> ; scenedata(sizeof(filesize));
then read each BYTE from memory buffer;
check the ASCII value to each BYTE;
if outside ASCII range -> then replace it with a TAG.
ELSE copy as such;

NOW is this check a correct way to do it .. i mean do both the bytes of the multibyte charachters need to be outside the ASCII range ???

is there a better alternative way than this HACK !! please suggest !!
Frown | :-( i am totally stuck
AnswerRe: how to extract non ascii charachters from a text. Pin
vmaltsev15-Jul-04 12:01
vmaltsev15-Jul-04 12:01 
QuestionHow to Enumerate threads in Process? Pin
vgrigor115-Jul-04 1:18
vgrigor115-Jul-04 1:18 
AnswerRe: How to Enumerate threads in Process? Pin
ThatsAlok15-Jul-04 1:55
ThatsAlok15-Jul-04 1:55 
AnswerRe: How to Enumerate threads in Process? Pin
David Crow15-Jul-04 4:22
David Crow15-Jul-04 4:22 
QuestionHow to make screenShot to file? Pin
vgrigor115-Jul-04 1:15
vgrigor115-Jul-04 1:15 
AnswerRe: How to make screenShot to file? Pin
ThatsAlok15-Jul-04 1:38
ThatsAlok15-Jul-04 1:38 
GeneralRe: How to make screenShot to file? Pin
vgrigor115-Jul-04 1:58
vgrigor115-Jul-04 1:58 
GeneralLoad Bitmap from a specified path Pin
S.DARWIN PAUL RAJ15-Jul-04 0:57
S.DARWIN PAUL RAJ15-Jul-04 0:57 
GeneralRe: Load Bitmap from a specified path Pin
ThatsAlok15-Jul-04 1:12
ThatsAlok15-Jul-04 1:12 
GeneralRe: Load Bitmap from a specified path Pin
David Crow15-Jul-04 4:03
David Crow15-Jul-04 4:03 
GeneralRe: Load Bitmap from a specified path Pin
S.DARWIN PAUL RAJ15-Jul-04 15:08
S.DARWIN PAUL RAJ15-Jul-04 15:08 
GeneralCEdit text justification using ModifyStyle Pin
srev15-Jul-04 0:56
srev15-Jul-04 0:56 
GeneralRe: CEdit text justification using ModifyStyle Pin
David Crow15-Jul-04 4:06
David Crow15-Jul-04 4:06 
GeneralEvents from the back/forward buttons in a 5-button mouse Pin
Franc Morales15-Jul-04 0:51
Franc Morales15-Jul-04 0:51 
GeneralDoes anyone has experiences on processing gigabyte image with C++ Pin
swandream15-Jul-04 0:30
swandream15-Jul-04 0:30 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
Maximilien15-Jul-04 0:37
Maximilien15-Jul-04 0:37 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
swandream15-Jul-04 2:04
swandream15-Jul-04 2:04 

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.