Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages
Started by Piotr S.
Sun, 11 Feb 2007 15:50
screensaver, sdk, BCB6
Author: Piotr S.
Date: Sun, 11 Feb 2007 15:50
Date: Sun, 11 Feb 2007 15:50
14 lines
1990 bytes
1990 bytes
Hi all! I'm trying to write a screensaver for windows in borland c++ builder. In WIN32 Developers Guide I found much on Screen Saver Functions that I try to use in my code. But BCB6 adds automatically its forms as default. The first thing is that I dont want to have any forms. How to say to BCB6 that it adds no forms by default? BCB6 creates by default also files unit.cpp (where functions can be defined) and Project1.cpp - file where WinMain is defined. Where should I put my definitons and body of ScreenSaverProc and other screen saver functions? I try to replace WinMain with my screen saver functions but then an error message is displayed that the project must have a main or WinMain function. Strange, code::blokcs compiler compiles and links such project. Does anybody know how to compile and run this under BCB6?
Re: screensaver, sdk, BCB6
Author: Michel Leunen
Date: Sun, 11 Feb 2007 19:35
Date: Sun, 11 Feb 2007 19:35
21 lines
1905 bytes
1905 bytes
Piotr S. wrote: > I'm trying to write a screensaver for windows in borland c++ builder. > In WIN32 Developers Guide I found much on Screen Saver Functions > that I try to use in my code. But BCB6 adds automatically its forms > as default. The first thing is that I dont want to have any forms. How > to say to BCB6 that it adds no forms by default? Go to menu File/New Console application. There, choose console application with or without VCL and check or uncheck 'console application' depending if you want a main() function or a WinMain() one. HTH Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: http://www.leunen.com/ ----------------------------------------
Re: screensaver, sdk, BCB6
Author: Remy Lebeau (TeamB)
Date: Sun, 11 Feb 2007 21:13
Date: Sun, 11 Feb 2007 21:13
15 lines
1456 bytes
1456 bytes
"Piotr S." <inri@buziaczek.pl> wrote in message news:45cf3b4e$1@newsgroups.borland.com... > I'm trying to write a screensaver for windows in borland c++ builder. Please do not cross-post. It is against Borland's newsgroup guidelines (). Please post questions only to the single most appropriate group, which in this case is the "borland.public.cppbuilder.ide" group, as you are asking questions related to how to set up a project for compiling. Gambit
Re: screensaver, sdk, BCB6
Author: Thomas
Date: Mon, 12 Feb 2007 12:43
Date: Mon, 12 Feb 2007 12:43
17 lines
1726 bytes
1726 bytes
Hello You'd like to write a screen saver with BCB. It is quite easy. A screen saver is like a normal windows application, with only a few very little changes. 1. A Screensaver is a normal EXE, renamed to SCR 2. A screen saver uses commandline parameters (for the configuration window, preview mode, (and for Win9x:password setting) A great description is hiere: http://www.wischik.com/scr/howtoscr.html There is also an BCB screensaver SDK available, but it is not free. In my opinion it is not necessary to use this SDK. The description on how to write a screensaver is enough to make a perfect saver with preview, configuration dialog... everything! If you have questions regarding screensavers, you can find contact informations of myself at my website (http://www.batteryinfo.de.vu) Regards Thomas
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads