Click here to Skip to main content
14,326,100 members

C / C++ / MFC

 
GeneralRe: MFC VC++ Pin
CPallini18-Sep-19 0:39
mveCPallini18-Sep-19 0:39 
AnswerRe: MFC VC++ Pin
Victor Nijegorodov17-Sep-19 21:47
memberVictor Nijegorodov17-Sep-19 21:47 
GeneralRe: MFC VC++ Pin
Stefan_Lang17-Sep-19 22:40
memberStefan_Lang17-Sep-19 22:40 
QuestionUnresolved extern "dwTlsIndex" exported function in dll Pin
ForNow17-Sep-19 2:41
memberForNow17-Sep-19 2:41 
AnswerRe: Unresolved extern "dwTlsIndex" exported function in dll Pin
CPallini17-Sep-19 3:19
mveCPallini17-Sep-19 3:19 
GeneralRe: Unresolved extern "dwTlsIndex" exported function in dll Pin
ForNow17-Sep-19 3:42
memberForNow17-Sep-19 3:42 
GeneralRe: Unresolved extern "dwTlsIndex" exported function in dll Changed DLLMAIN.CPP to DLLMAIN.C clean link Pin
ForNow17-Sep-19 8:02
memberForNow17-Sep-19 8:02 
Questionmanual kerning with winAPI Pin
Alexander Kindel15-Sep-19 21:38
memberAlexander Kindel15-Sep-19 21:38 
I'm working on a program that needs to be able to detect when the user has clicked on a font glyph - the actual filled part of the glyph, not just its bounding box. I'm trying to do this by analyzing the outline produced by GetGlyphOutlineW for each glyph. In this program, most glyphs are drawn by passing a single codepoint to TextOutW, but there is one case where I pass multiple codepoints. I understand that in this case, I have to take kerning into account in order for my analysis of the glyph outlines to match up with what TextOutW draws. Keeping in mind that I want to stick to C API's since the program is actually in another language and calling winAPI through a foreign function interface, are the GetKerningPairs functions the only way to get the necessary information to account for the kerning? In particular, do I have to iterate through all the kerning pairs for the entire font and check each one for whether it matches the pair I'm trying to kern rather than, say, asking Windows for the kerning pair for a particular pair of characters, if one exists?
Questiontypedef for a function for different platforms Pin
ForNow13-Sep-19 3:29
memberForNow13-Sep-19 3:29 
AnswerRe: typedef for a function for different platforms Pin
Stefan_Lang13-Sep-19 3:58
memberStefan_Lang13-Sep-19 3:58 
GeneralRe: typedef for a function for different platforms Pin
ForNow13-Sep-19 4:36
memberForNow13-Sep-19 4:36 
AnswerRe: typedef for a function for different platforms Pin
Richard MacCutchan13-Sep-19 3:59
protectorRichard MacCutchan13-Sep-19 3:59 
GeneralRe: typedef for a function for different platforms Pin
ForNow13-Sep-19 4:36
memberForNow13-Sep-19 4:36 
QuestionError 12029 WinHTTP Pin
Diprom12-Sep-19 22:36
memberDiprom12-Sep-19 22:36 
AnswerRe: Error 12029 WinHTTP Pin
Richard MacCutchan13-Sep-19 1:16
protectorRichard MacCutchan13-Sep-19 1:16 
AnswerRe: Error 12029 WinHTTP Pin
Victor Nijegorodov13-Sep-19 2:26
memberVictor Nijegorodov13-Sep-19 2:26 
GeneralRe: Error 12029 WinHTTP Pin
Diprom13-Sep-19 2:30
memberDiprom13-Sep-19 2:30 
GeneralRe: Error 12029 WinHTTP Pin
Victor Nijegorodov13-Sep-19 2:38
memberVictor Nijegorodov13-Sep-19 2:38 
AnswerRe: Error 12029 WinHTTP Pin
Randor 14-Sep-19 3:03
professional Randor 14-Sep-19 3:03 
QuestionVisual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Maximilien12-Sep-19 4:21
memberMaximilien12-Sep-19 4:21 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 5:33
memberStefan_Lang12-Sep-19 5:33 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
CPallini12-Sep-19 21:08
mveCPallini12-Sep-19 21:08 
GeneralRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 22:19
memberStefan_Lang12-Sep-19 22:19 
GeneralRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 23:26
memberStefan_Lang12-Sep-19 23:26 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 22:46
memberStefan_Lang12-Sep-19 22:46 

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.