WebViewPane example crashing

Add-in Express™ Support Service
That's what is more important than anything else

WebViewPane example crashing
Example #15 crashes on form load 
Murray Low




Posts: 10
Joined: 2008-09-15
Hi I was trying to implement a webview pane and grabbed the .NET/C# example 15. Upon building and running the example, the system crashes deep in the bowels of the kernel.dll (outlook.exe process) when it tries to display the form. I can see that the "shell" of the form displays, then the crash. Is this a known bug? If so, are the other examples of how to implement a web pane view? I see the basic "behind the scenes" folder switcheroo technique used.

On another subject, I'm not sure when to use Marshal.ReleaseComObject. (When getting the app object etc). Any documentation on this?

thanks
murray
Posted 12 Dec, 2008 19:51:31 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Murray,

What version and build number of Add-in Express do you use?

I'm not sure when to use Marshal.ReleaseComObject. (When getting the app object etc). Any documentation on this?


Please have a look at the following article on our technical blog.
.NET, Extended MAPI, Windows Phone & RT
Posted 13 Dec, 2008 12:18:08 Top
Murray Low




Posts: 10
Joined: 2008-09-15
Hi Eugene,

Thanks for the documentation on com object refs. Much appreciated.

I'm using version 4.3 build 1910. Several of the dll's have the product version 4.3.935.2005 on them (i'm using vs 2005). has there been an update, or perhaps a fixed example? i downloaded the lastest one from the forum/examples page.

thanks!
Posted 13 Dec, 2008 15:47:47 Top
Fedor Shihantsov


Add-in Express team


Posts: 1188
Joined: 2005-01-11
Hi Murray,

What Outlook Version do you use?
Posted 15 Dec, 2008 14:20:54 Top
Murray Low




Posts: 10
Joined: 2008-09-15
i am using outlook 2007. i think i've got pretty recent stuff. is there a recent bugfix?
Posted 19 Dec, 2008 00:37:25 Top
Fedor Shihantsov


Add-in Express team


Posts: 1188
Joined: 2005-01-11
Hi Murray,

>is there a recent bugfix?
No

I have just tested the layoutsvs2005cs.zip and layoutsvs2005cs.zip samples once again and they work fine in my Outlook 2007.
It's possible that you use a specific folder.

Could you please try to debug the sample and find a line that crashes Outlook?

Please specify, what is the name of the sample you use?
(layoutsvs2005cs.zip or layoutsvs2005cs.zip)


Posted 19 Dec, 2008 08:22:41 Top