🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5

screensaver, sdk, BCB6

#5
From: Piotr S.
Date: Sun, 11 Feb 2007 15:50
14 lines
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?
Technical Details
Message-ID: <45cf3b4e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.utanet.at!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,adbb812a92388dca,start
X-Google-Thread: 10e433,adbb812a92388dca,start
X-Google-Thread: 10fbec,adbb812a92388dca,start
X-Google-Attributes: gid10cc67,gid10e433,gid10fbec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Piotr S." <inri@buziaczek.pl>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.graphics,borland.public.cppbuilder.ide
Subject: screensaver, sdk, BCB6
Date: Sun, 11 Feb 2007 16:50:50 +0100
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 84.40.176.230
Message-ID: <45cf3b4e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171209038 84.40.176.230 (11 Feb 2007 07:50:38 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.utanet.at!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail