Hello, I have a problem using the sql libraries.
In my application I need to continously connect to and disconnect from databases. Every time I do this I use DBConnect function, DBDisconnect, and DBFree to free allocated memory:
hdb = DBConnect (DBase);
[...]
DBDisconnect(hdb);
DBFree(&hdb);
Having a look to system resources, I see that as program is running allocated memory grows up, and after some days this is cause of program stop. My question is: how should I free memory resources? Should I try the "free" instance?
If the same program runs with a modification, and I avoid connecting and disconnecting continuously, the memory allocation problem disappear, so I am convinced it is related to this instances.
Thank you
Alessandro