wiki:htmlparser:index
Delphi 12 Athens Updates Available!
To download, click your product: DIContainers, DIConverters, DICreole, DIFileFinder, DIGoogleReader, DIHtmlLabel, DIHtmlParser, DIMime, DIRegEx, DISQLite3, DITidy, DIUcl, DIUnicode, DIXml, YuBrotli, YuImage, YuNetSurf, YuOpenSSL, YuPcre2, YuPdf, YuStemmer, YuXmlSec, YuZip.
To download, click your product: DIContainers, DIConverters, DICreole, DIFileFinder, DIGoogleReader, DIHtmlLabel, DIHtmlParser, DIMime, DIRegEx, DISQLite3, DITidy, DIUcl, DIUnicode, DIXml, YuBrotli, YuImage, YuNetSurf, YuOpenSSL, YuPcre2, YuPdf, YuStemmer, YuXmlSec, YuZip.
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | wiki:htmlparser:index [2020/08/28 12:51] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DIHtmlParser: | ||
+ | {{page> | ||
+ | {{page>: | ||
+ | |||
+ | ===== DIHtmlMimeMesage ===== | ||
+ | |||
+ | {{https:// | ||
+ | |||
+ | {{https:// | ||
+ | |||
+ | ===== C++ Builder 6 Solutions ===== | ||
+ | |||
+ | ==== Which folders to use? ==== | ||
+ | |||
+ | Include the Delphi 6 folders into your C++ Builder 6 search path: | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== IDE Installation ==== | ||
+ | |||
+ | Open the '' | ||
+ | |||
+ | ==== Compilation Problems ==== | ||
+ | |||
+ | C++ Builder 6 compiles DIHtmlParser applications without errors if if has access to the full DIHtmlParser Source Code. The DIHtmlParser Commercial and Demo editions must instead use the *.hpp files which were auto-generated by Delphi 6. Unfortunately, | ||
+ | |||
+ | When you compile your project, you will likely encounter one or more of these errors: | ||
+ | |||
+ | Auto-generated code: | ||
+ | |||
+ | <code c++> | ||
+ | #include " | ||
+ | #include " | ||
+ | </ | ||
+ | |||
+ | Corrected code: | ||
+ | |||
+ | <code c++> | ||
+ | #include " | ||
+ | #include " | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | " | ||
+ | |||
+ | <code c++> | ||
+ | __fastcall ~TDIWriter(const unsigned Dummy = (unsigned)(0x0)); | ||
+ | |||
+ | /* TDIWriter.DestroyNoFlushBuffer */ inline __fastcall ~TDIBinaryWriter( | ||
+ | const unsigned Dummy = (unsigned)(0x0)) { } | ||
+ | </ | ||
+ | |||
+ | Correct this by removing the tilde signs (~) in both lines: | ||
+ | |||
+ | <code c++> | ||
+ | __fastcall TDIWriter(const unsigned Dummy = (unsigned)(0x0)); | ||
+ | |||
+ | /* TDIWriter.DestroyNoFlushBuffer */ inline __fastcall TDIBinaryWriter( | ||
+ | const unsigned Dummy = (unsigned)(0x0)) { } | ||
+ | </ | ||
+ | |||
+ | After fixing the above, some versions of C++ Builder (like XE3) issue the following error in DIHtmlParser.hpp: | ||
+ | |||
+ | [bcc32 Error] DIHtmlParser.hpp: | ||
+ | |||
+ | The two offending lines are: | ||
+ | |||
+ | <code c++> | ||
+ | public: | ||
+ | __fastcall virtual TDIHtmlParser(System:: | ||
+ | __fastcall virtual TDIHtmlParser(System:: | ||
+ | </ | ||
+ | |||
+ | Fix: Comment out the first line like this: | ||
+ | |||
+ | <code c++> | ||
+ | public: | ||
+ | /* __fastcall virtual TDIHtmlParser(System:: | ||
+ | __fastcall virtual TDIHtmlParser(System:: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | The auto-conversion has dropped the '' | ||
+ | |||
+ | <code c++> | ||
+ | __property unsigned LastChildNumber[void * PItem] = | ||
+ | {read=GetLastChildNumber, | ||
+ | __property unsigned FirstChildNumber[void * PItem] = | ||
+ | {read=GetFirstChildNumber, | ||
+ | </ | ||
+ | |||
+ | Fix this by inserting the missing '' | ||
+ | |||
+ | <code c++> | ||
+ | __property unsigned LastChildNumber[const void * PItem] = | ||
+ | {read=GetLastChildNumber, | ||
+ | __property unsigned FirstChildNumber[const void * PItem] = | ||
+ | {read=GetFirstChildNumber, | ||
+ | </ | ||
+ | |||
+ | ==== E2209 Unable to open include file ==== | ||
+ | |||
+ | Include files for the **precompiled Pascal units** are located in the '' | ||
+ | |||
+ | For the **Pascal source code units** in '' | ||
+ | |||
+ | * Compile the DIHtmlParser package as described above. | ||
+ | * Add the corresponding *.pas file to your project. Then open the Project Manager and move it above the file using it. You can use drag & drop to reorder. |
wiki/htmlparser/index.txt · Last modified: 2020/08/28 12:51 by 127.0.0.1