Author | Topic: Manifest File As A Resource | |
---|---|---|
Jonathan Leeming | Manifest File As A Resource on Wed, 19 Mar 2014 12:38:46 -0600 Hi, I am trying to link my app (famtest.exe) manitest file as a resource using an ARC file (famtest.arc) following some documentation that originally originated on Alaska's site. Although the documentation is for Alaska 1.8 I'm using 1.9 for this. My ARC file contains only the following lines of code... #define MANIFEST_RESID 1 #define MANIFEST 24 USERDEF MANIFEST MANIFEST_RESID FILE = "famtest.exe.manifest" I then include FAMTEST.ARC in my XPJ file after my PRG list and just before my LIB entries. The [PROJECT] section includes... RC_COMPILE = arc RC_FLAGS = /v When I do a pbuild I get the follwing error... famtest.arc(5:8) : error: syntax error - 1 FILE famtest.arc: 1 error(s). 'arc /v "FAMTEST.ARC"' returned error 2 I am hoping that someone can point me in the right direction.... Thanks... Jonathan | |
Jonathan Leeming | Re: Manifest File As A Resource on Wed, 19 Mar 2014 13:24:26 -0600 Hi... In discussions with Chris Chambers it was determined that I just had to remove the word "FILE" from the 4th line of my original attempt... #define MANIFEST_RESID 1 #define MANIFEST 24 USERDEF MANIFEST MANIFEST_RESID = "famtest.exe.manifest" Then in AppSys() I added one line of code... LoadResource(1) && Where 1 is the number associated with the manifest file Thanks Chris for your assistance... Jonathan <Jonathan Leeming> wrote in message news:540884b1$6dc045aa$4f41f@news.alaska-software.com... > Hi, > > I am trying to link my app (famtest.exe) manitest file as a resource using > an ARC file (famtest.arc) following some documentation that originally > originated on Alaska's site. Although the documentation is for Alaska 1.8 > I'm using 1.9 for this. > > My ARC file contains only the following lines of code... > > #define MANIFEST_RESID 1 > #define MANIFEST 24 > USERDEF MANIFEST > MANIFEST_RESID FILE = "famtest.exe.manifest" > > I then include FAMTEST.ARC in my XPJ file after my PRG list and just > before my LIB entries. The [PROJECT] section includes... > > RC_COMPILE = arc > RC_FLAGS = /v > > When I do a pbuild I get the follwing error... > > famtest.arc(5:8) : error: syntax error - 1 FILE > famtest.arc: 1 error(s). > > 'arc /v "FAMTEST.ARC"' returned error 2 > > I am hoping that someone can point me in the right direction.... Thanks... > Jonathan > |