Public Wiki editing is temporarily disabled to stop vandalism.
|
|
Table of Contents
DIHtmlParser WikiPublic Wiki editing is temporarily disabled to stop vandalism. DIHtmlMimeMesageDIHtmlMimeMessage is an add-on to DIHtmlParser to create MIME messages from existing HTML documents and automatically add required attachment files. It is excellent to send existing HTML documents as e-mails. Example projects demonstrate this with Indy, ICS, Synapse, and other Freeware Delphi Internet components. DIHtmlMimeMessage was last updated on 2009-08-10 to fix a few minor issues related to Delphi 2009. There are no known problems at the time of this writing. C++ Builder 6 SolutionsWhich folders to use?Include the Delphi 6 folders into your C++ Builder 6 search path:
IDE Installation
Open the Compilation ProblemsC++ 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, Delphi adds a few errors to the conversion. Fortunately, they can be easily corrected. When you compile your project, you will likely encounter one or more of these errors: Auto-generated code: #include "DIHtmlParser.h" #include "DIUnicode.h" Corrected code: #include "DIHtmlParser.hpp" #include "DIUnicode.hpp" "E2241: VCL style classes need virtual destructors" on these lines, at different places: __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: __fastcall TDIWriter(const unsigned Dummy = (unsigned)(0x0)); /* TDIWriter.DestroyNoFlushBuffer */ inline __fastcall ~TDIBinaryWriter( const unsigned Dummy = (unsigned)(0x0)) { }
The auto-conversion has dropped the __property unsigned LastChildNumber[void * PItem] = {read=GetLastChildNumber, write=SetLastChildNumber}; __property unsigned FirstChildNumber[void * PItem] = {read=GetFirstChildNumber, write=SetFirstChildNumber};
Fix this by inserting the missing __property unsigned LastChildNumber[const void * PItem] = {read=GetLastChildNumber, write=SetLastChildNumber}; __property unsigned FirstChildNumber[const void * PItem] = {read=GetFirstChildNumber, write=SetFirstChildNumber}; E2209 Unable to open include file
Include files for the precompiled Pascal units are located in the
For the Pascal source code units in
wiki/htmlparser/index.txt · Last modified: 2009/10/28 19:28 (external edit)
|
| Copyright (c) 2000-2010 Ralf Junker – http://www.yunqa.de/delphi/ – Disclaimer – Haftungsausschluss – Impressum |