Click here to Skip to main content
15,887,683 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Using find_if STL function Pin
ComplexLifeForm25-Feb-08 18:22
ComplexLifeForm25-Feb-08 18:22 
GeneralRe: Using find_if STL function Pin
Johann Gerell14-May-08 21:54
Johann Gerell14-May-08 21:54 
GeneralATL and javascript Pin
whizdom16-Feb-08 21:35
whizdom16-Feb-08 21:35 
GeneralRe: ATL and javascript Pin
Nathan Holt at EMOM18-Feb-08 11:48
Nathan Holt at EMOM18-Feb-08 11:48 
GeneralRe: ATL and javascript Pin
whizdom22-Feb-08 7:43
whizdom22-Feb-08 7:43 
QuestionPlease enlighten me on STL iterators and CriticalSection locking Pin
Kosta Cherry13-Feb-08 21:15
Kosta Cherry13-Feb-08 21:15 
GeneralRe: Please enlighten me on STL iterators and CriticalSection locking Pin
Andy Moore14-Feb-08 6:11
Andy Moore14-Feb-08 6:11 
GeneralRe: Please enlighten me on STL iterators and CriticalSection locking Pin
Kosta Cherry14-Feb-08 11:49
Kosta Cherry14-Feb-08 11:49 
I think I (almost) found answer to my own question.

Here is code:

#if _HAS_ITERATOR_DEBUGGING
void _Orphan_range(pointer _First, pointer _Last) const
{ // orphan iterators within specified (inclusive) range
_Lockit _Lock(_LOCK_DEBUG);
const_iterator **_Pnext = (const_iterator **)&this->_Myfirstiter;
while (*_Pnext != 0)
if ((*_Pnext)->_Myptr < _First || _Last < (*_Pnext)->_Myptr)
_Pnext = (const_iterator **)&(*_Pnext)->_Mynextiter;
else
{ // orphan the iterator
(*_Pnext)->_Mycont = 0;
*_Pnext = (const_iterator *)(*_Pnext)->_Mynextiter;
}
}
#endif /* _HAS_ITERATOR_DEBUGGING */

It's all over STL code, but it looks like locking happens only during 1) Debug Mode and 2) MultiTreaded application.
GeneralUsing an activex control in an ATL project Pin
zon_cpp11-Feb-08 20:33
zon_cpp11-Feb-08 20:33 
GeneralRe: Using an activex control in an ATL project Pin
Stuart Dootson11-Feb-08 23:38
professionalStuart Dootson11-Feb-08 23:38 
GeneralATL: IDispEvent*Impl for n instances [modified] Pin
wickdom8-Feb-08 3:59
wickdom8-Feb-08 3:59 
GeneralRe: ATL: IDispEvent*Impl for n instances Pin
Stuart Dootson8-Feb-08 8:52
professionalStuart Dootson8-Feb-08 8:52 
GeneralRe: ATL: IDispEvent*Impl for n instances Pin
wickdom8-Feb-08 12:03
wickdom8-Feb-08 12:03 
Generalefficiency copy vector into a second vector Pin
manustone4-Feb-08 2:20
manustone4-Feb-08 2:20 
GeneralRe: efficiency copy vector into a second vector Pin
Steve Echols4-Feb-08 18:03
Steve Echols4-Feb-08 18:03 
QuestionRe: efficiency copy vector into a second vector Pin
CPallini4-Feb-08 22:28
mveCPallini4-Feb-08 22:28 
GeneralRe: efficiency copy vector into a second vector Pin
manustone8-Feb-08 3:25
manustone8-Feb-08 3:25 
GeneralRe: efficiency copy vector into a second vector Pin
Andy Moore14-Feb-08 6:13
Andy Moore14-Feb-08 6:13 
QuestionTBSTYLE_EX_DRAWDDARROWS resize problem??? Pin
Rajesh_Yadav_8029-Jan-08 0:51
Rajesh_Yadav_8029-Jan-08 0:51 
Generalerror C2259: 'ATL::CComObject<base>' : cannot instantiate abstract class</base> Pin
zakkas248322-Jan-08 20:44
zakkas248322-Jan-08 20:44 
GeneralRe: error C2259: 'ATL::CComObject' : cannot instantiate abstract class Pin
Nathan Holt at EMOM23-Jan-08 5:18
Nathan Holt at EMOM23-Jan-08 5:18 
GeneralShell context menu Pin
nazovi11-Jan-08 3:48
nazovi11-Jan-08 3:48 
GeneralRe: Shell context menu Pin
led mike11-Jan-08 5:13
led mike11-Jan-08 5:13 
GeneralUnable to add variable for ATL Control Pin
KASR110-Jan-08 22:21
KASR110-Jan-08 22:21 
GeneralConvert CString to BSTR Pin
mandanani10-Jan-08 20:07
mandanani10-Jan-08 20:07 

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.