Page 1 of 1

Add correct manifest to application

Posted: Tue Aug 16, 2011 5:46 pm
by c4s
I just checked out the Manifest PureBasic adds to my applications. One thing that got my attention was this part:
Manifest of my application wrote:processorArchitecture="X86"
On MSDN's related page it says that:
MSDN wrote:Important Set the processorArchitecture entry to "X86" if your application targets the 32 bit Windows platform, or to "amd64" if your application targets the 64 bit Windows platform. You can also specify "*", which ensures that all platforms are targeted, as shown in the following examples.
...I guess setting it to "*" instead of "X86" (when compiling for 32bit) would be best then?! A commenter on that page endorses it, saying:
MSDN Commenter wrote:Should be processorArchitecture="*"
Please, PLEASE change the samples in the article to processorArchitecture="*" instead of "processorArchitecture="X86"" because processorArchitecture="X86" works on x64 sometimes - just enough to miss it during testing but failing very badly in production deployment.
And if you're already updating the Manifest PureBasic adds:
Could you please equate the following with the information I'm setting in the Compiler Options under Version Information (only of enabled of course):
Manifest of my application wrote:version="1.0.0.0"
name="CompanyName.ProductName.YourApp"
<description></description>

Re: Add correct manifest to application

Posted: Wed Aug 17, 2011 12:49 am
by IdeasVacuum
+1, good point, I have seen the odd failure of 32bit apps on Win7 64bit. In some cases, creating a 64bit app instead is not the right answer.

Re: Add correct manifest to application

Posted: Wed Aug 17, 2011 3:34 pm
by IceSoft
A pellesC polink update should be help there.

Re: Add correct manifest to application

Posted: Wed Aug 17, 2011 3:42 pm
by ts-soft
IceSoft wrote:A pellesC polink update should be help there.
polink is only the linker, the manifest was compiled by porc and porc is up to date

Re: Add correct manifest to application

Posted: Wed Aug 17, 2011 10:17 pm
by IceSoft
ts-soft wrote:
IceSoft wrote:A pellesC polink update should be help there.
polink is only the linker, the manifest was compiled by porc and porc is up to date
Sorry. Porc have to be updated.

Windows 7 comes 22.Okt. 2009
Pelles C 6.00 is from (02.08.2009)
C:\Program Files\PureBasic\Compilers>porc
Pelles Resource Compiler, Version 6.00.0
Copyright (c) Pelle Orinius 1997-2009

Re: Add correct manifest to application

Posted: Wed Aug 17, 2011 10:19 pm
by freak
@IceSoft: Stop trolling about this issue please.