Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Writing High-DPI Win32 Applications
Re: Writing High-DPI Win32 Applications [message #34888 is a reply to message #34882] Fri, 16 December 2011 10:38 Go to previous messageGo to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
OK, now I have tried to embed a manifest and it seems to work on both Windows XP x32 and Windows 7 x64:

Here's how: First I created a file in the main package directory called manifest.xml:

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
	<asmv3:application>
		<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
			<dpiAware>true</dpiAware>
		</asmv3:windowsSettings>
	</asmv3:application>
</assembly>


Then added a Custom build steps :: Commands:

mt.exe -manifest manifest.xml -outputresource:$(OUTPATH);1


// Tom

[EDIT]

Testing this solution was successful on Windows 2000 Professional, Windows XP Professional x32, Windows Vista Business x64 and Windows 7 Professional x64.

[Updated on: Fri, 16 December 2011 11:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Compile U++
Next Topic: Is U++ compatible with VC++ Express 2012?
Goto Forum:
  


Current Time: Sat May 11 14:33:03 CEST 2024

Total time taken to generate the page: 0.03518 seconds