After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

MFC-MDI Application problems

Single Click discussions / bugs
Post Reply
akrobit
Posts: 1
Joined: 2010-06-30 11:04

MFC-MDI Application problems

Post by akrobit »

An MFC MDI application does not end normally, when it was started or used by VNC (SC).
The error occurs also with a simple, wizard-generated application in VS2005 (default settings, but no unicode and static linked mfc) without any line of own code!

Details: if the application opens a new document window while VNC is running, AfxOleLockApp() is called (olelock.cpp, line 53) as a result of a call to CWnd::CreateAccessibleProxy(...), (wincore.cpp, line 3635, wincore.cpp, line 3196, ...). But there is no call to AfxOleUnlockApp(). The result is, that the mainframe of the application is not closed and destroyed, but only hidden. The process must terminated in the task manager.

If the hook option at the sc-proerties-page is disabled, the software works very well.

Where is the error? SC-hook.dlls? MFC? Any ideas or solutions?
Post Reply