// AcHelper.h: interface for the AcHelper class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ACHELPER_H__721FCF93_750D_11D1_90E3_00805FD8E2DD__INCLUDED_)
#define AFX_ACHELPER_H__721FCF93_750D_11D1_90E3_00805FD8E2DD__INCLUDED_

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

#define FreeCString(sz)  {if (sz) delete [] sz;}

class AcHelper  
{
public:
	AcHelper();
	virtual ~AcHelper();

	static BSTR		AllocBString	(const char * c_string);
	static BSTR		AllocBString	(const char * c_string ,int len);
	static char	*	AllocCString	(const BSTR b_string);
};

#endif // !defined(AFX_ACHELPER_H__721FCF93_750D_11D1_90E3_00805FD8E2DD__INCLUDED_)
