memoryrw.h

来自「两台PC电脑间数据的通讯,这是主发送端的VC源码」· C头文件 代码 · 共 32 行

H
32
字号
// MemoryRW.h: interface for the CMemoryRW class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MEMORYRW_H__7F0DF48B_1CCE_45E8_8B1D_F538A4A58D6B__INCLUDED_)
#define AFX_MEMORYRW_H__7F0DF48B_1CCE_45E8_8B1D_F538A4A58D6B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MemShare.h"
const int Max_MenLength=0x4000;
const CString ShareName="GetData";

class CMemoryRW  
{
public:
	void SetMemory(long Address, short m_store);
	void SetOnTrueAddress(BOOL flag);
	unsigned short GetMemory(long Address);
	void init();
	CMemoryRW();
    bool bTrueAddress;
    LPSTR lpMsg;
    CMemShare MemShare;
    ULONG adsbase;
	virtual ~CMemoryRW();

};

#endif // !defined(AFX_MEMORYRW_H__7F0DF48B_1CCE_45E8_8B1D_F538A4A58D6B__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?