The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: mitchellh on October 16, 2007, 07:15:26 AM

Title: Vista Style
Post by: mitchellh on October 16, 2007, 07:15:26 AM
Hi,

I''ve created a basic program using the Windows API and assembled it with MASM but it doesn't have the Vista style. I remember with XP I would embed a manfist in the RC file but I'm not sure what the manfiest file (if any) should contain for Vista.

Can someone help please?

Thank you.
Title: Re: Vista Style
Post by: evlncrn8 on October 16, 2007, 09:57:36 AM
the same manifest...

did you even try?
Title: Re: Vista Style
Post by: mitchellh on October 16, 2007, 04:14:06 PM
Quote from: evlncrn8 on October 16, 2007, 09:57:36 AM
the same manifest...

did you even try?

Of course I tried. For some reason after I crate the new manfiest, compile the resource, and relink the program windows tells me it is corrupt and cannot open it :(
Title: Re: Vista Style
Post by: mitchellh on October 16, 2007, 05:15:41 PM
Alright, I figured it out. In the RadAsm resource editor I added an "XP Manifest" and in the .rc file it says:

IDC_MANFIEST_WHATEVER MANIFEST "mymanifest.xml"

But it never defines "MANIFEST" I just added a:

#define MANIFEST 24

And it works golden! :)