Mark,
check out http://www.activeplus.com/
They have cheap/free software here that turns any program into a service.
We're using it here. With the exception of getting it to automatically
restart (which works according to one of my co-workers) it works fine, even
with a standard Delphi 5 app WITH
You first create a New - service application,
then add one or several services to the service application.
I ended up running my service in another thread, as I was using COM stuff
and found this was the only way to initialise and finalise COM. This is
because each service runs on a different
Just wondering, for a caption that doesn't change very oftern which in
more efficient.
StateLabel.caption := 'Running';
OR
IF StateLabel.Caption 'Running' then
StateLabel.Caption := 'Running';
This second makes larger code hence larger exe hence more overhead but the
first updates
TControl has the property Caption sefined as follows:
property Caption: TCaption read GetText write SetText stored
IsCaptionStored;
The procedure SetText is defined as follows:
procedure TControl.SetText(const Value: TCaption);
begin
if GetText Value then
On Mon, 17 Apr 2000, Stacey Verner wrote:
property Caption: TCaption read GetText write SetText stored
IsCaptionStored;
Whats this 'stored' keyword? I don't think I've seen it before? Is the
IsCaptionStored a function?
--
Mark Derricutt "People in prayer for me, everyone there for
Mark wrote:
On Mon, 17 Apr 2000, Stacey Verner wrote:
property Caption: TCaption read GetText write SetText stored
IsCaptionStored;
Whats this 'stored' keyword? I don't think I've seen it before? Is the
IsCaptionStored a function?
Yes. It's a private (or protected) method which
Yep your'e right.
It can control if the caption will be stored when the component is streamed
out. Hence if/will the property be set when the component is read back in.
It's just a boolean function TRUE = Store the property vica versa.
Actually the original code example was maybe faster in
Help!
I have a TImageList created at run time and loaded with bitmaps from a
resource file. No problems.
I now want to add a single bitmap as follows
Var
anImage : TBitmap;
.
ImageIndex := Glyphs.Add(anImage,Nil);
...
this throw up an
Just wondering, for a caption that doesn't change very oftern which in
more efficient.
StateLabel.caption := 'Running';
OR
IF StateLabel.Caption 'Running' then
StateLabel.Caption := 'Running';
There are 2 sides to this...
1. The cost of the assignment versus the cost of the
The stored keyword specifies a method or boolean var name. This method /
var specifies whether the property should be stored. The method must be
prototyped as:
function Methodname: Boolean;
If the boolean value is True, the property is stored. Note that stored is a
misnomer, because it also
Greetings All,
I have the following scenario...
A client application, which uses a Delphi 3 TMIDASConnection set to
ctSockets, is trying to connect to a server via a Midas Sockets connection.
This works fine until MS Proxy Client is installed onto the client machine.
After a few moments
Carl
Ta
I've just found it ;-)
Paul
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
Or declare anImage; as
anImage : Graphics.TBitmap;
Regards,
Dennis.
-Original Message-
It's a problem with your uses clause in that module. The Windows unit
defines "TBitmap = tagBitmap", so you need to have the
Graphics unit appear
after Windows.
Cheers,
Carl
No experience with MIDAS, but with the proxy client, you want to make sure:
1. That you can ping the server from the client (this is a basic test and
one that you should do in most circumstances). Do not use the browsers (IE
Netscape) because they bypass the proxy client.
2. If installing
If the host machine is on the same network, try checking "Bypass Proxy
server for local addresses" in the I.E LAN Settings on the Connections tab.
If that doesn't work, try adding the I.P address of the host in the
"Exceptions, Do not use proxy server for addresses beginning with" section.
15 matches
Mail list logo