English
Forum

chHtmlConvert32.dll address

 

Richi
Hi,
can someone say How I The DLL, in xProfan anspreche.

thanks

chHtmlConvert32.dll

[...] 

The Win 32 DLL provides 2 functions:

HTMLToTextA (ANSI Version)
HTMLToTextW (Unicode Version)

BOOL HTMLToText(
LPCTSTR szHTML, // address of HTML string to convert
LPTSTR szText, // address of buffer receiving output Text
BOOL bPreferASCII,
LPTSTR szCharset, // address of buffer receiving the charset
int nCharsetLen, // size of charset buffer
UINT* pCodePage // address of integer receiving the codepage
);

Parameters
szHTML
Points to the character string to be converted.

szText

Points to the buffer that receives the output Text. The size of this buffer is assumed to be equal to the length of szHTML + 1!

bPreferASCII

Specifies whether some often used unicode characters wants be translated to similar ASCII characters, or hardship. sea table below:

Unicode character /ASCII character

‑ 8209 - 45
– 8211 - 45
— 8212 - 45
’ 8217 ' 39
“ 8220 " 34
” 8221 " 34
• 8226 * 42

szCharset

Points to the buffer that receives the charset that has been specified in the HTML input. Diese parameter can be NULL.

nCharsetLen

Specifies the size in characters of the buffer pointed to by the szCharset parameter.

pCodePage

Points to on integer variable that receives the codepage number of the HTML input. For example, if the HTML input specifies the charset "Windows-1252" the codepage number wants be 1252. Diese parameter can be NULL.
 
11/14/13  
 




Dieter
Zornow
I had time to langer Time what probiert with the Dll, is relatively simply, there it only 2 functions gives

DEF HTMLToTextA(6) ! "chHtmlConvert32.dll","HTMLToTextA"
DEF HTMLToTextW(6) ! "chHtmlConvert32.dll","HTMLToTextW"

The HTML-File must You then with blockread in a Memory-Variable reading and
processing I had the then about so.

HTMLToTextA(html#,buf#,1,charset#,50,0)

where in html# The eingelesene Website standing and buf# the Result in Text.
charset# I had on 50 dimensioniert.
The Dll has but too Error produced, therefore have I not moreover chasing and again forget. white my Version the Dll not any more, Perhaps there a newer

hope the helps you.
 
XProfan X2
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/14/13  
 




Richi
thanks Dieter,
now can I The DLL too test times... I hope I get The Error the DLL something into handle
 
11/15/13  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.062 Views

Untitledvor 0 min.
Uwe Lang03/22/23
Thomas Freier07/16/18
Peter Max Müller11/30/17
A.Tietz11/30/14
More...

Themeninformationen

this Topic has 2 subscriber:

Richi (2x)
Dieter Zornow (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie