Skip to content

Commit

Permalink
2015年1月4日23:06:472
Browse files Browse the repository at this point in the history
  • Loading branch information
a382793896 committed Jan 4, 2015
1 parent 7fde37b commit 6f27fef
Show file tree
Hide file tree
Showing 31 changed files with 40 additions and 29 deletions.
2 changes: 1 addition & 1 deletion HorseRace/HorseRace.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

// HorseRace.cpp : 定义应用程序的类行为。
//

#include "stdafx.h"
#include "HorseRace.h"
#include "HorseRaceDlg.h"
Expand Down
6 changes: 4 additions & 2 deletions HorseRace/HorseRace.h
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@

// HorseRace.h : PROJECT_NAME 应用程序的主头文件
//



#pragma once

#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif

#include "resource.h" // 主符号


// CHorseRaceApp:
// 有关此类的实现,请参阅 HorseRace.cpp
//

#include "resource.h" // 主符号
class CHorseRaceApp : public CWinAppEx
{
public:
CHorseRaceApp();

// 重写
public:
virtual BOOL InitInstance();
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/HorseRaceDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ HCURSOR CHorseRaceDlg::OnQueryDragIcon()
return static_cast<HCURSOR>(m_hIcon);
}


void CHorseRaceDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
Expand Down
2 changes: 2 additions & 0 deletions HorseRace/HorseRaceDlg.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

// HorseRaceDlg.h : 头文件
//



#pragma once
#include "ScriptObject.h"
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/HorseRaceMainDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ void CHorseRaceMainDlg::RefreshTime()
SetTimer(100,1000,NULL);
m_DownS = 30;
}
}
}

//我的输赢
if(strWin.IsEmpty())
Expand Down
5 changes: 4 additions & 1 deletion HorseRace/HorseRaceMainDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class CHorseRaceMainDlg : public CDialogEx
int UpdateTradeTicket(int nQ,TRADE_DATA & szItem);
afx_msg void OnBnClickedButton8();
void SetCurStastua(CString msg);
void UserLogin();
void UserLogin();
afx_msg void OnBnClickedButton6();
bool QpTrade();
CButton m_Qcheck;
Expand All @@ -94,3 +94,6 @@ class CHorseRaceMainDlg : public CDialogEx
afx_msg void OnBnClickedButton7();
int UpdateBetTicket(int nQ,TRADE_DATA & record);
};



2 changes: 1 addition & 1 deletion HorseRace/Http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ CString CHttp::RevHTML(CHttpFile *pFile)
buf[len] = '\0';
RevBuf += buf;
}

//对返回的内容正确编码
RevBuf = EncodeHTML(RevBuf);

Expand Down
2 changes: 2 additions & 0 deletions HorseRace/Http.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include <afxinet.h>
#include <atlimage.h>



///////////////////////////////////////////////////////////////////
/*
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/HttpHandule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ BOOL CHttpHandule::Login(CString UserName,CString PassWord,CString code,CString
break;
}
}

int pos1 = 0,pos2 = 0;
pos1 = strRet.Find(_T("r1='"));

Expand Down
2 changes: 2 additions & 0 deletions HorseRace/HttpHandule.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#define APPNAME _T("BASE")
#define CONDITIONNAME _T("CONDITION")



typedef struct tagQData
{
int race;//
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/IniFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "stdafx.h"
#include "IniFile.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/IniFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CIniFile
{
public:
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/NetVerification.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ typedef bool (WINAPI * LoginAndRegister)
);
//到期时间查询
typedef TCHAR * (WINAPI * QueryTime)(TCHAR UserName[]);

//充值
typedef int (WINAPI * SaveMoney)(TCHAR UserName[],TCHAR cKey[]);
2 changes: 1 addition & 1 deletion HorseRace/RegisterUser.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RegisterUser.cpp : 实现文件
//

#include "stdafx.h"
#include "HorseRace.h"
#include "RegisterUser.h"
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/RegisterUser.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once


// CRegisterUser 对话框

class CRegisterUser : public CDialogEx
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/SafeArrayHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Author: Ernest Laurentin
// E-mail: elaurentin@sympatico.ca
//
//
// Version history
//
// 1.0 - Initial release.
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/SafeArrayHelper.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef _SAFEARRAYHELPER_H_
#define _SAFEARRAYHELPER_H_

class CSafeArrayHelper
{
public:
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/SaveDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "SaveDlg.h"
#include "afxdialogex.h"
#include "NetVerification.h"

extern SaveMoney chong ;
// CSaveDlg 对话框

Expand Down
2 changes: 1 addition & 1 deletion HorseRace/SaveDlg.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once


// CSaveDlg 对话框

class CSaveDlg : public CDialogEx
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/ScriptObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Author: Ernest Laurentin
// E-mail: elaurentin@sympatico.ca
//
//
// This class implements MSScript control
// It can interface script from resource file or text file
//
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/ScriptObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* INITIAL CODING : Ernest Laurentin (EL)
*************************************************************/

#ifndef _SCRIPT_OBJECT_
#define _SCRIPT_OBJECT_
#include <xstring>
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/SoftDecalaration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "SoftDecalaration.h"
#include "afxdialogex.h"


// CSoftDecalaration 对话框

IMPLEMENT_DYNAMIC(CSoftDecalaration, CDialogEx)
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/SoftDecalaration.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once


// CSoftDecalaration 对话框

class CSoftDecalaration : public CDialogEx
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/TabSheet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "stdafx.h"
#include "TabSheet.h"


// CTabSheet

Expand Down
2 changes: 1 addition & 1 deletion HorseRace/TabSheet.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once


// CTabSheet
#define MAX_PAGES 10

Expand Down
2 changes: 1 addition & 1 deletion HorseRace/VMProtectSDK.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once

#ifdef _WIN64
#pragma comment(lib, "VMProtectSDK64.lib")
#else
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function mask(msg) {
var t4 = (n << s) | (n >>> (32 - s));
return t4;
};

function lsb_hex(val) {
var str = "";
var i;
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/resource.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by HorseRace.rc
//
//
#define IDM_ABOUTBOX 0x0010
#define IDD_ABOUTBOX 100
#define IDS_ABOUTBOX 101
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/stdafx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
// stdafx.obj 将包含预编译类型信息

#include "stdafx.h"


2 changes: 1 addition & 1 deletion HorseRace/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef _SECURE_ATL
#define _SECURE_ATL 1
#endif

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
#endif
Expand Down
2 changes: 1 addition & 1 deletion HorseRace/targetver.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#pragma once

// 以下宏定义要求的最低平台。要求的最低平台
// 是具有运行应用程序所需功能的 Windows、Internet Explorer 等产品的
// 最早版本。通过在指定版本及更低版本的平台上启用所有可用的功能,宏可以
Expand Down

0 comments on commit 6f27fef

Please sign in to comment.