I *DO* target for windows 7/8/vista/xp/98 etc for using my windows xp machine
all the time (I am a developer, I target for platforms I don't have, especially
since I don't have 10 machines with varying OS's lying about). it would be
extremely useful for me to be able to access windows vista and windows 7 system
metrics compiling on a windows xp box, because my customers have windows 8, 7,
vista, xp, 2000, 98, etc.! So I need to target for ALL the platforms when I am
making utilities like mine (especially sysinfo).
what's the worst that could happen if I pretend I have windows 7? the
GetSystemMetrics() or whatever it was called will simply return a 0, right?
(and so it does) so the call is a failure and I simply don't print anything for
output.
I wrote a wrapper batch file that allows me to automatically generate and
compile in an XML manifest resource required by windows vista/7/8 for running
in the protected Program Files.
and I found out my apps run just fine (with the exception of windows 9x/me, but
that's been fixed in latest revision of compiler). so now I can make windows 7
exe's with my xp box and they work great. If you want the batch file for
mingw-w64, it's at http://JesusnJim.com/code/compilers/mingw.html and it'
called gw2.cmd
I won't go into the subject any more unless you want to.
your winuser.h fix worked. many thanks.
-----------------------------------------------------
Jim Michaels
jmich...@yahoo.com
j...@jimscomputerrepairandwebdesign.com
http://JimsComputerRepairandWebDesign.com
http://JesusnJim.com (my personal site, has software)
-------
Computer memory/disk size measurements:
[KB KiB] [MB MiB] [GB GiB] [TB TiB]
[10^3B=1,000B=1KB][2^10B=1,024B=1KiB]
[10^6B=1,000,000B=1MB][2^20B=1,048,576B=1MiB]
[10^9B=1,000,000,000B=1GB][2^30B=1,073,741,824B=1GiB]
[10^12B=1,000,000,000,000B=1TB][2^40B=1,099,511,627,776B=1TiB]
Note: disk size is measured in MB, GB, or TB, not in MiB, GiB, or TiB.
computer memory (RAM) is measured in MiB and GiB.
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public