Frost Moon Project

Src/StdAfx.h -MagicPNG Ver.1.00- - Frost Moon Project   アクセスランキング  

Home > ソフトウェア > MagicPNG > MagicPNG100.zip > Src > StdAfx.h

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

//`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`
//          MagicPNG Ver.1.00 by x@rgs
//          Released under NYSL Version 0.9982
//
//`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`~^`


#ifndef _STDAFX_H_86E0AEB2_A62E_47a0_BE72_46DB485618B9
#define _STDAFX_H_86E0AEB2_A62E_47a0_BE72_46DB485618B9

#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<gdiplus.h>


#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.00_Debug")
#else
    #define SOFTWARE_VERSION _T("1.00")
#endif


#define DISABLE_CONSOLE
#define DISABLE_STRING_EX
#define DISABLE_WINDOW
#define DISABLE_PROGRESS_BAR
#define DISABLE_FILE
#define DISABLE_LIBRARY
#define DISABLE_CFG_FILE
#define DISABLE_FOLDER_DIALOG
#define DISABLE_FILE_SEARCH
#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_MENU
#define DISABLE_TAB
#define DISABLE_LIST_VIEW

//#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_86E0AEB2_A62E_47a0_BE72_46DB485618B9


Home > ソフトウェア > MagicPNG > MagicPNG100.zip > Src > StdAfx.h