Book Image

D Cookbook

By : Adam Ruppe
Book Image

D Cookbook

By: Adam Ruppe

Overview of this book

Table of Contents (21 chapters)
D Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Integration

In this chapter, we will look at how to integrate D with other environments and programming languages. We'll learn about the following:

  • Calling the Windows API functions

  • Removing the Windows console

  • Making Linux system calls

  • Writing part of a C program in D

  • Interfacing with C++

  • Using structs to mimic the C++ object structure

  • Communicating with external processes

  • Communicating with a dynamic scripting language

  • Using Windows' COM