L
LadyEve
Hi!
I've got a problem when converting a System.String into a System.Char*!
Problem: Invalid Cast Operation
Here is the source:
Type type = Type.GetType("System.Char*");
String val = "c";
Object o = Convert.ChangeType(val,type);
val can only be a string, because i'm reading it out of an xml-file!
Xml-Source:
<type>System.Char*</type>
<value>c</value>
I hope you can help me! Thank you
Eva
I've got a problem when converting a System.String into a System.Char*!
Problem: Invalid Cast Operation
Here is the source:
Type type = Type.GetType("System.Char*");
String val = "c";
Object o = Convert.ChangeType(val,type);
val can only be a string, because i'm reading it out of an xml-file!
Xml-Source:
<type>System.Char*</type>
<value>c</value>
I hope you can help me! Thank you
Eva