Вниз
Скачать: CL | DM;

small bug in objects.pas   Найти похожие ветки 

← →
Thaddy   (2006-10-13 16:05) [0]

procedure FreeObjectInstance(ObjectInstance: Pointer);
should be declared as:
procedure FreeObjectInstance(var ObjectInstance: Pointer);

I wonder why we never spotted that before?
There can be cases where it is important that ObjectInstance is explicitly made nil. See the implementation.


← →
Vladimir Kladov   (2006-10-14 11:38) [1]

Sorry, but it is not obvious for me. Though this unit is not from me, I can not see why "var" shoud be there: ObjectInstance is not assigned anywhere in FreeObjectInstance.



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

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.046 c
2-1179218175
Vlad Oshin
2007-05-15 12:36
2007.06.03
Cannot perform this operation on a close dataset. В чем дело?


15-1178766213
Slider007
2007-05-10 07:03
2007.06.03
С днем рождения ! 10 мая


15-1178542088
iXT
2007-05-07 16:48
2007.06.03
мой WinXP заболел :( ???


2-1179293313
antonyan
2007-05-16 09:28
2007.06.03
окно справочника 1С


15-1178464612
GrayFace
2007-05-06 19:16
2007.06.03
Трассировка exception и терминология.




   Наверх