outlook xp crash when closing

L

Linh

Hi all
I have just developed an outlook addin on office xp/winxp.
it always shows error reporting that indicate failed at
kernel32.dll when closing outlook.
does anyone can help me?
I'm be very appreciated for your help!
Thanks in advance.
Linh
 
H

Helmut Obertanner

you have not released all objects that you created.
do you wrote your addin in vb, vb.net c# ???

use an errorhandler for all functions and
set all objects to nothing.

regards,

--
regards,
Helmut Obertanner
DATALOG Software AG
http://www.datalog.de
[obertanner at datalog dot de]
 
L

Linh

thanks for your response!
I used vb to wrote it and did release all objects I used by set to nothing,
but it still crashs.
ok, I will try more but could anyone have another suggestion???

Linh

Helmut Obertanner said:
you have not released all objects that you created.
do you wrote your addin in vb, vb.net c# ???

use an errorhandler for all functions and
set all objects to nothing.

regards,

--
regards,
Helmut Obertanner
DATALOG Software AG
http://www.datalog.de
[obertanner at datalog dot de]





Linh said:
Hi all
I have just developed an outlook addin on office xp/winxp.
it always shows error reporting that indicate failed at
kernel32.dll when closing outlook.
does anyone can help me?
I'm be very appreciated for your help!
Thanks in advance.
Linh
 
K

Ken Slovak - [MVP - Outlook]

Look at the ItemsCB COM addin sample on the Resources page at
www.microeye.com.

If you are releasing your Outlook objects in the On_Disconnection
event they most likely aren't being released at all since that event
probably isn't firing. It won't fire as long as any Outlook objects
are instantiated. ItemsCB shows the workaround for that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top