iniconfig.h
来自「让传奇3服务端支持动态域名的插件。VS2005的工程。这个是LOGINSER的插」· C头文件 代码 · 共 24 行
H
24 行
#pragma once
#include "Stdafx.h"
#define CfgIni_File _T(".\\LoginSvrConfig.ini")//设置文件路径
#define CfgIni_ServerKey_Main _T("Server")//基本设置主键
#define CfgIni_ServerKey_UseProtMap _T("外网转发服务器标志")// 使用 1 不使用 0
#define CfgIni_ServerKey_ProtMapSerIP _T("转发服务器IP")
#define CfgIni_DEF_UseFlag 0
#define CfgIni_DEF_PMSIP _T("127.0.0.1")
//ini文件操作类
typedef class INICONTROL
{
public:
INICONTROL();
~INICONTROL();
BOOL WriteStrToIni( LPTSTR Mainkey, LPTSTR KeyName, LPTSTR Str);
BOOL GetStrFromIni( LPTSTR Mainkey, LPTSTR KeyName, LPTSTR Str);
BOOL GetIntFromIni( LPTSTR Mainkey, LPTSTR KeyName, int int_Str);
protected:
LPTSTR IniFile_Patch;
}*LPINICONTROL;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?