943,753 Members | Top Members by Rank

Ad:
Dec 2nd, 2008
0

How to make a screensaver run in delphi 2009 on xp/vista

Expand Post »
i have made a screensaver and what i want is to disable alt-tab, ctrl-esc, the windows button (the one between ctrl and alt i mean)

ive tryed using many different versions of

SystemParametersInfo( SPI_SCREENSAVERRUNNING, integer(true), @i, 0);
SystemParametersInfo( SPI_SETFASTTASKSWITCH, 1, @i, 0);

but its not working on xp and vista...

i would appreiciate the help if any now how to make a screensaver run in xp and vista.

best regards,
Darkyere
Reputation Points: 10
Solved Threads: 0
Newbie Poster
darkyere is offline Offline
17 posts
since Nov 2008
Dec 2nd, 2008
0

Re: How to make a screensaver run in delphi 2009 on xp/vista

rename your .exe to be .scr and it should simply just work
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,505 posts
since Apr 2005
Dec 2nd, 2008
0

Re: How to make a screensaver run in delphi 2009 on xp/vista

Click to Expand / Collapse  Quote originally posted by jbennet ...
rename your .exe to be .scr and it should simply just work
sry. but ive allredy doing that when im puplishing ht e product and that doesnt work.

there most be some way to make my program run as a screensaver... i know there must be whit all these screensavers out there some must be made in delphi.

well hope someone know the answer

best regards,
darkyere
Reputation Points: 10
Solved Threads: 0
Newbie Poster
darkyere is offline Offline
17 posts
since Nov 2008
Dec 3rd, 2008
0

Re: How to make a screensaver run in delphi 2009 on xp/vista

There are plenty, however, ive not tried running them under vista.

Try posting on the embarcadero forums - if anyones going to know people there will.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Dec 9th, 2008
0

Re: How to make a screensaver run in delphi 2009 on xp/vista

There's a lot more to screen savers than just renaming EXE to SCR.

See http://www.tek-tips.com/faqs.cfm?fid=6914 for an example.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Glenn9999 is offline Offline
4 posts
since Feb 2008
Dec 9th, 2008
0

Re: How to make a screensaver run in delphi 2009 on xp/vista

Yep, screen savers have specific functions in such as the config screen etc. I know Ive written a few following various googled tutorials in the past, so have a google.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: Pascal DLL
Next Thread in Pascal and Delphi Forum Timeline: to show timeleft to next picture





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC