[Implemented] Please move Manifest Data inside the EXE

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

[Implemented] Please move Manifest Data inside the EXE

Post by fsw »

Fred, can you please move the Manifest Data as resource inside the EXE :?:

If somebody enables XP skin support (under Compiler Options) a manifest file is created.
The file attributes are archive/hidden but NOT read only.
If somebody empties the file (0 bytes instead of 647 bytes) your application refuses to work (on WinXP).
You can delete this file - and then your application will work again, without skin support.

One suggestion would be to make this file read only, but the better solution would be to move the Manifest Data as resource inside the EXE.

With another programming language I add:

Code: Select all

1 24 "WindowsXP.Manifest" 
to my resource file (where WindowsXP.Manifest is my template manifest file) and that's it.
No extra manifest file needed.

Thanks in advance for your time looking at this post.
Franco

PS Sorry if somebody already posted this thought... :?
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I would like to do this, but the lcclinker has a problem which makes it not work. It has been reported but still not fixed.. Wait'n'see.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

Fred wrote:I would like to do this, but the lcclinker has a problem which makes it not work. It has been reported but still not fixed.. Wait'n'see.
remember (John Lennons Song): So Give Alink a chance..... :)
SPAMINATOR NR.1
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

:?
Believe it or not, I use link.exe from M$.
Version: 2.50.4048(NT) FileDate: April 15th 1994.

And it works great (even under XP) :!:
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I believe you, I know than other linker works (I do the same with VC++ one). I just say than the linker than PB actually use can't do it.
Post Reply