Classlib not releasing from memory and no objects showing in memory

Author: Michael Babcock

Posted: 2001-12-04 at 15:52:34

Here's my scenario:

- Master=2Eexe calls Child=2Eexe

- Child=2Eexe copies most recent classlibs from LAN to client if ftime reports

difference=2E (I've shifted to the fat client design=2E)

- User exits child=2Eexe and the last 3 lines of the main (driver) prg of that

exe is the CLEAR CLASSLIB lines for the 3 libraries I was using=2E

- I make some changes to the LAN classlib=2E

- User (me in testing mode) re-enters exe, I notice that the COPY FILE lines

fired and give the impression that the update was done (via Wait Window stmts

in routine), BUT the client has the same old copy of the classlib! I do a

CLEAR ALL after I make any changes in my IDE, and I can use Explorer to see

that the ftimes are different, so why isn't it copying the files? To test my=20=

theory about the client app still having it in memory, I exited VFP

so that only my app was open, opened Explorer and tried to delete the files,

but it gave the error message: "[Error Deleting File] Cannot delete

msmhshared: Access is denied=2E Make sure the disk is not full or

write-protected and that the file is not in use=2E" Well, the obvious answer is

the last one: the file is in use=2E But the CLEAR CLASSLIBs should have taken

care of that?!???!

I've verified that there are no objects in memory from that classlib courtesy

of the DISPLAY MEMORY / DISPLAY OBJECTS commands=2E

Any ideas?

TIA,

Michael J=2E Babcock, MCP

President, Central Pennsylvania Visual Foxpro User Group

vfpmcp@hotmail=2Ecom

"Code smarter; not harder=2E"

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

*****************************************************

Michael Babcock

KePRO, Inc

Tel: 717-564-8288

Fax: 717-564-4188

Internet Address: mbabcock@kepro=2Eorg

Home Page: http://www=2Ekepro=2Eorg

*****************************************************

©2001 Michael Babcock