15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


CRecordset::Move(0) ASSERTS in VC 4.2

Bruce -- bmiller@geographix.com
Thursday, December 19, 1996


Environment: VC 4.2b, NT 4.0

When doing a Move(0), SkipDeletedRecords Asserts that nRows is not equal
to zero.
I believe this is new in 4.2.

Anyone know if this is a bug or a feature?

Bruce
Bruce Miller
Software Engineer
Geographix, Inc.

bmiller@geographix.com
303-675-2457



Mike Blaszczak -- mikeblas@nwlink.com
Friday, January 03, 1997

At 14:30 12/19/96 -0700, Miller, Bruce wrote:
>Environment: VC 4.2b, NT 4.0

>When doing a Move(0), SkipDeletedRecords Asserts that nRows is not equal
>to zero. I believe this is new in 4.2.

>Anyone know if this is a bug or a feature?

This is by-design.  I spoke with the guy who wrote the code, and he
indicated that Move(0) isn't appropriate for situations where you have
skip deleted records turned on in the recordset.  If you turn the skip
deleted records off in your recordset, your calls to Move() won't call
SkipDeletedRecords(), which is where this assertion is done.

The othe developer said he'd be writing to you and explaining the
problem in detail--I guess you should have received his response
by now.

.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.





| Вернуться в корень Архива |