Hi!
I have a problem with my app which is mixed .NET and native code. The
problem is of course with the well-known buggy EnableVisualSty les.
Now, at first I called:
Application.Ena bleVisualStyles ();
Application.DoE vents();
in the main method. My native treeview component then did not show any
icons. So, I removed the lines above and instead added a .manifest file and
my treeview worked as it should again.
But, since my app also uses IXMLDOMDocument 2 I now have another problem -
Lo
hr = spRootNode->transformNode( m_spXSLDoc, &bstrSystemProp sHTML);
fails. HR is = E_FAIL.
I suspect that it has something to do with my manifest encoding which is
UTF-8. My app uses
hr = spDoc->loadXML(bstrSy stemXML, &bLoaded);
which only takes UTF-16. However, if I change to UTF-16 in the manifest my
app won't start.
Anyone else had this problem? Any help appreciated!
Regards,
Johan.
I have a problem with my app which is mixed .NET and native code. The
problem is of course with the well-known buggy EnableVisualSty les.
Now, at first I called:
Application.Ena bleVisualStyles ();
Application.DoE vents();
in the main method. My native treeview component then did not show any
icons. So, I removed the lines above and instead added a .manifest file and
my treeview worked as it should again.
But, since my app also uses IXMLDOMDocument 2 I now have another problem -
Lo
hr = spRootNode->transformNode( m_spXSLDoc, &bstrSystemProp sHTML);
fails. HR is = E_FAIL.
I suspect that it has something to do with my manifest encoding which is
UTF-8. My app uses
hr = spDoc->loadXML(bstrSy stemXML, &bLoaded);
which only takes UTF-16. However, if I change to UTF-16 in the manifest my
app won't start.
Anyone else had this problem? Any help appreciated!
Regards,
Johan.