Hi,
I do not think that you can implement the dll in VB because of the way it
needs to export 'proper' C style interfaces. I think it does depend on the
version of VB you use however version 5 and 6 will only export a COM dll,
therefore it only exposes an IDispatch interface which is then used by COM
to access the individual exported methods. VB will not give 'proper' C style
exports for all your functions.
I am afraid that there are things that you just have to do in C++.
Sorry to burst the bubble.
Steve
Steven Moore
Internet Development Engineer
Research Machines
+44 1235 823522
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]
> Sent: 19 December 2000 01:12
> To: IMail_Forum
> Subject: [IMail Forum] External Database problem?
>
>
> I've recenly re-written the ODBCUSER.DLL in VB, and changed the database
> schema
> so that all users for all mailhosts are in the same table. Easy enough.
> The problem
> is that the Imail Admin app gives me a very cryptic "Cannot create the
> user. Check external database settings"
> when I try to add a user. There are no messages in any imail logs that
> indicate where/why
> the DLL fails. My DLL never gets instantiated (it logs everything,
> including creation).
>
> - I've black-box tested it, and it's working OK. All six functions are
> working properly.
> - I've checked and double checked the path, DNS & table names in the
> External Database config dialog box.
>
> So, some questions?
> - Has anyone else implemented an imail auth DLL in VB? Can someone provide
> examples?
> - Is there any way I can get imail to tell me why it "cannot create the
> user". Any error message is better
> than none.
>
> Thanks!
> Jon << File: Jonathon E. Barron (E-mail).vcf >>
>
>
STANDARD DISCLAIMER: This message is confidential. You should not copy it or
disclose its contents to anyone. You may use and apply the information only
for the intended purpose. Internet communications are not secure and
therefore RM does not accept legal responsibility for the contents of this
message. Any views or opinions presented are only those of the author and
not those of RM. If this email has come to you in error please delete it and
any attachments.
application/ms-tnef