Giter VIP home page Giter VIP logo

windows-sys-base's Introduction

windows-sys-base

windows 系统API C++封装库,包含进程间通讯,互斥,内存队列等通用功能

使用说明

  • 打开 SysBase/SysBase.sln,建议使用 Visual Studio 2012/2015 版本。
  • 直接编译,在批量编译选项中已经设置好了四种模式(DEBUG 32:64, RELEASE 32:64)。
  • 64位应用程序需要在X64平台的编译选项中的预处理器定义中加上 X64 宏。
  • 目标程序将编译后的lib放到指定位置后,在引用文件加入如下内容:
#include "../SysBase/SysBase_Interface.h"	

using namespace SysBase;

#ifdef _DEBUG
#ifdef X64
#pragma comment(lib, "../SysBase/lib/SysBase_d_64.lib")
#else
#pragma comment(lib, "../SysBase/lib/SysBase_d.lib")
#endif // !WIN32
#else
#ifdef X64
#pragma comment(lib, "../SysBase/lib/SysBase_64.lib")
#else
#pragma comment(lib, "../SysBase/lib/SysBase.lib")
#endif // !WIN32
#endif // _DEBUG
  • 目标项目只需 inlcude SysBase_Interface.h 即可,配置好编译选型后编译目标程序即可。

windows-sys-base's People

Contributors

yejiansnake avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.