Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » General » Downloads
 
Add your own
alternative version

The alxBase classes for work with DBF files

, 5 Nov 2002
The alxBase classes for work with dbf files.
alxbasea2.zip
alxBASE
alxBASE.dsp
alxBASE.dsw
alxBaseDLL.dsp
DLL
INCLUDE
res
nodrop.cur
Lib
Samples
DBFView
DBFViewApp.clw
DBFViewApp.dep
DBFViewApp.dsp
DBFViewApp.dsw
Release
DBFView.exe
res
bitmap1.bmp
DBFViewApp.ico
DBFViewDoc.ico
Toolbar.bmp
SRC
alxbasea3.zip
alxBASE.dep
alxBASE.dsp
alxBASE.dsw
alxBASE.mak
alxBASE.suo
alxBaseDLL.dsp
l.rus
nodrop.cur
DBFViewApp.clw
DBFViewApp.dep
DBFViewApp.dsp
DBFViewApp.dsw
RCa00472
DBFView.exe
bitmap1.bmp
DBFViewApp.ico
DBFViewDoc.ico
Toolbar.bmp
/////////////////////////////////////////////////////////////////////////////
/*
 Copyright� 2002, Alexey Dolgachov
 mail:	alxsoft@gazinter.net	
 web:	http://www.alxsoft.narod.ru
*/
/////////////////////////////////////////////////////////////////////////////
#if !defined(ALX_PARSEREXEPTION_H__INCLUDED_)
#define ALX_PARSEREXEPTION_H__INCLUDED_

#include "ALXParserDef.h"

////////////////////////////////////////////////////////////////////////
// Info structures

//The information on a error
struct CALXParserErrorInfo
{
// Attributes
	UINT	m_nErrorCode;		// error code
	CString	m_strDescription;	// description

#ifdef _DEBUG
	virtual void Dump(CDumpContext& dc) const;
#endif
};

// List errors item
struct CALXParserErrorInfoItem
{
	CALXParserErrorInfo	m_stErrorInfo;				// structure describing a variable
	CALXParserErrorInfoItem* m_pstPrevErrorItem;	// the pointer on the previous item of the list
};

////////////////////////////////////////////////////////////////////////
// CALXParserException - Parser error trapping mechanism
class  ALX_EXT_CLASS CALXParserException : public CException
{
	DECLARE_DYNAMIC(CALXParserException)

// Constructors
public:
	CALXParserException(CALXParserErrorInfoItem* pErrorInfoItem);

// Attributes
public:
	CALXParserErrorInfo*	m_pErrorInfo;

private:	
	CALXParserErrorInfoItem* m_pErrorInfoItem;
	int	m_nErrorCount;

// Operations
public:
	int GetErrorCount();
	void GetErrorInfo(int nIndex = 0);

// Implementation
public:
	virtual ~CALXParserException();
	virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,
		PUINT pnHelpContext = NULL);

protected:
	void FillErrorInfo(int nIndex);
};

void AFXAPI ALXThrowFunOperException(UINT nIDS, ...);

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

#endif // !defined(ALX_PARSEREXEPTION_H__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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Alexey
Web Developer
Russian Federation Russian Federation
Year of birth - 1974.
Eeducation - was ended by Kaliningrad State University in 1997.
Now I work as the engineer-programmer in Kaliningrad (RUSSIA).

| Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 6 Nov 2002
Article Copyright 2002 by Alexey
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid