outlook xp crash when closing

  • Thread starter Thread starter Linh
  • Start date Start date
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
 
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]
 
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
 
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.
 
Back
Top