> > I have written an Activex DLL that goes and checks my POP server.
> > What I want to do, is have the results of what the DLL finds, i.e. who the
> > sender was of a message, and the message subject, plus maybe some other
> > fields, be writtento an HTML (or ASP) file.
> > How would I go about this ?
>
> Hmmm. If you were using WebHub, you'd just use the COM
> macro to register and call your DLL, displaying the result text
> for particular properties in whatever layout you desire. There's
> quite a good page-counting example which comes with the
> WebHub trial version (http://www.href.com), and it's outlined
> pretty thoroughly in the help.
>
> I presume the same kind of mechanism exists for ASP
> scripts, but I don't know the details (nor if it is as easy). Nic
> will know.
>
If you can do it using CreateOLEObject or similar in Delphi, you could
do, in VBScript:
dim oObj
set oObj = server.createobject("myproject.myobject")
oObj.doSomething
set oObj = nothing
Dont forget that ALL variables MUST be VARIANT, OLEVARIANT or something
like that - not regular types.
Nic.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz