Artifact [3379970669] Вы: nobody
Вход

Artifact 3379970669c263b2622095ee18f83b5d12989683:


// longstrreader.h
#pragma once

struct LongStrReader
{
	static LongStrReader& get()
	{
		static LongStrReader reader;
		return reader;
	}
	void ReadStr(LPCSTR pRecordBufer, DWORD mdCharID, CString& val);

private:
	LongStrReader() : store(pDataDict->GetTable("1SBLOB"), NULL)
	{
		store.SetOrderIndex(store.pTable->GetIndex(0));
		pReadBuf = ((CTableEx*)store.pTable)->recordBuffer();
	}
	CStoreObj store;
	LPCSTR pReadBuf;
};