<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to use the sword API using Visual
C++.NET. so far, I have discovered how to display a Bible module into a rich
edit control (that displays a RTF string). However, I have problems displaying a
ThmL commentary in the RTF format.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2>
<P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (sourceformat ==
"ThML") </FONT></P>
<P><FONT size=2>pModule->AddRenderFilter(&thmlRTF);</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2><FONT face=Arial>where pModule is a pointer to a sword::SWModule
and thmlRTF is defined as</FONT></FONT></P>
<P><FONT size=2><FONT size=2>sword::ThMLRTF thmlRTF;</FONT></FONT></P>
<P><FONT size=2><FONT size=2> </P>
<P><FONT face=Arial>The text I get is not a valid RTF text. For example, when
trying to display the JFB commentary:</FONT></P><FONT size=4>
<P><FONT face=Arial size=2>1. In the beginning</FONT></FONT><FONT
face=Arial>â€"a period of remote and unknown antiquity, hid in the depths of
eternal ages; and so the phrase is used in <a href="">Pr
8:22,23</a>. </FONT><BR><FONT face=Arial>God</FONT><FONT face=Arial>â€"the
name of the Supreme Being, signifying in <I>Hebrew,</I> "Strong," "Mighty." It
is expressive of omnipotent power; and by its</FONT></P>
<P><FONT face=Arial>As you can see, the RTF contains <href> tags and other
invalid characters.</FONT></P>
<P><FONT face=Arial></FONT> </P>
<P><FONT face=Arial>What am I doing wrong? Any help is greatly appreciated.
Thank you.</FONT></P>
<P><FONT face=Arial></FONT> </P></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>