0

I have some saved eml files and im displaying them in a WPF WebBrowser control by renaming the file extension to .mht, which IE (& therefore the WebBrowser control) will display quite happily.

Im having problems displaying eml files from FaceBook, I get an Assertion failed error like this in a MessageBox :-

Assertion failed!

Program:....bin\Debug\myApp.vshost.exe
File:../external/boost_1_31_0\boost/shared_ptr.hpp
Line: 254

Expression: px !=0

It completely crashes the app.

I have thousands of eml files with all sorts of content but I only get this error reading FaceBook emails (the spammy ones they auto send with every bit of activity on your FB account).

I have suppressed Script errors as per this StackOverflow post but the errors persist.

I have a try catch around the wb.Navigate(Uri) statements but its not caught it.

How can I stop the errors?

Community
  • 1
  • 1
tinmac
  • 2,357
  • 3
  • 25
  • 41

1 Answers1

0

OK so not one answer! I knew it was a little far out :-)

For anyone having a similar issue, I ended up scrapping the WPF WebBrowser and going with awesomium which is an open source WPF WebBrowser alternative with a LOT more power & capabilities.

All the errors disappeared and im now happy.

tinmac
  • 2,357
  • 3
  • 25
  • 41