windows-appcompat-platform

Why can't 64-bit Windows unwind user-kernel-user exceptions?

泄露秘密 提交于 2019-11-28 16:27:17
问题 Why can't 64-bit Windows unwind the stack during an exception, if the stack crosses the kernel boundary - when 32-bit Windows can? The context of this entire question comes from: The case of the disappearing OnLoad exception – user-mode callback exceptions in x64 Background In 32-bit Windows, if i throw an exception in my user mode code, that was called back from kernel mode code, that was called from my user mode code, e.g: User mode Kernel Mode ------------------ -------------------

How to prevent “This program might not have installed correctly” messages on Vista

我的梦境 提交于 2019-11-27 17:12:48
I have a product setup executable that copies some files to the user's hard drive. It's not a typical installer in the normal sense (it doesn't add anything to the Start Menu or Program Files folders). Each time the setup program is run on Vista, after the exe terminates, Vista produces a task dialog: This program might not have installed correctly Reinstall using recommended settings This program installed correctly Is there a function I need to call from the exe or registry entry to set, to indicate to the operating system that the program installed correctly (or to at least supress this

How to prevent “This program might not have installed correctly” messages on Vista

≡放荡痞女 提交于 2019-11-26 18:56:51
问题 I have a product setup executable that copies some files to the user's hard drive. It's not a typical installer in the normal sense (it doesn't add anything to the Start Menu or Program Files folders). Each time the setup program is run on Vista, after the exe terminates, Vista produces a task dialog: This program might not have installed correctly Reinstall using recommended settings This program installed correctly Is there a function I need to call from the exe or registry entry to set, to