There were such things to fix in vfw_cleanup proc:
1. callback must be released before capDriverDisconnect
2. video_lock must be deactivated to enable message loop
3. DestroyWindow had to be replaced with SendMessage(WM_CLOSE)
I experienced fatal errors on exit of zbarcam on Windows 2000, every time. On Windows XP they happened from time to time. Now I get no error on W2K. So the attached patch fixes problems mentioned here: https://sourceforge.net/tracker/?func=detail&aid=3344780&group_id=189236&atid=928518 (windows 2000 feature request).
Log in to post a comment.