Displaying 2 results from an estimated 2 matches for "cpmax".
Did you mean:
cpmac
2010 Nov 20
1
CRITICAL_SECTION hang my application
...decided to use critical section. When main thread tries to add text, the text adds perfectly, but when the second thread tries to add text - it hangs my app :( .
Here is the code in C++:
Code:
HWND__ *h_Edit = rtf_list->Handle;
EnterCriticalSection(&cr_sec);
CHARRANGE cr;
cr.cpMin = 0;
cr.cpMax = 0;
// App hangs on this line
SendMessage(h_Edit, EM_EXSETSEL, 0, (LPARAM)&cr);
//.....
LeaveCriticalSection(&cr_sec);
Before this I use:
Code:
CRITICAL_SECTION cr_sec;
InitializeCriticalSection(&cr_sec);
to initialize Critical Section.
2014 Jul 25
0
Wine release 1.7.23
...eat '#' as path delimiter in file URIs.
wine/debug.h: Added wine_dbgstr_variant and wine_dbgstr_vt implementations.
wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations.
Jactry Zeng (2):
riched20: Fix ME_SetSelection when cpMax > strlen().
riched20: Implement ITextSelection::GetText.
Ken Thomases (1):
winemac: Don't query the position of the one-past-the-end character with IMR_QUERYCHARPOSITION.
Marcus Meissner (4):
rpcrt4: Fixed memory leak on error exit (Coverity).
d3dx9_36: Fixed typo i...