Ok, I've figured it out now. My test user didn't have the my test "root
agency certificate" installed. Once I installed that, VerifyAccess returned
pfHasAcces == true.
Still wondering why the Game Explorer does show the rating, even without the
root agency certificate installed. Didn't expect that. Perhaps because the
games explorer entry was created for All users, and I was installing it with
my administrator user?
_____
Van: gam...@li...
[mailto:gam...@li...] Namens Jason
Sandlin
Verzonden: woensdag 3 januari 2007 14:37
Aan: Game Development for MS Windows
Onderwerp: Re: [GD-Windows] Parental control bug in Windows Vista RC1?
So VerifyAccess is returning *pfHasAccess == false? It's possible your
signing your exe with an untrusted cert. Do you see rating being displayed
properly for your game in the Game Explorer UI? Have you tried setting your
parental controls to allow games that have no rating to see if that works?
Jason
From: gam...@li...
[mailto:gam...@li...] On Behalf Of
Michiel Kolders
Sent: Wednesday, January 03, 2007 5:19 AM
To: gam...@li...
Subject: [GD-Windows] Parental control bug in Windows Vista RC1?
Hi,
I've ran into a strange problem with Parental Control in Windows Vista
(RC1): I've done all the necessary things to support the feature; embedded
manifest, signed the executable, added the game using IGameExplorer in the
installer and calling IGameExplorer::VerifyAccess on startup of my game.
This all seems to work well, except when I switch Parental Control ON with
the following settings.
- Game Ratings: Up to 18+ (PEGI)
- Block games with no rating
- No additional game descriptors blocked
- Always blocked: None
- Always allowed: None
My game has a rating of 12+ (PEGI), so my game should run fine. The Game
Explorer indicates that it's allowed to run, and starts the game. Then, when
IGameExplorer::VerifyAccess is called, it returns false, denying access!
Does anyone here have a clue why the Game Explorer says it's fine, but
VerifyAccess thinks it's not?
Many thanks in advance!
Michiel Kolders
|