Author |
|
duong tien phong Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 28 October 2005 at 10:12pm | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 29 October 2005 at 1:12pm | IP Logged
|
|
|
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 |
|
|