10-20-2006 03:46 PM
10-23-2006 10:41 AM
Not off the top of my head - I use .NET 2.0 myself and haven't seen this problem...can you tell me what version of LV are you using? (8.0, 8.01, 8.20?)
Also, can you supply me with any information on the crash - do you have a crash log file?
Is it possible for you to post the files? If you don't feel comfortable with that, can you email them to me (bloggingbrian@gmail.com)?
10-24-2006 09:47 AM
10-24-2006 10:13 AM
The main thing I can think of that is different is how LabVIEW uses AppDomains. In most .NET applications, you have the DefaultDomain created for you and it's wiped out when you stop the app. LabVIEW, however, creates a specific AppDomain for each project you create (in fact, we create one for edit time and one for runtime). This allows you to have different projects loaded with different "home bases" for loaded your private assemblies.
In addition, we do a careful shutdown of the appdomains when we exit - I'm not certain how much shutdown goes on when you exit out of a simple .NET app since the process itself is being wiped out - the LV process isn't destroyed until quite a while after we destroy the appdomains.
If you have any native code interops w/ threads, events, etc., it might be that something is trying to call back into the .NET appdomain we've destroyed before the process is gone. For example, are you using the .NET container at all?
10-24-2006 11:13 AM
10-24-2006 11:50 AM
10-24-2006 03:27 PM
10-25-2006 02:49 PM