Looks like a bug to me but it's SQLGETPROP() that has memory leak. It looses one memory handle ( SYS(1011) ) per each call.
>Hi all
>
>Open Shell Task Manager, see VFP process memory:
>
>run this
>
>h=SQLCONNECT(....)
>FOR I=1 TO 1000000
> y=SQLGETPROP(h,"ConnectString")
>NEXT
>SQLdisCONNECT(h)
>
>Is allocated and never released, approximately 130 bytes for every call.
>
>Is un bug ?
>
>Fabio
--sb--