When I am debugging an application in Visual Basic and stop the debugger while the application is running, I get a error in Visual Basic and it closes down. How can I correct or avoid this issue?
This is an issue with any development environment, not just Visual Basic. The issue is that the DirectShow filters are still trying to stream to the preview window but it is no longer available. What you need to do to avoid this issue is to stop the stream and close the preview window either by closing the preview dialog box or by calling LucamDestroyDisplayWindow(), if it was created by the LuCam API.
Related Questions
- When I am debugging an application in Visual Basic and stop the debugger while the application is running, I get a error in Visual Basic and it closes down. How can I correct or avoid this issue?
- When LionClock Server is running as a background service application, I get an error message when I try to temporary stop the service and access the Servers interface. What should I do?
- Why do I get the "The application failed to initialize properly" or "MSCOREE.DLL was not found" error message when running the compiled program?