Add correct manifest to application

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Add correct manifest to application

Post 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>
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Add correct manifest to application

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Add correct manifest to application

Post by IceSoft »

A pellesC polink update should be help there.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Add correct manifest to application

Post 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
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Add correct manifest to application

Post 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
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: Add correct manifest to application

Post by freak »

@IceSoft: Stop trolling about this issue please.
quidquid Latine dictum sit altum videtur
Post Reply