U++ framework
Do not panic. Ask here before giving up.

Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Porting a Delphi Application
Re: Porting a Delphi Application [message #11695 is a reply to message #11690] Sat, 22 September 2007 00:22 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
You cannot add XmlNode directly this way - it is not a Value compatible type.

What indeed happens is that XmlNode -> Value conversion is in fact XmlNode -> operator bool() -> Value. So in fact, you are storing into tree a bool value that indicates whether XmlNode contains subnodes...

Then, later, bool cannot be converted to XmlNode -> dynamic cast error.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to write a dll using Ultimate++?
Next Topic: embedded configuration data/values in self for a executable
Goto Forum:
  


Current Time: Mon May 11 02:02:12 GMT+2 2026

Total time taken to generate the page: 0.00966 seconds