Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.07.16;
Скачать: CL | DM;

Вниз

Bug in TStrList.IndexOfName   Найти похожие ветки 

 
Dodfr   (2005-10-27 11:17) [0]

Hi,

I already sent 3 mails to Vlad about this bug but each update seems not fix it :

You must replace  :

if StrLComp( PChar( LowerCase( ItemPtrs[ i ] ) ), PChar( AName ), L ) = 0 then

With :

if StrLComp( PChar( LowerCase( ItemPtrs[ i ] + fNameDelim) ), PChar( AName ), L ) = 0 then

Or the IndexOfname will always fail.

Also the remark :

     // For optimization, check only list entry that begin with same letter as searched name

Can be removed as the small optimize part seems to have dissapear from source.

In fact, it seems the IndexOfName original code has been retouched by someone else comparing by original I sent to Vlad 8 July 2002 that did not had the bug.


 
SPeller ©   (2005-10-27 12:53) [1]

Hm, I had not problems with this function. But I use it many months ago. Maybe some changes was applied?


 
Dodfr   (2005-10-27 16:55) [2]

I noticed the problem when recompiling an old program that used this function and did not work anymore without the fix.


 
SPeller ©   (2005-10-28 04:53) [3]

O, I am sorry - I mean other function, but I never had problems with this function.



Страницы: 1 вся ветка

Текущий архив: 2006.07.16;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.033 c
10-1121163665
Piter
2005-07-12 14:21
2006.07.16
Как добраться до JS переменной в HTML из Delphi


6-1142322245
SKAyeR
2006-03-14 10:44
2006.07.16
Как получить список файлов находящихся в папке на удал. web серв


15-1150234030
Piter
2006-06-14 01:27
2006.07.16
Распечатка A1 на принтере A4


15-1150266173
Layner
2006-06-14 10:22
2006.07.16
Бесплатные статистические компоненты, есть ли такие?


5-1135472981
sirin
2005-12-25 04:09
2006.07.16
Список классов, зарегестрированных в Delphi