Applications Interface Programming Using Multiple Languages: A Windows® Programmer's Guide

Book description

  • Interface techniques between multiple different languages taught by examples—the only book of its kind!
  • Ideal for anyone programming in more than one language
  • Hands-on work with a wide range of languages and applications

Your practical guide to interfacing multiple programming languages.

Please note: This title included additional digital media in print format. The supplemental content is not included for this digital book edition.

Computer applications and their implementations become more complex and specialized by the day. Often, the best way to meet a particular challenge is to apply two or more programming languages to the task. The scarcity of useful information on how to get different languages to work together, though, makes this much easier said than done! To that end, topic expert Dr. Ying Bai wrote Applications Interface Programming Using Multiple Languages: A Windows Programmer’s Guide—the first book to provide in-depth coverage of the most popular programming languages’ interfaces and how to use them.

This hands-on, example-packed book walks you through everything you need to know about interfacing multiple languages in Windows, including combinations of C/C++ and Visual C++ 6.0; Visual Basic 6.0; MATLAB, MATLAB Compiler, and the MATLAB graphics and C/C++ math libraries; Smalltalk; VisualWorks; LabVIEW, LabWindows/CVI, Measurement Studio for Visual C++ and Measurement Studio for Visual Basic; Java 1.2 and 1.3; Perl; and more. Dr. Bai’s practical approach gets you right into the programming—each chapter is taught using working code to solve real-world problems, and the source code on the accompanying CD-ROM makes it easy to experiment and adapt these examples to your own projects. Coverage also details the installation of software tools.

  • Step-by-step interfacing of C/C++ and Visual C++ 6.0; Visual Basic 6.0; MATLAB; Smalltalk; LabVIEW, LabWindows/CVI, and Measurement Studio; Java 1.2 and 1.3; Perl; and more!
  • Taught by practical, hands-on example—it’s easy to learn the techniques and apply them to your own projects

Programmers, software engineers, college students, researchers, professors, and anyone who needs to use more than one programming language on a project need this indispensable book!

Table of contents

  1. Copyright
  2. About Prentice Hall Professional Technical Reference
  3. Interface Structure Map
  4. Preface
  5. Acknowledgments
  6. Trademark Acknowledgments
  7. Introduction
    1. Overview of This Book
    2. How This Book Is Organized
  8. Interfaces Between Visual Basic and ANSI C, Visual C++, and Windows API
    1. Introduction
    2. Interface Between Visual Basic and Windows API
    3. Interface Between Visual Basic and Visual C++
    4. Interface Between Visual Basic and the Internet
    5. Database Operations in Visual Basic
    6. Interface Between Visual Basic and Other Win32 Applications
    7. Interface Between Visual Basic and Matlab
  9. Interfaces Between Matlab and ANSI C, Visual C++, Visual BASIC, and JAVA
    1. Overview
    2. Matlab Mathematics Library and Graphic Library
    3. Call a Standard-Alone Application
    4. Using the Matlab Add-In for Visual Studio Method
    5. Using the Matlab Engine Method
    6. Create a Matlab Function as a DLL
    7. Using Matlab Mathematics Library to Handle Complicated Matrix Operations
    8. The Interface Between Visual Basic and Matlab
    9. The Interface Between Java and Matlab
    10. Design the Actual Control System in Real Time
  10. Interfaces Between Smalltalk and ANSI C, Visual C++, and Matlab
    1. Introduction
    2. Introduction to VisualWorks
    3. A Simple Application Program Example
    4. Call DLL Functions with a Pointer or an Array Argument
    5. An Advanced Program Example
    6. The Interface Between Smalltalk and Matlab
    7. An Interface Example in the ControlWORKS Environment
    8. External Interface Classes
    9. Smart Motor Data Collecting and Plotting DLLs
  11. Interfaces Between LabView and ANSI C, Visual C++, and Visual Basic
    1. Overview
    2. The Architecture of the LabView Interface
    3. Using LabWindows/CVI to Interface with ANSI C
    4. A Simulated Example for Multiple Panels
    5. Integrate 32-Bit LabWindows/CVI Library into MS VC++
    6. Measurement Studio for Visual C++
    7. Measurement Studio for Visual Basic
    8. Chapter Summary
  12. Interfaces Between Java and ANSI C, Visual C++, and Matlab
    1. Overview
    2. A Simple Startup Example
    3. Call a C/C++ Program from Java
    4. Use Callback to Make Interactive Calling Between C/C++ and Java
    5. Embed Java Virtual Machine into a Native Program Domain
    6. Interface Between Java and Matlab
  13. Interfaces Between Perl and ANSI C, Visual C++
    1. Overview
    2. Installation of Perl
    3. Interface Design—Embed Perl Interpreter into C/C++
  14. About the Author
  15. LICENSE AGREEMENT AND LIMITED WARRANTY
    1. ACKNOWLEDGMENT
  16. About the CD-ROM
    1. License Agreement
    2. Technical Support

Product information

  • Title: Applications Interface Programming Using Multiple Languages: A Windows® Programmer's Guide
  • Author(s): Ying Bai
  • Release date: March 2003
  • Publisher(s): Pearson
  • ISBN: 9780131003132