I am having the exact same problem, but mine also crashes in the uncompiled version! The application runs fine until I try to exit.
Checking the Event Viewer, I get this:
The application, , generated an application error The error occurred on 11/02/2001 @ 08:39:24.293 The exception generated was c0000005 at address 027B7D20 (CIN_Cleanup)
The Dr. Watson Log shows this:
c0000005 CIN_Cleanup(027B7D20)
Application exception occurred:
App: (pid=572)
When: 11/2/2001 @ 08:39:24.293
Exception number: c0000005 (access violation)
I did some checking, and the thing that is causing the crash (CIN_Cleanup) is part of BVRTDatabase.dll, in C:\Program Files\National Instruments\LabVIEW 6\vi.lib\system.
I still don't know what i
s causing it, though.