VFP8: AEvents() cause memory leak!!! (NOT fixed in SP1)
Each start of this algorithm causes outflow about 3 MB of memory
See This Test Code
Local _tester
_tester = CreateObject("Tester")
return
Define Class CBase as Custom
Function Cool
EndFunc
EndDefine
Define Class Tester as Custom
oBase = NULL
Function CoolHandler
Local _arr[3]
=AEvents(_arr, 0)
EndFunc
Function Init
This.oBase = CreateObject("CBase")
=BindEvent(This.oBase, "Cool", This, "CoolHandler")
This.Test()
EndFunc
Function Test
Local _i
For _i = 1 to 100000
This.oBase.Cool()
EndFor
EndFunc
EndDefine
Alexander Korolev Tag: Watch this internet update Tag: 182751
HTML Help - running from vfpro
Hi,
Please could you tell me how to run an html help file
(.chm) from within a fox pro application.
Many thanks,
Steven Tag: Watch this internet update Tag: 182750
record is out of range
I have grid which the record source from view, it have 9
colom, the last colom is editbox,
in editbox.getfocus
thisform.grid1.rowheight=90
in editbox.lostfocus
thisform.grid1.rowheight=30
when I click colom1-colom8 it's ok, when I clik colom9 ,
the grid height automatic adjust to 90, it's ok but after
that if I click anywhere in grid the error show up, err
(5), record is out of range
I've tried to search in google, there are some cases like
mine but I still can not get the light.
Can someone help me, please.
TIA
HN Tag: Watch this internet update Tag: 182748