Re: Delphi 5 server app as a dll without forms



gforce wrote:

If you don't mind I ask another question about this. I've read all
over and it seems that you are indicating the same thing that I've
read which is the method used for the OnEvent needs to be in a class.
Is there anyway around this? Since I'm working outside of a form I
don't have a parent object.

Then define a simple class, just for this purpose. It can have only one
method, if you like. If, inside the handler, you don't touch the
instance, you can even use a class method.

--
Rudy Velthuis http://rvelthuis.de

"If you put tomfoolery into a computer, nothing comes out of it
but tomfoolery. But this tomfoolery, having passed through a
very expensive machine, is somehow enobled and no-one dares
criticize it." -- Pierre Gallois.
.