[SNIP]

>                       // AJT v1.02 BUG Fix (see above)
> 
>                       // Get the previous item in the list
>                       // hr = pOldItems->GetNext( &pdisp );
>                       hr = pOldItems->GetPrevious( &pdisp );
> 
> --> The above line is the offender.  I can click ignore, and it will
> continue.  It will ATLASSERT for each iteration.  Although it 
> will purge all the correct entries.

RESOLVED:

                        // Since this is a "smart pointer" and it is
declared
                        // at the start of the routine, we must reset it to
                        // avoid ATLASSERT errors.
                        pdisp.Release();

:)

Andrew


This email and any attached files are confidential and copyright protected. If 
you are not the addressee, any dissemination of this communication is strictly 
prohibited. Unless otherwise expressly agreed in writing, nothing stated in 
this communication shall be legally binding.

_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to