Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Access violation at address 01f97541 in m Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
duong tien phong
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 28 October 2005 at 10:12pm | IP Logged Quote duong tien phong

I have used SMTP to send email, but when my program run in some computer, it is an error as:
     "Access violation at address 01f97541 in module 'MailBee.dll'"

I write my program by Delphi 7. Please help me.

Thanks a lot
Back to Top View duong tien phong's Profile Search for other posts by duong tien phong
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 29 October 2005 at 1:12pm | IP Logged Quote Alex

Does this error occur when you run the program on any computers, or only on a particular one?

Also, is MailBee.dll registered on the computer where you're running the program?

You can register MailBee.dll by typing in the command line:

regsvr32 "C:\specify_path_to_dll\MailBee.dll"

If you ever updated MailBee.dll with newer version, you may also need to rebuild Delphi's dclusr.dpk package, and then rebuild your application.

To rebuild dclusr.dpk package (assuming Delphi is installed into default location):

- open Delphi user's type libraries package (dclusr.dpk), and remove MailBee_TLB.* from there
- delete C:\Program Files\Borland\Delphi7\Imports\mailbee*.*
- click Save and recompile dclusr.dpk package
- re-add MailBee.dll via Import Type Library, and recompile dclusr.dpk package again.

Now load your application project and recompile it.

Also, make sure the versions of MailBee.dll on your computers match. Otherwise (if the app is compiled for one MailBee.dll version, and it's being run on a computer with another MailBee.dll version), the crash may occur. It's specifics of how Delphi works with COM objects.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide