<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Barry,<br>
I have not done anything with the url click stuff since I did the
rewrite, so its broken and will be for a few more builds. I am getting
there (slowly), but it is on my to-do list and I have an idea for these
that I think will impress you.<br>
In Christ,<br>
David<br>
<br>
Barry Drake wrote:
<blockquote cite="mid:48943104.5040203@crosswire.org" type="cite">
<pre wrap="">Hi David .........
David Trotz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I should have done this prior to the CAB file release but I forgot. I
ran the code through several memory and resource leak detection tests
and patched up all known memory leaks. So I have updated the CAB files.
If you downloaded the CAB files earlier, re-download them.
</pre>
</blockquote>
<pre wrap=""><!---->First can I say this is FANTASTIC work. You've done a great job.
Something odd: the first .cab I installed before the above fix seems to
have had some work done to try to resolve the urlclicked problem: it
shows a familiar looking messagebox containing (usually) the initial
letter of the string it is supposed to show. This is very familiar. I
had the same result in my early work last year. It had to do with wide
string conversion. I resolved it by doing this:
</pre>
<blockquote type="cite">
<pre wrap="">// force a parse of the entry
        mod->RenderText();
        MessageBox(0, strtowstr(mod->getEntryAttributes()["Footnote"][footnoteNumber]["body"]), L"Footnote", MB_OK);
        // setting module, book chapter and verse in SwordIndex seem to need numbers
        // this is a pain ........ needs re-thinking ........
</pre>
</blockquote>
<pre wrap=""><!---->
Now, it's a long time ago so I can't remember the details, but I seem to
remember that the strtowstr call was the fix needed. I can dig out more
information because I kept a well noted copy of each stage of the work
on simplenavigator.cpp. I think I remember some later changes to
strtowstr: I haven't checked that out.
The thing is, the second (fixed) cab is back to showing the raw url http
ref unresolved. Need any help with this?
Other than that, as I say FANTASTIC.
God bless,
Barry
-- From Barry Drake (The Revd) minister of the Netherfield United
Reformed church, Nottingham see <a class="moz-txt-link-freetext" href="http://www.jesusinnetherfield.org.uk">http://www.jesusinnetherfield.org.uk</a> for
our church homepages).
Replies - <a class="moz-txt-link-abbreviated" href="mailto:b.drake@ntlworld.com">b.drake@ntlworld.com</a>
_______________________________________________
mobile-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mobile-devel@crosswire.org">mobile-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/mobile-devel">http://www.crosswire.org/mailman/listinfo/mobile-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>