Page 1 of 1

Posted: Fri Aug 23, 2002 3:11 am
by BackupUser
Restored from previous forum. Originally posted by pusztry.

Is there a way to include resources AND use them directly in the EXE? If so how can I acomplish that? I am meaning for small wav file, bitmaps, icons, the manifest file so that your program will have WinXP skin supportm etc.

This would be a huge help.


Ryan

WinXP, PIII 800 MHz, 512MB RAM, SB Live 5.1, NVidia TNT 2 Ultra

Posted: Fri Aug 23, 2002 7:07 am
by BackupUser
Restored from previous forum. Originally posted by Hitman.

Actually You can use GrabXXX() to include WAVs and Bitmaps.



Well, everyone needs to do something for living.

Posted: Fri Aug 23, 2002 11:10 am
by BackupUser
Restored from previous forum. Originally posted by pusztry.

Can you give me an example of this command. can I include the *.manifest file so that the .exe file will have built in windows xp skin support?

Ryan

WinXP, PIII 800 MHz, 512MB RAM, SB Live 5.1, NVidia TNT 2 Ultra

Posted: Fri Aug 23, 2002 1:09 pm
by BackupUser
Restored from previous forum. Originally posted by traumatic.
Originally posted by pusztry
can I include the *.manifest file so that the .exe file will have built in windows xp skin support?
Have a look at PE-Explorer (http://www.heaventools.com/).
This will let you (among other things) do exactly what you want.

The only problem is, PE-Explorer needs resources in order to change them/add some, so you might simply add an icon within PureBasic.

I also found ResHacker to do its work.

Posted: Fri Aug 23, 2002 3:45 pm
by BackupUser
Restored from previous forum. Originally posted by pusztry.

I have ResHacker how would I do it with that.
Ryan

Ryan

WinXP, PIII 800 MHz, 512MB RAM, SB Live 5.1, NVidia TNT 2 Ultra

Posted: Fri Aug 23, 2002 4:37 pm
by BackupUser
Restored from previous forum. Originally posted by MrVainSCL.

Hi pusztry
To include any stuff to your exe is no problem... PureBasic supports commands to get/grab your included sounds/graphics i.e... Take a look to the forum and you will find some old threads about this stuff...

Ok... i dont know how to include the manifest file to the exe to have the copyright and all other stuff in the end of your exe... I know there is an option in the compiler to active "WinXP skin support"... Havent tried it yet, because i use only Win2000 and so i havent tested it yet to see where is a different to use this option or not..

Just try this option.. maybe this is what you are looking for...!?
Good luck...


PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten

Posted: Fri Aug 23, 2002 5:03 pm
by BackupUser
Restored from previous forum. Originally posted by Justin.

I hope real resources come soon, i found some problems using the suggested tricks when i asked for this sometime ago.

Posted: Fri Aug 23, 2002 6:11 pm
by BackupUser
Restored from previous forum. Originally posted by traumatic.
Originally posted by pusztry

I have ResHacker how would I do it with that.
compiler your exe with 'xp support' (and icon)
in reshacker, click on 'add resource' and choose your *.manifest

resource type is 24
resource name should be 1
resource lang could be 1033 (english)


save the file. done :)

Posted: Fri Aug 23, 2002 6:20 pm
by BackupUser
Restored from previous forum. Originally posted by MrVainSCL.

Hi Fred
Could you add this feature optional to the compiler options for one of the next versions? So nobody need longer any resource hacking tool to add the manifest info...

PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten

Posted: Mon Aug 26, 2002 3:38 am
by BackupUser
Restored from previous forum. Originally posted by pusztry.

Fred,
For that matter can you make a resource compiler be built in for the next release? That would be GREAT. I also am having problems with get/grab commands.

Thanks

Ryan

WinXP, PIII 800 MHz, 512MB RAM, SB Live 5.1, NVidia TNT 2 Ultra

Posted: Mon Aug 26, 2002 3:46 am
by BackupUser
Restored from previous forum. Originally posted by pusztry.
Originally posted by traumatic
Originally posted by pusztry

I have ResHacker how would I do it with that.
compiler your exe with 'xp support' (and icon)
in reshacker, click on 'add resource' and choose your *.manifest

resource type is 24
resource name should be 1
resource lang could be 1033 (english)


save the file. done :)
How did you know that that resource was = 24, name = 1, lang = 1033 ?
Is there a place that that info is kept?

Ryan

WinXP, PIII 800 MHz, 512MB RAM, SB Live 5.1, NVidia TNT 2 Ultra

Posted: Mon Aug 26, 2002 10:53 am
by BackupUser
Restored from previous forum. Originally posted by traumatic.
Originally posted by pusztry
How did you know that that resource was = 24, name = 1, lang = 1033 ?
i didn't actually :)
i simply had a look at an exe with inbound manifest.
but searching the web you'll find out that 24 stands for RT_MANIFEST.

maybe the language-ids are also described in the reshacker helpfile.

Posted: Mon Aug 26, 2002 10:57 am
by BackupUser
Restored from previous forum. Originally posted by pusztry.

Oh OK thanks I will search. That tool seems to have many uses.

Thanks

Ryan

WinXP, PIII 800 MHz, 512MB RAM, SB Live 5.1, NVidia TNT 2 Ultra