CDaoRecordset and AddNew
Jim Leavitt -- jimll@halcyon.com
Saturday, October 26, 1996
Jochen:
Are you using Access 7 or Access 2? I've used AddNew and Update with
dao in a recently completed application. I didn't see any memory problems under 95 or
NT 4.0. I'd be interested to see what the memory dump looks like.
Jim Leavitt
----------
From: Jochen Koenemann[SMTP:joe@mpi-sb.mpg.de]
Sent: Thursday, October 24, 1996 5:35 PM
To: mfc-l@majordomo.netcom.com
Subject: Q: CDaoRecordset and AddNew
Environment: VC 4.0 and Win95
I am using CDaoRecordset Objects in connection to an ACCESS database.
When calling the AddNew funtion several times the debugger reports
a memory leak. The AddNew function allocates something like a cache
that is not freed. Is there a possibility to free that cache memory ?
thanks
Jochen
John Bundgaard -- johnb@image.dk
Tuesday, October 29, 1996
You need to cancel the AddNew operation by calling
CDaoRecordset::CancelUpdate()
John Bundgaard
=D8rum & Jensen Elektronik A/S
johnb@image.dk
----------
> I am using CDaoRecordset Objects in connection to an ACCESS database.
> When calling the AddNew funtion several times the debugger reports
> a memory leak. The AddNew function allocates something like a cache
> that is not freed. Is there a possibility to free that cache memory ?
| Вернуться в корень Архива
|