Hi,
I am trying to subclass TextOutputStream.
For some reason I am not able to typecast the TextOutputStream I receive 
from GetFolderItem()...
Is there something I need to do in the constructor of my subclass?

  dim f as FolderItem
 
  f = GetFolderItem("test.xml")
  if f<>NIL then 
    dim XMLFile as XMLOutputStream 
    XMLFile = new XMLOutputStream //Error!
 
    XMLFile =  XMLOutputStream(f.CreateTextFile)  //Error! XMLFile =Nil
    //XMLFile.WriteElement("html")
    //XMLFile.WriteElement("body")   //Methods of the subclass
    XMLFile.close 
  end if


Thanks in advance for your help!
Jeroen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to