[quote user="Jon Summers"]Perhaps your TextBlock is empty?[/quote]
It's probably easier to ask again and again instead of coding a bit more and to e.g. add ASSERT or to use existing TextBlock API functionality to ensure what is happening and why such status is returned. Just checking API documentation, there are methods like IsEmpty() to evaluate if MicroStation thinks the textblock is empty, ToString() to check what is inside text block instance and at first to check what is inserted into text block ... I assume AppendText is used, but what is the used parameter (should be WCharCP)?,
Regards,
Jan