NOT quite the answer I was looking for......I already know how to call it,
What I WANT to know, is how do I generate the resulting HTML/ASP FROM the
results the dll returns.
I know how to add the data to an HTML/ASP file, BUT how does the browser
know about the file ??
if you know what I mean........
Thanks Jeremy Coulter
-----Original Message-----
From: Nic Wise [mailto:[EMAIL PROTECTED]]
Sent: Monday, 7 December 1998 23:37
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Activex HTML Responses
> > 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
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz