This commit is contained in:
112
HookMsg/StdAfx.h
Normal file
112
HookMsg/StdAfx.h
Normal file
@@ -0,0 +1,112 @@
|
||||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
//
|
||||
|
||||
#if !defined(AFX_STDAFX_H__15F93E63_5CA9_4F85_90A9_CFA590A7A26E__INCLUDED_)
|
||||
#define AFX_STDAFX_H__15F93E63_5CA9_4F85_90A9_CFA590A7A26E__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
|
||||
#include <afxwin.h> // MFC core and standard components
|
||||
#include <afxext.h> // MFC extensions
|
||||
#include <afxdisp.h> // MFC Automation classes
|
||||
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
|
||||
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
||||
#include <afxcmn.h> // MFC support for Windows Common Controls
|
||||
#endif // _AFX_NO_AFXCMN_SUPPORT
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <afxsock.h>
|
||||
|
||||
#include <Windows.h>
|
||||
#include <Winuser.h>
|
||||
#define WS_EX_LAYERED 0x00080000
|
||||
#define LWA_ALPHA 0x00000002
|
||||
|
||||
#pragma comment(lib,"winmm.lib")
|
||||
#include <MMSystem.h>
|
||||
|
||||
|
||||
// 추가
|
||||
#include <afxinet.h>
|
||||
#include <comdef.h>
|
||||
#include <afxpriv.h> // T2A macros
|
||||
#include <math.h>
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <fstream>
|
||||
|
||||
// 추가
|
||||
#import "c:\daishin\CYBOSPLUS\cpdib.dll" no_namespace named_guids
|
||||
#import "c:\daishin\CYBOSPLUS\cptrade.dll" no_namespace named_guids
|
||||
#import "c:\daishin\CYBOSPLUS\cputil.dll" no_namespace named_guids
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
// 매도기능 지원을 위한것.
|
||||
// 현재 사용하지않음. 2003/10/1
|
||||
#define UM_AUTOMEDO 0x1234
|
||||
typedef struct
|
||||
{
|
||||
char szJCode[8];
|
||||
long nMesuDanga;
|
||||
long nMesuSu;
|
||||
} AUTOMEDO_MSGDATA, *PAUTOMEDO_MSGDATA;
|
||||
extern AUTOMEDO_MSGDATA g_AutomedoData;
|
||||
extern COPYDATASTRUCT g_AutoMedoCopyDataStructure;
|
||||
/////////////////////////////////////////////////
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
#pragma comment(lib,"./../HookInj/Debug/HookInj.lib")
|
||||
#else
|
||||
#pragma comment(lib,"./../HookInj/Release/HookInj.lib")
|
||||
#endif
|
||||
#pragma message("Automatically linking with HookInj.lib")
|
||||
#include "./../HookInj/HookInj.h"
|
||||
|
||||
#pragma comment( lib, "ws2_32.lib" )
|
||||
#pragma comment( lib, "mswsock.lib" )
|
||||
|
||||
#include "ZXSocket.h"
|
||||
|
||||
#include "Spy.h"
|
||||
#include "XListBox.h"
|
||||
#include "CpDibEvent.h"
|
||||
|
||||
#define _ATL_APARTMENT_THREADED
|
||||
#include <atlbase.h>
|
||||
//You may derive a class from CComModule and use it if you want to override
|
||||
//something, but do not change the name of _Module
|
||||
class CHookMsgModule : public CComModule
|
||||
{
|
||||
public:
|
||||
LONG Unlock();
|
||||
LONG Lock();
|
||||
LPCTSTR FindOneOf(LPCTSTR p1, LPCTSTR p2);
|
||||
DWORD dwThreadID;
|
||||
};
|
||||
extern CHookMsgModule _Module;
|
||||
#include <atlcom.h>
|
||||
|
||||
//~!
|
||||
#define BEFORE_INCOME
|
||||
//#define AFTER_INCOME
|
||||
|
||||
#define WORD_THREAD_WITH_HOGA 0
|
||||
#define WORD_THREAD_WITHOUT_HOGA 1
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_STDAFX_H__15F93E63_5CA9_4F85_90A9_CFA590A7A26E__INCLUDED_)
|
||||
Reference in New Issue
Block a user