|
-
Mar 7th, 2001, 01:03 AM
#1
Thread Starter
New Member
Can this cause me a problem
This class declares
dim dbConnect as clsDatabaseAccess
set dbConnect = new clsDatabaseAccess
dbConnect.connect
dbConnect.execSQL
ProcessFile(dbConnect)
dbConnect.execSQL
dbConnect.disconnect
set dbConnect= Nothing
Public Function ProcessFile(ByRef objDB As clsDatabaseAccess)
objDB.execSQL
end sub
I don't know if this will cause a memory leak or not. I don't know what happens to the object passes as reference(objDB)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|