Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Interop
Message
De
14/07/2008 05:20:38
 
 
À
13/07/2008 18:09:25
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01330979
Message ID:
01331029
Vues:
7
Hi,

Will this help: http://www.guidanceshare.com/wiki/Interop_(.NET_1.1)_Performance_Guidelines_-_Marshal.ReleaseComObject

Regards,
Viv

>I am accessing net (c#) classes via VFP9 successfully. However, garbage cleanup is a mess. I've noticed that setting the object in VFP to null and releasing it does not really release them. If I null and release my objects, I cannot rebuild the dotnet dll until I shut down VFP completely and even then, my machine will be sluggish after instantiating a lot of .net objects via com interop. I know that .net uses the .net garbage collector to release an object so how do I cleanup from VFP? What has to be visible via com interop to VFP in order for me to destroy the .net objects I create in VFP that are accessible to me via com interop? Something has to release the objects and even shutdown the .net runtime from VFP...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform