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

C / C++ / MFC

 
GeneralRe: Share data among all loaded instances of a certain DLL Pin
Joseph Marzbani12-Sep-08 2:19
Joseph Marzbani12-Sep-08 2:19 
GeneralRe: Share data among all loaded instances of a certain DLL Pin
CPallini12-Sep-08 3:28
mveCPallini12-Sep-08 3:28 
QuestionConvert bitmap edge in line Pin
key_b112-Sep-08 0:29
key_b112-Sep-08 0:29 
AnswerRe: Convert bitmap edge in line Pin
SandipG 12-Sep-08 1:12
SandipG 12-Sep-08 1:12 
GeneralRe: Convert bitmap edge in line Pin
key_b114-Sep-08 22:29
key_b114-Sep-08 22:29 
QuestionRe: Convert bitmap edge in line Pin
CPallini12-Sep-08 2:13
mveCPallini12-Sep-08 2:13 
AnswerRe: Convert bitmap edge in line Pin
key_b114-Sep-08 23:27
key_b114-Sep-08 23:27 
QuestionDetermining the 'real' length of Unicode strings Pin
Rob Caldecott11-Sep-08 22:45
Rob Caldecott11-Sep-08 22:45 
I have an issue when computing how long a Unicode string is when it is actually displayed on screen. For example, you might have a 30 character Thai string, but when it is actually displayed, some pairs of characters result in a single character on-screen, so the result might only 'look' like 20 characters. What seems to happen is that two characters sometimes result in a character with a 'mark' above it (like a European accent character).

Because of these potential pairs, logic I have that currently uses _tcslen goes out of the window. I tried experimenting with the GetCharacterPlacement API call but didn't get very far. The strings all display correctly, but I have to know the 'display length' when forcing a fixed number of characters-per-inch (don't ask!).

Is there a way to find this out?
AnswerRe: Determining the 'real' length of Unicode strings Pin
sashoalm11-Sep-08 23:04
sashoalm11-Sep-08 23:04 
GeneralRe: Determining the 'real' length of Unicode strings Pin
Rob Caldecott11-Sep-08 23:33
Rob Caldecott11-Sep-08 23:33 
AnswerRe: Determining the 'real' length of Unicode strings Pin
Roger Stoltz12-Sep-08 0:03
Roger Stoltz12-Sep-08 0:03 
AnswerRe: Determining the 'real' length of Unicode strings Pin
James R. Twine12-Sep-08 8:00
James R. Twine12-Sep-08 8:00 
AnswerRe: Determining the 'real' length of Unicode strings Pin
Nemanja Trifunovic12-Sep-08 9:22
Nemanja Trifunovic12-Sep-08 9:22 
Questionfork a telnetd process under the unix or linux Pin
alphaxz11-Sep-08 22:03
alphaxz11-Sep-08 22:03 
AnswerRe: fork a telnetd process under the unix or linux Pin
David Crow12-Sep-08 2:26
David Crow12-Sep-08 2:26 
Questionstring to unicode conversion......... Pin
shaina223111-Sep-08 17:48
shaina223111-Sep-08 17:48 
AnswerRe: string to unicode conversion......... Pin
john563211-Sep-08 20:11
john563211-Sep-08 20:11 
AnswerRe: string to unicode conversion......... Pin
SandipG 11-Sep-08 20:18
SandipG 11-Sep-08 20:18 
QuestionHow to notify SMB copy file finish? Pin
TooBaya11-Sep-08 16:57
TooBaya11-Sep-08 16:57 
AnswerRe: How to notify SMB copy file finish? Pin
Rane12-Sep-08 6:10
Rane12-Sep-08 6:10 
GeneralRe: How to notify SMB copy file finish? Pin
James R. Twine12-Sep-08 8:10
James R. Twine12-Sep-08 8:10 
GeneralRe: How to notify SMB copy file finish? Pin
TooBaya13-Sep-08 5:15
TooBaya13-Sep-08 5:15 
QuestionVector is losing varable data Pin
Larry Mills Sr11-Sep-08 16:31
Larry Mills Sr11-Sep-08 16:31 
QuestionRe: Vector is losing varable data Pin
David Crow11-Sep-08 17:07
David Crow11-Sep-08 17:07 
QuestionRe: Vector is losing varable data Pin
CPallini11-Sep-08 21:23
mveCPallini11-Sep-08 21:23 

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.