gamedevlists-windows Mailing List for gamedev (Page 36)
Brought to you by:
vexxed72
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(48) |
Oct
(58) |
Nov
(49) |
Dec
(38) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(124) |
Feb
(83) |
Mar
(17) |
Apr
(37) |
May
(12) |
Jun
(20) |
Jul
(47) |
Aug
(74) |
Sep
(62) |
Oct
(72) |
Nov
(54) |
Dec
(13) |
2003 |
Jan
(36) |
Feb
(8) |
Mar
(38) |
Apr
(3) |
May
(6) |
Jun
(133) |
Jul
(20) |
Aug
(18) |
Sep
(12) |
Oct
(4) |
Nov
(28) |
Dec
(36) |
2004 |
Jan
(22) |
Feb
(51) |
Mar
(28) |
Apr
(9) |
May
(20) |
Jun
(9) |
Jul
(37) |
Aug
(20) |
Sep
(23) |
Oct
(15) |
Nov
(23) |
Dec
(27) |
2005 |
Jan
(22) |
Feb
(20) |
Mar
(5) |
Apr
(14) |
May
(10) |
Jun
|
Jul
(6) |
Aug
(6) |
Sep
|
Oct
(12) |
Nov
(1) |
Dec
|
2006 |
Jan
(18) |
Feb
(4) |
Mar
(3) |
Apr
(6) |
May
(4) |
Jun
(3) |
Jul
(16) |
Aug
(40) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
(2) |
2007 |
Jan
(5) |
Feb
(2) |
Mar
(4) |
Apr
(1) |
May
(13) |
Jun
|
Jul
(26) |
Aug
(3) |
Sep
(10) |
Oct
|
Nov
(4) |
Dec
(5) |
2008 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kerim B. <wa...@ho...> - 2003-01-23 08:14:54
|
Hello Dan, It seems that I simply ignored this stuff about sharing highscores;-( Best regards, Kerim mailto:wa...@ho... Thursday, January 23, 2003, 12:02:53 AM, you wrote: DT> Yeah I know, but it still doesn't solve the problem when the user wishes to DT> update some high score. That requires write access to HLKM, if you choose to DT> store there, which would fail. Other than something outside the registry, DT> the only other option would be to read in the high scores from every user DT> and select the highest, which is also an access denied I believe :) DT> Dan DT> ----- Original Message ----- DT> From: "Kerim Borchaev" <wa...@ho...> DT> To: "Dan Thompson" <gam...@li...> DT> Sent: Wednesday, January 22, 2003 12:15 PM DT> Subject: Re[4]: [GD-Windows] Security/access when writing to registry >> Hello Dan, >> >> Users can read from HKLM. So in case of "for all users" >> installer puts in HKLM "global" settings(like install location) >> to be only read in typical use of the app. And "local"(like >> video options) user settings are created in HKCU when user >> starts the application for the first time. >> >> Best regards, >> Kerim mailto:wa...@ho... >> >> Wednesday, January 22, 2003, 9:51:40 PM, you wrote: >> >> >> And on start of your app first, say, look into CU(if the user >> >> installed this soft for her personally ) and if nothing >> >> found loook into LM. >> >> DT> This won't nessearily work, because it implies that all users have DT> admin >> DT> rights. You suggest that only the installer needs admin rights, but if DT> the >> DT> installer puts it in HKLM, and adds it to the start menu for everyone, DT> the >> DT> program won't load for Users, because the program won't be able to DT> find it >> DT> in HKCU, and it will try HKLM, which will get it an access denied... >> >> DT> You could just have the installer put a copy of it in everyone's HKCU >> DT> somehow, but that doesn't solve the high scores problem... >> >> DT> I think your best bet is the common docs folder, or an internet high DT> scores. >> >> DT> -Dan >> >> >> DT> ----- Original Message ----- >> DT> From: "Kerim Borchaev" <wa...@ho...> >> DT> To: "Brian Hook" <gam...@li...> >> DT> Sent: Wednesday, January 22, 2003 1:06 AM >> DT> Subject: Re[2]: [GD-Windows] Security/access when writing to registry >> >> >> >> Hello Brian, >> >> >> >> Support both HKCU and HKLM. If your software is being installed >> >> by an advanced user let her choose what to use. Like this: >> >> >> >> "Do you want this software to be available to all users(requires >> >> admin rights) or only to the current user?(Yes/No)" >> >> >> >> And on start of your app first, say, look into CU(if the user >> >> installed this soft for her personally ) and if nothing >> >> found loook into LM. >> >> >> >> Best regards, >> >> Kerim mailto:wa...@ho... >> >> >> >> Wednesday, January 22, 2003, 11:01:55 AM, you wrote: >> >> >> >> BH> Yes, I'm revisiting a thread that's over a year old =) >> >> >> >> BH> I've been using HKCU instead of HKLM like a good Windows app, but DT> it >> >> BH> seems like you can't win 'em all. >> >> >> >> BH> The problem with HKCU is that, well, it's per user. I've gotten DT> very >> >> BH> sporadic complaints about having to install our games multiple DT> times >> >> BH> (including unlock codes), which isn't that big a deal. But what IS DT> a >> >> BH> big deal is when you have multiple users on the same machine trying >> >> BH> to compete against each other, but now their high scores aren't >> >> BH> shared. This is a pretty galling thing, since a lot of our games DT> are >> >> BH> competitive that way and we do find that more than a few of our >> >> BH> players are on multi-user systems. >> >> >> >> BH> Ideas on a clean solution to this problem? >> >> >> >> BH> Brian |
From: Dan T. <da...@cs...> - 2003-01-22 20:53:57
|
Yeah I know, but it still doesn't solve the problem when the user wishes to update some high score. That requires write access to HLKM, if you choose to store there, which would fail. Other than something outside the registry, the only other option would be to read in the high scores from every user and select the highest, which is also an access denied I believe :) Dan ----- Original Message ----- From: "Kerim Borchaev" <wa...@ho...> To: "Dan Thompson" <gam...@li...> Sent: Wednesday, January 22, 2003 12:15 PM Subject: Re[4]: [GD-Windows] Security/access when writing to registry > Hello Dan, > > Users can read from HKLM. So in case of "for all users" > installer puts in HKLM "global" settings(like install location) > to be only read in typical use of the app. And "local"(like > video options) user settings are created in HKCU when user > starts the application for the first time. > > Best regards, > Kerim mailto:wa...@ho... > > Wednesday, January 22, 2003, 9:51:40 PM, you wrote: > > >> And on start of your app first, say, look into CU(if the user > >> installed this soft for her personally ) and if nothing > >> found loook into LM. > > DT> This won't nessearily work, because it implies that all users have admin > DT> rights. You suggest that only the installer needs admin rights, but if the > DT> installer puts it in HKLM, and adds it to the start menu for everyone, the > DT> program won't load for Users, because the program won't be able to find it > DT> in HKCU, and it will try HKLM, which will get it an access denied... > > DT> You could just have the installer put a copy of it in everyone's HKCU > DT> somehow, but that doesn't solve the high scores problem... > > DT> I think your best bet is the common docs folder, or an internet high scores. > > DT> -Dan > > > DT> ----- Original Message ----- > DT> From: "Kerim Borchaev" <wa...@ho...> > DT> To: "Brian Hook" <gam...@li...> > DT> Sent: Wednesday, January 22, 2003 1:06 AM > DT> Subject: Re[2]: [GD-Windows] Security/access when writing to registry > > > >> Hello Brian, > >> > >> Support both HKCU and HKLM. If your software is being installed > >> by an advanced user let her choose what to use. Like this: > >> > >> "Do you want this software to be available to all users(requires > >> admin rights) or only to the current user?(Yes/No)" > >> > >> And on start of your app first, say, look into CU(if the user > >> installed this soft for her personally ) and if nothing > >> found loook into LM. > >> > >> Best regards, > >> Kerim mailto:wa...@ho... > >> > >> Wednesday, January 22, 2003, 11:01:55 AM, you wrote: > >> > >> BH> Yes, I'm revisiting a thread that's over a year old =) > >> > >> BH> I've been using HKCU instead of HKLM like a good Windows app, but it > >> BH> seems like you can't win 'em all. > >> > >> BH> The problem with HKCU is that, well, it's per user. I've gotten very > >> BH> sporadic complaints about having to install our games multiple times > >> BH> (including unlock codes), which isn't that big a deal. But what IS a > >> BH> big deal is when you have multiple users on the same machine trying > >> BH> to compete against each other, but now their high scores aren't > >> BH> shared. This is a pretty galling thing, since a lot of our games are > >> BH> competitive that way and we do find that more than a few of our > >> BH> players are on multi-user systems. > >> > >> BH> Ideas on a clean solution to this problem? > >> > >> BH> Brian > >> > >> > >> > >> > >> BH> ------------------------------------------------------- > >> BH> This SF.net email is sponsored by: Scholarships for Techies! > >> BH> Can't afford IT training? All 2003 ictp students receive scholarships. > >> BH> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > >> BH> www.ictp.com/training/sourceforge.asp > >> BH> _______________________________________________ > >> BH> Gamedevlists-windows mailing list > >> BH> Gam...@li... > >> BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > >> BH> Archives: > >> BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: Scholarships for Techies! > >> Can't afford IT training? All 2003 ictp students receive scholarships. > >> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > >> www.ictp.com/training/sourceforge.asp > >> _______________________________________________ > >> Gamedevlists-windows mailing list > >> Gam...@li... > >> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > >> Archives: > >> http://sourceforge.net/mailarchive/forum.php?forum_id=555 > >> > > > > DT> ------------------------------------------------------- > DT> This SF.net email is sponsored by: Scholarships for Techies! > DT> Can't afford IT training? All 2003 ictp students receive scholarships. > DT> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > DT> www.ictp.com/training/sourceforge.asp > DT> _______________________________________________ > DT> Gamedevlists-windows mailing list > DT> Gam...@li... > DT> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > DT> Archives: > DT> http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |
From: Kerim B. <wa...@ho...> - 2003-01-22 20:14:46
|
Hello Dan, Users can read from HKLM. So in case of "for all users" installer puts in HKLM "global" settings(like install location) to be only read in typical use of the app. And "local"(like video options) user settings are created in HKCU when user starts the application for the first time. Best regards, Kerim mailto:wa...@ho... Wednesday, January 22, 2003, 9:51:40 PM, you wrote: >> And on start of your app first, say, look into CU(if the user >> installed this soft for her personally ) and if nothing >> found loook into LM. DT> This won't nessearily work, because it implies that all users have admin DT> rights. You suggest that only the installer needs admin rights, but if the DT> installer puts it in HKLM, and adds it to the start menu for everyone, the DT> program won't load for Users, because the program won't be able to find it DT> in HKCU, and it will try HKLM, which will get it an access denied... DT> You could just have the installer put a copy of it in everyone's HKCU DT> somehow, but that doesn't solve the high scores problem... DT> I think your best bet is the common docs folder, or an internet high scores. DT> -Dan DT> ----- Original Message ----- DT> From: "Kerim Borchaev" <wa...@ho...> DT> To: "Brian Hook" <gam...@li...> DT> Sent: Wednesday, January 22, 2003 1:06 AM DT> Subject: Re[2]: [GD-Windows] Security/access when writing to registry >> Hello Brian, >> >> Support both HKCU and HKLM. If your software is being installed >> by an advanced user let her choose what to use. Like this: >> >> "Do you want this software to be available to all users(requires >> admin rights) or only to the current user?(Yes/No)" >> >> And on start of your app first, say, look into CU(if the user >> installed this soft for her personally ) and if nothing >> found loook into LM. >> >> Best regards, >> Kerim mailto:wa...@ho... >> >> Wednesday, January 22, 2003, 11:01:55 AM, you wrote: >> >> BH> Yes, I'm revisiting a thread that's over a year old =) >> >> BH> I've been using HKCU instead of HKLM like a good Windows app, but it >> BH> seems like you can't win 'em all. >> >> BH> The problem with HKCU is that, well, it's per user. I've gotten very >> BH> sporadic complaints about having to install our games multiple times >> BH> (including unlock codes), which isn't that big a deal. But what IS a >> BH> big deal is when you have multiple users on the same machine trying >> BH> to compete against each other, but now their high scores aren't >> BH> shared. This is a pretty galling thing, since a lot of our games are >> BH> competitive that way and we do find that more than a few of our >> BH> players are on multi-user systems. >> >> BH> Ideas on a clean solution to this problem? >> >> BH> Brian >> >> >> >> >> BH> ------------------------------------------------------- >> BH> This SF.net email is sponsored by: Scholarships for Techies! >> BH> Can't afford IT training? All 2003 ictp students receive scholarships. >> BH> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. >> BH> www.ictp.com/training/sourceforge.asp >> BH> _______________________________________________ >> BH> Gamedevlists-windows mailing list >> BH> Gam...@li... >> BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >> BH> Archives: >> BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Scholarships for Techies! >> Can't afford IT training? All 2003 ictp students receive scholarships. >> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. >> www.ictp.com/training/sourceforge.asp >> _______________________________________________ >> Gamedevlists-windows mailing list >> Gam...@li... >> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >> Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_id=555 >> DT> ------------------------------------------------------- DT> This SF.net email is sponsored by: Scholarships for Techies! DT> Can't afford IT training? All 2003 ictp students receive scholarships. DT> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. DT> www.ictp.com/training/sourceforge.asp DT> _______________________________________________ DT> Gamedevlists-windows mailing list DT> Gam...@li... DT> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows DT> Archives: DT> http://sourceforge.net/mailarchive/forum.php?forum_id=555 |
From: Jon W. <hp...@mi...> - 2003-01-22 19:08:12
|
We had a similar problem, and it turned out to be cause by this: Many 9x drivers can't correctly release graphics card resources, because an application exiting doesn't give the driver sufficient notice to clean up. This is allegedly tied into the lack of a real kernel on DOS based Windows. Use something like the direct3d spy to see what the app is doing, and make sure you manually release all resources allocated before you exit. Cheers, / h+ > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Ivan-Assen Ivanov > Sent: Wednesday, January 22, 2003 10:44 AM > To: gam...@li... > Subject: [GD-Windows] resource leak > > > Hi list, > > our game exhibits a very strange crash on some > 9x machines. It works once per reboot, the second attempt > to run it results in a crash which takes down the machine. > > The likely culprit is the DirectShow-based code which > plays the publisher logo movies right when the game > starts, even before the main menu. > > It doesn't happen on other 9x machines, and it doesn't > happen at all on 2000/XP. > > Anyone experienced something like that? > > regards, > Assen > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |
From: Jon W. <hp...@mi...> - 2003-01-22 19:02:19
|
My message was a reply to Tom where he said that adding button labels to a custom dialog required changing the resource file. If you have a custom dialog, all you need is one for each number of buttons you want; setting the lable on the buttons can be done by the dialog box proc and thus the wrapper he suggested can be easily implemented. Cheers, / h+ > How would you write a wrapper like that for MessageBox? > Jon Watte <hp...@mi...> wrote: > > I betcha could have written a wrapper in the time it took you > > to write this e-mail. The wrapper would run at dialog box init > > message processing time, and just slam the string you want > > into the buttons you care about. WM_SETTEXT, if memory serves. |
From: Ivan-Assen I. <as...@ha...> - 2003-01-22 19:00:25
|
> When you say "the likely culprit" I assume you've tried > removing this code to actually determine if it is this that's > causing the problem? Yes, skipping the logo movies lets the game run OK. And when the crash occurs the screen mode is 640x480, and the switch is right before the movie playback code. The make things more difficult, it doesn't happen on our 9x machines, but only at our publisher's testers' machines, so I have to debug over chat. All of problematic machines have GF3s, while we have no GF3s at the office, our 9x machines have GF2MXs... but it's DShow movie playback, for chrissake, probably a GF2 and a GF3 look the same to the DShow code? |
From: Andrew G. <ag...@cl...> - 2003-01-22 18:52:33
|
When you say "the likely culprit" I assume you've tried removing this code to actually determine if it is this that's causing the problem? Also "9x machines" span an incredible number of different major and minor revisions. Are there any real differences between the ones the problems occur on? Do they use the same videocard? Andy @ Climax Brighton > -----Original Message----- > From: Ivan-Assen Ivanov [mailto:as...@ha...] > Sent: 22 January 2003 18:44 > To: gam...@li... > Subject: [GD-Windows] resource leak > > > Hi list, > > our game exhibits a very strange crash on some > 9x machines. It works once per reboot, the second attempt > to run it results in a crash which takes down the machine. > > The likely culprit is the DirectShow-based code which > plays the publisher logo movies right when the game > starts, even before the main menu. > > It doesn't happen on other 9x machines, and it doesn't > happen at all on 2000/XP. > > Anyone experienced something like that? > > regards, > Assen > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |
From: Andrew G. <ag...@cl...> - 2003-01-22 18:47:50
|
I think Jon exagerates a wee bit, although it's no great amount of work to come up with a replacement MessageBox which correctly sizes its self depending on the amount of text and buttons. I wonder though if it'd be possible to do something with GetClassInfo/UnRegisterClass/RegisterClass and just drop in your own WindowProc for the message box which adjusted a few things on startup and passed every call through to the real message box proc. Probabably more hassle than it's worth :) It's a real shame though that you can't specify replacement text for the default buttons, especially as you can already do something similar for the icon that's displayed. Andy @ Climax Brighton > -----Original Message----- > From: Javier Arevalo [mailto:ja...@py...] > Sent: 22 January 2003 18:33 > To: gam...@li... > Subject: Re: Re[2]: [GD-Windows] Security/access when writing to > registry > > > How would you write a wrapper like that for MessageBox? > > Jon Watte <hp...@mi...> wrote: > > I betcha could have written a wrapper in the time it took you > > to write this e-mail. The wrapper would run at dialog box init > > message processing time, and just slam the string you want > > into the buttons you care about. WM_SETTEXT, if memory serves. > > > > Cheers, > > > > / h+ > > > >> -----Original Message----- > >> From: gam...@li... > >> > [mailto:gam...@li...]On Behalf Of > >> Tom Forsyth > >> > >> > >> Sure, it just means adding it to the resources and all > that malarky. > >> Which is a huge hassle for every possible message in an > app. It would > >> be stupidly > >> helpful have a MessageBoxEx ( hWnd, "Something gnarly happened", > >> "Hey dude", > >> MB_CUSTOM3BUTTONS | MB_ICONBODACIOUS, "Groovy", "Downer", "Whoa" ); > >> > >> OK, well there already is a MessageBoxEx. Time for MessageBoxExEx. > >> > >> Sorry - I'm just wishlisting. :-) > > Javier Arevalo > Pyro Studios > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |
From: Ivan-Assen I. <as...@ha...> - 2003-01-22 18:46:47
|
Hi list, our game exhibits a very strange crash on some 9x machines. It works once per reboot, the second attempt to run it results in a crash which takes down the machine. The likely culprit is the DirectShow-based code which plays the publisher logo movies right when the game starts, even before the main menu. It doesn't happen on other 9x machines, and it doesn't happen at all on 2000/XP. Anyone experienced something like that? regards, Assen |
From: Dan T. <da...@cs...> - 2003-01-22 18:42:44
|
> And on start of your app first, say, look into CU(if the user > installed this soft for her personally ) and if nothing > found loook into LM. This won't nessearily work, because it implies that all users have admin rights. You suggest that only the installer needs admin rights, but if the installer puts it in HKLM, and adds it to the start menu for everyone, the program won't load for Users, because the program won't be able to find it in HKCU, and it will try HKLM, which will get it an access denied... You could just have the installer put a copy of it in everyone's HKCU somehow, but that doesn't solve the high scores problem... I think your best bet is the common docs folder, or an internet high scores. -Dan ----- Original Message ----- From: "Kerim Borchaev" <wa...@ho...> To: "Brian Hook" <gam...@li...> Sent: Wednesday, January 22, 2003 1:06 AM Subject: Re[2]: [GD-Windows] Security/access when writing to registry > Hello Brian, > > Support both HKCU and HKLM. If your software is being installed > by an advanced user let her choose what to use. Like this: > > "Do you want this software to be available to all users(requires > admin rights) or only to the current user?(Yes/No)" > > And on start of your app first, say, look into CU(if the user > installed this soft for her personally ) and if nothing > found loook into LM. > > Best regards, > Kerim mailto:wa...@ho... > > Wednesday, January 22, 2003, 11:01:55 AM, you wrote: > > BH> Yes, I'm revisiting a thread that's over a year old =) > > BH> I've been using HKCU instead of HKLM like a good Windows app, but it > BH> seems like you can't win 'em all. > > BH> The problem with HKCU is that, well, it's per user. I've gotten very > BH> sporadic complaints about having to install our games multiple times > BH> (including unlock codes), which isn't that big a deal. But what IS a > BH> big deal is when you have multiple users on the same machine trying > BH> to compete against each other, but now their high scores aren't > BH> shared. This is a pretty galling thing, since a lot of our games are > BH> competitive that way and we do find that more than a few of our > BH> players are on multi-user systems. > > BH> Ideas on a clean solution to this problem? > > BH> Brian > > > > > BH> ------------------------------------------------------- > BH> This SF.net email is sponsored by: Scholarships for Techies! > BH> Can't afford IT training? All 2003 ictp students receive scholarships. > BH> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > BH> www.ictp.com/training/sourceforge.asp > BH> _______________________________________________ > BH> Gamedevlists-windows mailing list > BH> Gam...@li... > BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > BH> Archives: > BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |
From: Javier A. <ja...@py...> - 2003-01-22 18:24:08
|
How would you write a wrapper like that for MessageBox? Jon Watte <hp...@mi...> wrote: > I betcha could have written a wrapper in the time it took you > to write this e-mail. The wrapper would run at dialog box init > message processing time, and just slam the string you want > into the buttons you care about. WM_SETTEXT, if memory serves. > > Cheers, > > / h+ > >> -----Original Message----- >> From: gam...@li... >> [mailto:gam...@li...]On Behalf Of >> Tom Forsyth >> >> >> Sure, it just means adding it to the resources and all that malarky. >> Which is a huge hassle for every possible message in an app. It would >> be stupidly >> helpful have a MessageBoxEx ( hWnd, "Something gnarly happened", >> "Hey dude", >> MB_CUSTOM3BUTTONS | MB_ICONBODACIOUS, "Groovy", "Downer", "Whoa" ); >> >> OK, well there already is a MessageBoxEx. Time for MessageBoxExEx. >> >> Sorry - I'm just wishlisting. :-) Javier Arevalo Pyro Studios |
From: Jon W. <hp...@mi...> - 2003-01-22 17:23:53
|
I betcha could have written a wrapper in the time it took you to write this e-mail. The wrapper would run at dialog box init message processing time, and just slam the string you want into the buttons you care about. WM_SETTEXT, if memory serves. Cheers, / h+ > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Tom Forsyth > Sent: Wednesday, January 22, 2003 4:07 AM > To: gam...@li... > Subject: RE: Re[2]: [GD-Windows] Security/access when writing to > registry > > > Sure, it just means adding it to the resources and all that malarky. Which > is a huge hassle for every possible message in an app. It would > be stupidly > helpful have a MessageBoxEx ( hWnd, "Something gnarly happened", > "Hey dude", > MB_CUSTOM3BUTTONS | MB_ICONBODACIOUS, "Groovy", "Downer", "Whoa" ); > > OK, well there already is a MessageBoxEx. Time for MessageBoxExEx. > > Sorry - I'm just wishlisting. :-) |
From: <cas...@ya...> - 2003-01-22 13:00:13
|
Brian Hook wrote: > Ideas on a clean solution to this problem? Internet based high-scores? You could have both, global hi-scores (for all the users) and local hi-scores for each copy of the game. It should be safe if only registered users are able to send their hi-scores. However, the users that are not connected while playing the game won't see the difference. Ignacio Castaño cas...@ya... ___________________________________________________ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es |
From: Wayne C. <wc...@re...> - 2003-01-22 12:16:32
|
> Sure, it just means adding it to the resources and all that malarky. Which > is a huge hassle for every possible message in an app. It would be > stupidly > helpful have a MessageBoxEx ( hWnd, "Something gnarly happened", "Hey > dude", > MB_CUSTOM3BUTTONS | MB_ICONBODACIOUS, "Groovy", "Downer", "Whoa" ); > > OK, well there already is a MessageBoxEx. Time for MessageBoxExEx. > > Sorry - I'm just wishlisting. :-) I'm still waiting for the DoAI() function ;( Wayney "I'm sure at least 2% of my mails are not inane babble!" - Wayne Coles, 2003 -Virus scanned and cleared ok |
From: Tom F. <to...@mu...> - 2003-01-22 12:10:37
|
Sure, it just means adding it to the resources and all that malarky. Which is a huge hassle for every possible message in an app. It would be stupidly helpful have a MessageBoxEx ( hWnd, "Something gnarly happened", "Hey dude", MB_CUSTOM3BUTTONS | MB_ICONBODACIOUS, "Groovy", "Downer", "Whoa" ); OK, well there already is a MessageBoxEx. Time for MessageBoxExEx. Sorry - I'm just wishlisting. :-) Tom Forsyth - Muckyfoot bloke and Microsoft MVP. This email is the product of your deranged imagination, and does not in any way imply existence of the author. > -----Original Message----- > From: Gareth Lewin [mailto:GL...@cl...] > Sent: 22 January 2003 11:27 > To: gam...@li... > Subject: RE: Re[2]: [GD-Windows] Security/access when writing to > registry > > > Oops, sorry about the previous email, was intended for Tom > personally. On a > more serious note, MessageBox() is a helper function, there is NOTHING > stopping you from displaying your own dialog box with both options. > > > -----Original Message----- > > From: Tom Forsyth [mailto:to...@mu...] > > Sent: 22 January 2003 11:11 > > To: gam...@li... > > Subject: RE: Re[2]: [GD-Windows] Security/access when writing to > > registry > > > > > > > "Do you want this software to be available to all > > users(requires > > > admin rights) or only to the current user?(Yes/No)" > > > > Nooooooo. What does the answer "no" mean? :-) > > > > Even the klunky old Atari ST had a function to easily > > customise the words > > printed on the buttons. Windows... <shakes head in despair> > > > > > > Tom Forsyth - Muckyfoot bloke and Microsoft MVP. > > > > This email is the product of your deranged imagination, > > and does not in any way imply existence of the author. > > > > > -----Original Message----- > > > From: Kerim Borchaev [mailto:wa...@ho...] > > > Sent: 22 January 2003 09:06 > > > To: Brian Hook > > > Subject: Re[2]: [GD-Windows] Security/access when writing > > to registry > > > > > > > > > Hello Brian, > > > > > > Support both HKCU and HKLM. If your software is > being installed > > > by an advanced user let her choose what to use. Like this: > > > > > > "Do you want this software to be available to all > > users(requires > > > admin rights) or only to the current user?(Yes/No)" > > > > > > And on start of your app first, say, look into CU(if the user > > > installed this soft for her personally ) and if nothing > > > found loook into LM. > > > > > > Best regards, > > > Kerim mailto:wa...@ho... > > > > > > Wednesday, January 22, 2003, 11:01:55 AM, you wrote: > > > > > > BH> Yes, I'm revisiting a thread that's over a year old =) > > > > > > BH> I've been using HKCU instead of HKLM like a good Windows > > > app, but it > > > BH> seems like you can't win 'em all. > > > > > > BH> The problem with HKCU is that, well, it's per user. I've > > > gotten very > > > BH> sporadic complaints about having to install our games > > > multiple times > > > BH> (including unlock codes), which isn't that big a deal. > > > But what IS a > > > BH> big deal is when you have multiple users on the same > > > machine trying > > > BH> to compete against each other, but now their high > scores aren't > > > BH> shared. This is a pretty galling thing, since a lot of > > > our games are > > > BH> competitive that way and we do find that more than a > few of our > > > BH> players are on multi-user systems. > > > > > > BH> Ideas on a clean solution to this problem? > > > > > > BH> Brian > > > > > > > > > > > > > > > BH> ------------------------------------------------------- > > > BH> This SF.net email is sponsored by: Scholarships for Techies! > > > BH> Can't afford IT training? All 2003 ictp students receive > > > scholarships. > > > BH> Get hands-on training in Microsoft, Cisco, Sun, > > > Linux/UNIX, and more. > > > BH> www.ictp.com/training/sourceforge.asp > > > BH> _______________________________________________ > > > BH> Gamedevlists-windows mailing list > > > BH> Gam...@li... > > > BH> > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > BH> Archives: > > BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Scholarships for Techies! > > Can't afford IT training? All 2003 ictp students receive > scholarships. > > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, > and more. > > www.ictp.com/training/sourceforge.asp > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |
From: Wayne C. <wc...@re...> - 2003-01-22 11:39:21
|
> In the case of you, the user, prefering to be the only user of the Super > Banana Man(Hear after:The game) selection of the OK button is in order. If > though, the opitunity of all users of the machine to the "The Game" is a > preferance, the "Cancel" button should be the one pointed to with the > pointing device. A re-phrasing of the question to suit the buttons would also be in order, the message body text has always been programmer specified :) "Would you like <app-name> to be installed for all users? (requires administrator priviledges)" resulting in a yes\no response. I usually take 'Cancel' to mean 'go no further'. Wayney "I'm sure at least 2% of my mails are not inane babble!" - Wayne Coles, 2003 -Virus scanned and cleared ok |
From: Gareth L. <GL...@cl...> - 2003-01-22 11:27:00
|
Oops, sorry about the previous email, was intended for Tom personally. On a more serious note, MessageBox() is a helper function, there is NOTHING stopping you from displaying your own dialog box with both options. > -----Original Message----- > From: Tom Forsyth [mailto:to...@mu...] > Sent: 22 January 2003 11:11 > To: gam...@li... > Subject: RE: Re[2]: [GD-Windows] Security/access when writing to > registry > > > > "Do you want this software to be available to all > users(requires > > admin rights) or only to the current user?(Yes/No)" > > Nooooooo. What does the answer "no" mean? :-) > > Even the klunky old Atari ST had a function to easily > customise the words > printed on the buttons. Windows... <shakes head in despair> > > > Tom Forsyth - Muckyfoot bloke and Microsoft MVP. > > This email is the product of your deranged imagination, > and does not in any way imply existence of the author. > > > -----Original Message----- > > From: Kerim Borchaev [mailto:wa...@ho...] > > Sent: 22 January 2003 09:06 > > To: Brian Hook > > Subject: Re[2]: [GD-Windows] Security/access when writing > to registry > > > > > > Hello Brian, > > > > Support both HKCU and HKLM. If your software is being installed > > by an advanced user let her choose what to use. Like this: > > > > "Do you want this software to be available to all > users(requires > > admin rights) or only to the current user?(Yes/No)" > > > > And on start of your app first, say, look into CU(if the user > > installed this soft for her personally ) and if nothing > > found loook into LM. > > > > Best regards, > > Kerim mailto:wa...@ho... > > > > Wednesday, January 22, 2003, 11:01:55 AM, you wrote: > > > > BH> Yes, I'm revisiting a thread that's over a year old =) > > > > BH> I've been using HKCU instead of HKLM like a good Windows > > app, but it > > BH> seems like you can't win 'em all. > > > > BH> The problem with HKCU is that, well, it's per user. I've > > gotten very > > BH> sporadic complaints about having to install our games > > multiple times > > BH> (including unlock codes), which isn't that big a deal. > > But what IS a > > BH> big deal is when you have multiple users on the same > > machine trying > > BH> to compete against each other, but now their high scores aren't > > BH> shared. This is a pretty galling thing, since a lot of > > our games are > > BH> competitive that way and we do find that more than a few of our > > BH> players are on multi-user systems. > > > > BH> Ideas on a clean solution to this problem? > > > > BH> Brian > > > > > > > > > > BH> ------------------------------------------------------- > > BH> This SF.net email is sponsored by: Scholarships for Techies! > > BH> Can't afford IT training? All 2003 ictp students receive > > scholarships. > > BH> Get hands-on training in Microsoft, Cisco, Sun, > > Linux/UNIX, and more. > > BH> www.ictp.com/training/sourceforge.asp > > BH> _______________________________________________ > > BH> Gamedevlists-windows mailing list > > BH> Gam...@li... > > BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > BH> Archives: > BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 |
From: Gareth L. <GL...@cl...> - 2003-01-22 11:26:03
|
In the case of you, the user, prefering to be the only user of the Super Banana Man(Hear after:The game) selection of the OK button is in order. If though, the opitunity of all users of the machine to the "The Game" is a preferance, the "Cancel" button should be the one pointed to with the pointing device. OK CANCEL > -----Original Message----- > From: Tom Forsyth [mailto:to...@mu...] > Sent: 22 January 2003 11:11 > To: gam...@li... > Subject: RE: Re[2]: [GD-Windows] Security/access when writing to > registry > > > > "Do you want this software to be available to all > users(requires > > admin rights) or only to the current user?(Yes/No)" > > Nooooooo. What does the answer "no" mean? :-) > > Even the klunky old Atari ST had a function to easily > customise the words > printed on the buttons. Windows... <shakes head in despair> > > > Tom Forsyth - Muckyfoot bloke and Microsoft MVP. > > This email is the product of your deranged imagination, > and does not in any way imply existence of the author. > > > -----Original Message----- > > From: Kerim Borchaev [mailto:wa...@ho...] > > Sent: 22 January 2003 09:06 > > To: Brian Hook > > Subject: Re[2]: [GD-Windows] Security/access when writing > to registry > > > > > > Hello Brian, > > > > Support both HKCU and HKLM. If your software is being installed > > by an advanced user let her choose what to use. Like this: > > > > "Do you want this software to be available to all > users(requires > > admin rights) or only to the current user?(Yes/No)" > > > > And on start of your app first, say, look into CU(if the user > > installed this soft for her personally ) and if nothing > > found loook into LM. > > > > Best regards, > > Kerim mailto:wa...@ho... > > > > Wednesday, January 22, 2003, 11:01:55 AM, you wrote: > > > > BH> Yes, I'm revisiting a thread that's over a year old =) > > > > BH> I've been using HKCU instead of HKLM like a good Windows > > app, but it > > BH> seems like you can't win 'em all. > > > > BH> The problem with HKCU is that, well, it's per user. I've > > gotten very > > BH> sporadic complaints about having to install our games > > multiple times > > BH> (including unlock codes), which isn't that big a deal. > > But what IS a > > BH> big deal is when you have multiple users on the same > > machine trying > > BH> to compete against each other, but now their high scores aren't > > BH> shared. This is a pretty galling thing, since a lot of > > our games are > > BH> competitive that way and we do find that more than a few of our > > BH> players are on multi-user systems. > > > > BH> Ideas on a clean solution to this problem? > > > > BH> Brian > > > > > > > > > > BH> ------------------------------------------------------- > > BH> This SF.net email is sponsored by: Scholarships for Techies! > > BH> Can't afford IT training? All 2003 ictp students receive > > scholarships. > > BH> Get hands-on training in Microsoft, Cisco, Sun, > > Linux/UNIX, and more. > > BH> www.ictp.com/training/sourceforge.asp > > BH> _______________________________________________ > > BH> Gamedevlists-windows mailing list > > BH> Gam...@li... > > BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > BH> Archives: > BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 |
From: Tom F. <to...@mu...> - 2003-01-22 11:14:38
|
> "Do you want this software to be available to all users(requires > admin rights) or only to the current user?(Yes/No)" Nooooooo. What does the answer "no" mean? :-) Even the klunky old Atari ST had a function to easily customise the words printed on the buttons. Windows... <shakes head in despair> Tom Forsyth - Muckyfoot bloke and Microsoft MVP. This email is the product of your deranged imagination, and does not in any way imply existence of the author. > -----Original Message----- > From: Kerim Borchaev [mailto:wa...@ho...] > Sent: 22 January 2003 09:06 > To: Brian Hook > Subject: Re[2]: [GD-Windows] Security/access when writing to registry > > > Hello Brian, > > Support both HKCU and HKLM. If your software is being installed > by an advanced user let her choose what to use. Like this: > > "Do you want this software to be available to all users(requires > admin rights) or only to the current user?(Yes/No)" > > And on start of your app first, say, look into CU(if the user > installed this soft for her personally ) and if nothing > found loook into LM. > > Best regards, > Kerim mailto:wa...@ho... > > Wednesday, January 22, 2003, 11:01:55 AM, you wrote: > > BH> Yes, I'm revisiting a thread that's over a year old =) > > BH> I've been using HKCU instead of HKLM like a good Windows > app, but it > BH> seems like you can't win 'em all. > > BH> The problem with HKCU is that, well, it's per user. I've > gotten very > BH> sporadic complaints about having to install our games > multiple times > BH> (including unlock codes), which isn't that big a deal. > But what IS a > BH> big deal is when you have multiple users on the same > machine trying > BH> to compete against each other, but now their high scores aren't > BH> shared. This is a pretty galling thing, since a lot of > our games are > BH> competitive that way and we do find that more than a few of our > BH> players are on multi-user systems. > > BH> Ideas on a clean solution to this problem? > > BH> Brian > > > > > BH> ------------------------------------------------------- > BH> This SF.net email is sponsored by: Scholarships for Techies! > BH> Can't afford IT training? All 2003 ictp students receive > scholarships. > BH> Get hands-on training in Microsoft, Cisco, Sun, > Linux/UNIX, and more. > BH> www.ictp.com/training/sourceforge.asp > BH> _______________________________________________ > BH> Gamedevlists-windows mailing list > BH> Gam...@li... > BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > BH> Archives: > BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |
From: Gareth L. <GL...@cl...> - 2003-01-22 10:30:34
|
Brian, The new Windows Installer stuff (.MSI files) has an option "Install for just this user, or install of all users". I assume the latter enumerates all the users (Under HKEY_USERS) and adds the stuff there, instaid of HKCU. That will add it to the current user and all new users automatically. This is for settings, not shared data like high-scores. HKLM is where I would put high-scores, or in some shared folder, as others have posted. One option is to require admin access when the installer is run, and to create your install folder as writeable for everyone. Basically either you use the All Users folder, which works, but I think is messy (I don't like games installing stuff all over the place) or you make sure your install folder is writable by all. Regards, Gareth Lewin > -----Original Message----- > From: Brian Hook [mailto:bri...@py...] > Sent: 22 January 2003 08:02 > To: gam...@li... > Subject: Re: [GD-Windows] Security/access when writing to registry > > > Yes, I'm revisiting a thread that's over a year old =) > > I've been using HKCU instead of HKLM like a good Windows app, but it > seems like you can't win 'em all. > > The problem with HKCU is that, well, it's per user. I've gotten very > sporadic complaints about having to install our games multiple times > (including unlock codes), which isn't that big a deal. But what IS a > big deal is when you have multiple users on the same machine trying > to compete against each other, but now their high scores aren't > shared. This is a pretty galling thing, since a lot of our games are > competitive that way and we do find that more than a few of our > players are on multi-user systems. > > Ideas on a clean solution to this problem? > > Brian > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > |
From: Kerim B. <wa...@ho...> - 2003-01-22 09:05:37
|
Hello Brian, Support both HKCU and HKLM. If your software is being installed by an advanced user let her choose what to use. Like this: "Do you want this software to be available to all users(requires admin rights) or only to the current user?(Yes/No)" And on start of your app first, say, look into CU(if the user installed this soft for her personally ) and if nothing found loook into LM. Best regards, Kerim mailto:wa...@ho... Wednesday, January 22, 2003, 11:01:55 AM, you wrote: BH> Yes, I'm revisiting a thread that's over a year old =) BH> I've been using HKCU instead of HKLM like a good Windows app, but it BH> seems like you can't win 'em all. BH> The problem with HKCU is that, well, it's per user. I've gotten very BH> sporadic complaints about having to install our games multiple times BH> (including unlock codes), which isn't that big a deal. But what IS a BH> big deal is when you have multiple users on the same machine trying BH> to compete against each other, but now their high scores aren't BH> shared. This is a pretty galling thing, since a lot of our games are BH> competitive that way and we do find that more than a few of our BH> players are on multi-user systems. BH> Ideas on a clean solution to this problem? BH> Brian BH> ------------------------------------------------------- BH> This SF.net email is sponsored by: Scholarships for Techies! BH> Can't afford IT training? All 2003 ictp students receive scholarships. BH> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. BH> www.ictp.com/training/sourceforge.asp BH> _______________________________________________ BH> Gamedevlists-windows mailing list BH> Gam...@li... BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows BH> Archives: BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 |
From: Matthijs H. <mat...@al...> - 2003-01-22 08:53:26
|
> The problem with HKCU is that, well, it's per user. I don't know if you can do this with the registry. There is, however, a "common data" folder on most Windows systems. For example, on my WinXP box it is "C:\Documents and Settings\All Users\Application Data". You can get it with SHGetSpecialFolderLocation(..., CSIDL_COMMON_APPDATA, ...). In case you have old headers, the corresponding numeric value is 0x23. There is also a CSIDL_COMMON_DOCUMENTS folder (0x2e). This appears to work on all versions of Windows, except NT4 (depending on the version of Internet Explorer that is installed). In that case, you can get the location of this folder from the registry key "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders". Not a very clean solution, I know. Hope it helps, -- Matthijs Hollemans www.allyoursoftware.com |
From: Brian H. <bri...@py...> - 2003-01-22 08:01:51
|
Yes, I'm revisiting a thread that's over a year old =3D) I've been using HKCU instead of HKLM like a good Windows app, but= it seems like you can't win 'em all. The problem with HKCU is that, well, it's per user. I've gotten= very sporadic complaints about having to install our games multiple= times (including unlock codes), which isn't that big a deal. But what= IS a big deal is when you have multiple users on the same machine= trying to compete against each other, but now their high scores aren't shared. This is a pretty galling thing, since a lot of our games= are competitive that way and we do find that more than a few of our players are on multi-user systems. Ideas on a clean solution to this problem? Brian |
From: <cas...@ya...> - 2003-01-11 16:16:46
|
Hi, I have an SDL app that hanges when the screensaver runs. By default the SDL disable the screensaver by catching the SCREENSAVE SYSCOMMAND message and returning 0. However, when the password protection is set, there seems to be no way to avoid it. Instead of that I'd like to detect the screensaver to minimize/hide my app and to restore it when the user returns. Does somebody know if it's possible to do that? Thanks in advance, Ignacio Castaño cas...@ya... ___________________________________________________ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es |
From: Jon W. <hp...@mi...> - 2002-12-25 18:34:50
|
> Actually the best implementation is to insert a cpuid instruction before > rdtsc, to prevent out-of-sequence execution from ruining the results. You're right! I usually don't go down to the 40-cycle tight-loop timing case, though, preferring to stay at the level where I'm trying to structure the working set of some algorithm so it'll fit in L1, so I seldom need to really serialize. It's unfortunate that the CPUID trashes the other registers, though. It's even more unfortunate that all serializing instructions also cause pending memory writes to complete. If you're trying to time the instruction to know how much to subtract (if you're measuring a very small segment) then whatever was happening in the memory subsystem at that time may greatly affect your timing compensation data! Maybe you have to run your really tight timing code in ring 0 so you can use some less-intrusive serializing instructions... You can either get good precision, or low overhead. Is this Heisenberg in action? :-) Cheers, / h+ |