Frost Moon Project

Src/StdAfx.h -TimeStamp Keeper Ver.1.02- - Frost Moon Project   アクセスランキング  

Home > ソフトウェア > TimeStampKeeper > TimeStampKeeper102.zip > Src > StdAfx.h

 
//StdAfx.h
//共通ヘッダファイル

//`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`
//          TimeStamp Keeper Ver.1.02 by x@rgs
//              under NYSL Version 0.9982
//
//`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`


#ifndef _STDAFX_H_B6023879_CF6F_45f4_A1D4_7DBAC5E430F2
#define _STDAFX_H_B6023879_CF6F_45f4_A1D4_7DBAC5E430F2

#ifndef STRICT
    #define STRICT
#endif
#ifndef UNICODE
    #define UNICODE
#endif
#ifndef _UNICODE
    #define _UNICODE
#endif

#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0500
#define WINVER 0x0500

#include<stdio.h>
#include<stdlib.h>
#include<stdarg.h>

#include<process.h>

#include<windows.h>
#include<tchar.h>

#include<string>
#include<list>
#include<vector>
#include<algorithm>

#include<commctrl.h>

typedef std::basic_string<TCHAR>tstring;

#ifndef _tcstold
    #ifdef _UNICODE
        #define _tcstold wcstold
    #else
        #define _tcstold strtold
    #endif //_UNICODE
#endif //_tcstold

#ifndef _tcstoll
    #ifdef _UNICODE
        #ifdef _MSC_VER
            #define _tcstoll _wcstoi64
        #else
            #define _tcstoll wcstoll
        #endif
    #else
        #ifdef _MSC_VER
            #define _tcstoll _strtoi64
        #else
            #define _tcstoll strtoll
        #endif
    #endif //_UNICODE
#endif //_tcstoll

#define INNER_FUNC(name,v)\
    static struct{\
        v\
    }name;\

#ifdef _DEBUG
    #define SOFTWARE_VERSION _T("1.02_Debug")
#else
    #define SOFTWARE_VERSION _T("1.02")
#endif


#define DISABLE_MISC
#define DISABLE_CONSOLE
#define DISABLE_STRING_EX
#define DISABLE_WINDOW
#define DISABLE_PROGRESS_BAR
#define DISABLE_LIBRARY
#define DISABLE_CFG_FILE
#define DISABLE_FILE_OPERATION
#define DISABLE_SPLIT_FILE
#define DISABLE_TEMP_FILE
#define DISABLE_ENVIRONMENTAL_VARIABLE
#define DISABLE_API_HOOK
#define DISABLE_COMMON_CONTROLS_EX
#define DISABLE_CTRL_A_HOOK
#define DISABLE_TAB

//#define SSLIB_GUI
#define SSLIB_GUI_DIALOG
#include"sslib/sslib.h"

inline void msg(){MessageBox(NULL,NULL,NULL,MB_OK);}
inline void msg(const TCHAR* format,...){
    if(!format){msg();return;}
    va_list argp;
    va_start(argp,format);

    MessageBox(NULL,sslib::format(format,argp).c_str(),NULL,MB_OK);

    va_end(argp);
}

#endif //_STDAFX_H_B6023879_CF6F_45f4_A1D4_7DBAC5E430F2


Home > ソフトウェア > TimeStampKeeper > TimeStampKeeper102.zip > Src > StdAfx.h