|
|
|
date: Wed, 1 Mar 2006 07:57:31 -0800,
group: microsoft.public.inetsdk.programming.html_objmodel
back
Re: IGOR......plain to html
Siri wrote:
> 1.
> I have plain text like Hi, This siri from www.xyzw.com.
> Can I convert this text to html text using any api's or
> interfaces?
I'm not sure I understand your question. Somehow I suspect you don't
mean anything like this:
var plain = "Hi, This siri from www.xyzw.com"';
var html = "<html><body>" + plain + "</body></html>";
even though, technically, it answers your question.
> 2.
> I have html body in pchHtmlText. I got IHTMLDocument2 interface
> from CLSID_Document, then am getting interface using
> IHTMLDocument2->Write(pchHtmlText);. But, with this write() statement
> only, Handles are increasing in taskmanager. sometimes handles are
> reached to 4,000 also.
>
> Without write() statement, my application using only 424 handles
> only.
So before there was no HTML rendered, now there is, and you are
surprised that resource usage is growing?
> How do I control handles?
You don't. If you don't like how MSHTML allocates resources, don't use
MSHTML. There's nothing else you can do about it.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
date: Wed, 1 Mar 2006 11:20:31 -0500
author: Igor Tandetnik
|
|