Sample code to add an XP manifest to a program
Maybe a simple solution:
new CompilerCommand:
IncludeResource Type,Name,File
(For example for the manifest or additional icons)
IncludeResourceSource Type,Name,File
(Version-Resource must be compiled (to .res) before it can be used. At the moment jaPBe goRC; would be nice, when this is not needed anymore)
new CompilerCommand:
IncludeResource Type,Name,File
(For example for the manifest or additional icons)
IncludeResourceSource Type,Name,File
(Version-Resource must be compiled (to .res) before it can be used. At the moment jaPBe goRC; would be nice, when this is not needed anymore)
That is good, though I'd leave the command line option too. For resource files already compiled, you'd only need:
IncludeResource "file.res"
as settings like name, type, etc.. are stored in the .RES file.
For source resource files (.rc) , PBCompiler could invoke the RC compiler by Microsoft (I think it's totally free) or LRC by LCC.
IncludeResource "file.res"
as settings like name, type, etc.. are stored in the .RES file.
For source resource files (.rc) , PBCompiler could invoke the RC compiler by Microsoft (I think it's totally free) or LRC by LCC.
That would be nice, though API calls for resouces are easy to handle. Anyway.. I hope Fred will make the option to include our own .RES in the final EXE.
BTW... since I really DID NEED that for a project of mine, I've just hacked
the PBCompiler, so now it adds my resource to my DLL. Sorry, but I had no other choice. Of course, I won't give that modified version to anyone.
BTW... since I really DID NEED that for a project of mine, I've just hacked

