25 lines
788 B
C++
25 lines
788 B
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef thOpenSourceH
|
|
#define thOpenSourceH
|
|
//---------------------------------------------------------------------------
|
|
#include <Classes.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class thOpenFile : public TThread
|
|
{
|
|
private:
|
|
protected:
|
|
void __fastcall Execute();
|
|
void __fastcall RunOpen();
|
|
public:
|
|
bool thEnd;
|
|
int ColType[10000];
|
|
|
|
__fastcall thOpenFile(bool CreateSuspended);
|
|
void LoadAndModify(const char* pszFileName);
|
|
void ReadAndModifyFromBuff(char* pBuff, DWORD dwSize, const char* pszFileName);
|
|
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
#endif
|