android.view.InflateException: Binary XML file line #12: Error inflating class unknown
The inflate exception is not actually the problem but really comes from another deeper issue in your layout that is then wrapped in an InflateException
.
A common issue is an out of memory exception when trying to inflate an ImageView
loading a drawable resource. If one of these resources has a high pixel resolution it would take a lot of memory causing then an inflate exception.
So basically verify that the pixel resolution in all your image drawables is just the minimum necessary for your layout.
MSXML2::IXMLDOMDocument2Ptr- GetXML() messing up my string!
Try replacing
BSTR Markup;
with
bstr_t Markup;
BSTR is pretty much a dumb pointer, and I think that the return result of GetXML() is being converted to a temporary which is then destroyed by the time you get to see it. bstr_t wraps that with some smart-pointer goodness...
Note: Your "SuperMarkup" thing did NOT do what I suggested. Again, BSTR is just a pointer, and doesn't "own" what it points to. bstr_t, on the other hand does. I think your GetXML() function is returning a bstr_t, which is then being deleted as it goes out of scope, leaving your BSTR pointing to memory that is no longer valid.
Related Topics
How to Hide Soft Keyboard on Android After Clicking Outside Edittext
How to Add a Button Dynamically in Android
How to Add Manifest Permission to an Application
How to Include *.So Library in Android Studio
Receiving Package Install and Uninstall Events
How to Start Activity in Another Application
Benefit of Using Parcelable Instead of Serializing Object
Where Are Shared Preferences Stored
Android Studio 0.4.2: Gradle Project Sync Failed Error
Android: Upgrading Db Version and Adding New Table
Java.Lang.Runtimeexception: Unable to Instantiate Activity Componentinfo
Change Volley Timeout Duration
Soft Keyboard Open and Close Listener in an Activity in Android
How to Have Onscrolllistener for a Scrollview
Put Constant Text Inside Edittext Which Should Be Non-Editable - Android
Difference Between App:Srccompat and Android:Src in Android's Layout Xml
How to Fire Onlistitemclick in Listactivity with Buttons in List