[AccessD] VB6 DLL Help Required

Ken Ismert KIsmert at TexasSystems.com
Thu Apr 22 18:45:45 CDT 2004


Paul,

Are you using your DLL 'API-style' using Declare statements, or have you
registered it as a COM component, and can create objects you have defined in
your DLL?

If the former, you are limited basically to return codes from your function
call. If the latter, you could define your own events in your vbSendMail
wrapper object to relay the vbSendMail events to your client.

-Ken

-----Original Message-----
From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net]
Sent: Thursday, April 22, 2004 7:11 AM
To: accessd
Subject: [AccessD] VB6 DLL Help Required


To all,

Been playing with creating my own DLL’s today using Visual Basic 6 and I
eventually created one to send an email using the vbSendMail.dll which works
a treat.  But now I want to use the withevents part of the vbSendMail.dll
which will return the following:

            Email Sent Ok
            Email Failed
            Email Staus

Can I put a form inside a dll or do I somehow have to return the appropriate
message to the calling application, if so how will I do this, has anyone any
ideas on this?

Paul Hartland
Join the UK's number one for the internet
www.freeserve.com/time




More information about the AccessD mailing list