-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Copyright (c) 2015, James Johnston | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# QWLaunch # | ||
|
||
Many Quicken® software versions do not fully support high DPI settings in | ||
Windows®. (These are the settings in **Display** in **Control Panel** that | ||
allow you to pick 100%, 125%, 150%, 200%, etc. scaling). Quicken claims to | ||
properly support this DPI scaling setting, but as many Quicken users can attest, | ||
this is not always so. | ||
|
||
As a compatibility workaround, this program will disable DPI awareness for | ||
Quicken. Disabling DPI awareness causes Windows to enable DPI virtualization | ||
for Quicken. Essentially, Windows will lie to Quicken and get Quicken to | ||
render itself at the standard 100% scaling setting. Then, Windows will upscale | ||
the image to your chosen scaling setting. The result works well at the cost of | ||
blurry text and images. | ||
|
||
## Required Build Tools ## | ||
|
||
* Visual C#® 2010 or newer (Express versions work fine). You should target the | ||
same version of Microsoft .NET Framework as Quicken does (currently 4.0). | ||
|
||
## Build Instructions ## | ||
|
||
1. Build the `QWLaunch.sln` solution. Use the `Release` configuration. | ||
|
||
## Install Instructions ## | ||
|
||
1. Copy the compiled `bin\Release\QWLaunch.exe` file to your main Quicken | ||
directory. For example, on my 64-bit Windows computer with Quicken installed | ||
to the default location, I'd copy it to `C:\Program Files | ||
(x86)\Quicken\QWLaunch.exe`. | ||
|
||
1. Create a shortcut to the `QWLaunch.exe` file somewhere accessible (e.g. on | ||
your desktop and/or in your Start menu). | ||
|
||
1. Use your shortcut to `QWLaunch.exe` any time you want to launch Quicken. | ||
|
||
## Compatibility ## | ||
|
||
This has been tested with Quicken 2014 and Quicken 2015. | ||
|
||
## How QWLaunch Works ## | ||
|
||
The technique is very simple. Rather than directly load Quicken's main | ||
`qw.exe`, we now use a wrapper program. This wrapper program has a WPF | ||
attribute set to disable DPI awareness. It then loads the main Quicken program. | ||
by loading the Quicken assembly and invoking its `Main` function - all in the | ||
same process. | ||
|
||
## References ## | ||
|
||
* [DPI Virtualization and Scaling][1] | ||
* [DisableDpiAwarenessAttribute Class][2] | ||
|
||
[1]: https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx#dpi_virtualization_and_scaling | ||
[2]: https://msdn.microsoft.com/en-us/library/system.windows.media.disabledpiawarenessattribute(v=vs.100).aspx | ||
|
||
## Trademarks ## | ||
|
||
Intuit and Quicken are trademarks and service marks of Intuit Inc., registered | ||
in the United States and other countries. | ||
|
||
Microsoft, Windows, and Visual C# are either registered trademarks or trademarks | ||
of Microsoft Corporation in the United States and/or other countries. |