How to use C++ code in C?

  • Thread starter Thread starter sgrm123
  • Start date Start date
S

sgrm123

Guest
Hi,

I have below class in C++ dll. How to use this class in C file?

class AFX_EXT_CLASS CEzFile : public CFile, public CEzFileSecure
{
DECLARE_DYNAMIC(CEzFile)
public:
CEzFile(void){};
~CEzFile(void);

public://File operations
virtual BOOL Open(LPCTSTR lpszFileName, UINT nOpenFlags, CFileException* pError = NULL);
virtual void Close();
virtual void Abort();
static void Rename(LPCTSTR lpszOldName, LPCTSTR lpszNewName);
static void Remove(LPCTSTR lpszFileName);
};

Continue reading...
 
Back
Top