Click here to Skip to main content
15,881,455 members
Articles / Programming Languages / Visual Basic

EfTidy: The Tidy Library Wrapper

Rate me:
Please Sign up or sign in to vote.
4.91/5 (36 votes)
6 Sep 2013GPL310 min read 184.5K   5K   88  
A free component for HTML parsing and cleaning
// stdafx.h : include file for standard system include files,
//      or project specific include files that are used frequently,
//      but are changed infrequently

#if !defined(AFX_STDAFX_H__48CC0311_A483_4ACA_AA76_E74B2EA73DC0__INCLUDED_)
#define AFX_STDAFX_H__48CC0311_A483_4ACA_AA76_E74B2EA73DC0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400
#endif
#define _ATL_APARTMENT_THREADED

#include <atlbase.h>
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
extern CComModule _Module;
#include <atlcom.h>
#include <atlbase.h>
#include <atlstr.h>
#include <comutil.h>
#pragma comment(lib,_T("comsupp.lib"))
//#include <atlapp.h>
//#include <atlmisc.h>
// Unicode Decalaration
#include <string>
using namespace std;
#ifdef UNICODE
typedef wstring  EfTidyString ;
#else
typedef string   EfTidyString ;
#endif


 #pragma comment(lib,"..\\output\\TidyMyLib.lib")
 #define TIDYH    "..\\TidyMyLib\\tidy.h"
 #define BUFFIOH   "..\\TidyMyLib\\buffio.h"


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__48CC0311_A483_4ACA_AA76_E74B2EA73DC0__INCLUDED)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior)
India India
He used to have biography here Smile | :) , but now he will hire someone (for free offcourse Big Grin | :-D ), Who writes his biography on his behalf Smile | :)

He is Great Fan of Mr. Johan Rosengren (his idol),Lim Bio Liong, Nishant S and DavidCrow and Believes that, he will EXCEL in his life by following there steps!!!

He started with Visual C++ then moved to C# then he become language agnostic, you give him task,tell him the language or platform, he we start immediately, if he knows the language otherwise he quickly learn it and start contributing productively

Last but not the least, For good 8 years he was Visual CPP MSMVP!

Comments and Discussions