Giter VIP home page Giter VIP logo

com-tutorial's Introduction

Windows COM programming tutorial

  • myserver ... implements existing COM interface.
  • myclient ... a client implementation of myserver.
  • customclient ... implements custom interface generated by MIDL.
  • customclient ... a client implementation of customserver.

I implemented these programs with reference to this web site:

Tools

  • VisualStudio 2017 community edition
  • cmake v3.12 or later
  • git v1.5.3 or later

You can add cmake and git On the Workloads tab when installing VisualStudio, you don't need install each tools manually.

Build

Open a developer command prompt, and then run the following commands:

git clone https://github.com/moutend/windows-com-tutorial
cd windows-com-tutorial

Next, for instance, run the following commands to build myserver:

cd myserver
mkdir build
cd build
..\tools\build.bat
msbuild all.vcxproj

Note: Use the developer command prompt, not a normal cmd.exe. The developer command prompt comes with the VisualStudio installation. Hit the Windows key and then type "dev" or "developer" to launch.

LICENSE

MIT

Author

Yoshiyuki Koyanagi [email protected]

com-tutorial's People

Contributors

moutend avatar

Watchers

 avatar  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.