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 Guidethe 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 programmingeach 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.
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!
Download the Sample Chapter related to this title.
Interface Structure Map.
Preface.
Acknowledgments.
Trademark Acknowledgments.
1. Introduction.
Overview of This Book. How This Book Is Organized.
Introduction. Interface Between Visual Basic and Windows API. Interface Between Visual Basic and Visual C++. Interface Between Visual Basic and the Internet. Database Operations in Visual Basic. Interface Between Visual Basic and Other Win32 Applications. Interface Between Visual Basic and Matlab.
Overview. Matlab Mathematics Library and Graphic Library. Call a Standard-Alone Application. Using the Matlab Add-In for Visual Studio Method. Using the Matlab Engine Method. Create a Matlab Function as a DLL. Using Matlab Mathematics Library to Handle Complicated Matrix Operations. The Interface Between Visual Basic and Matlab. The Interface Between Java and Matlab. Design the Actual Control System in Real Time.
Introduction. Introduction to VisualWorks. A Simple Application Program Example.Call DLL Functions with a Pointer or an Array Argument.An Advanced Program Example. The Interface Between Smalltalk and Matlab. An Interface Example in the ControlWORKS Environment. External Interface Classes. Smart Motor Data Collecting and Plotting DLLs.
Overview. The Architecture of the LabView Interface. Using LabWindows/CVI to Interface with ANSI C. A Simulated Example for Multiple Panels. Integrate 32-Bit LabWindows/CVI Library into MS VC++. Measurement Studio for Visual C++. Measurement Studio for Visual Basic. Chapter Summary.
Overview. A Simple Startup Example. Call a C/C++ Program from Java. Use Callback to Make Interactive Calling Between C/C++ and Java. Embed Java Virtual Machine into a Native Program Domain. Interface Between Java and Matlab.
Overview. Installation of Perl. Interface Design-Embed Perl Interpreter into C/C++.
Applications Interface Programming Using Multiple Languages is a comprehensive, hands-on, and practical guide to interface programming between multiple languages.
Today, as computer technology develops rapidly, a single programming language sometimes is not enough to handle complicated, real-world implementations. Each language has its strong and weak points and it is very difficult to find one language to satisfy all applications requirements. Mixed-language programming, or interface programming between multiple languages, has emerged to meet the needs of complicated applications and implementations in scientific research, industrial controls, and manufacturing, as well as in commercial applications. Using interface programming, professional Graphic User Interfaces, flexible databases, multitask environments, and real-time controllability can be integrated to form an optimal computer system that can complete challenging applications tasks.
Via practical programming examples and hands-on technologies, the author illustrates the principles and methods of calling a process or function written in one language from within another programming environment. Step-by-step and line-by-line, the interfacing methods and techniques among different languages are clearly explained, and more importantly, the detailed source codes are provided for all examples. Most of the examples in this book have been compiled and debugged and have been successfully applied in real-world projects.
Seven popular programming language interfaces are discussed in the book. They are:
The audience for this book includes, but is not limited to, software engineers, programmers, scientific researchers, design engineers, system engineers, and college students. This book is highly recommended for any person who needs to make a program with optimal performance by using more than one language.
All program files, including the source code files, header files, library files, definition files, and execution files, are stored on the accompanying CD-ROM. Refer to the structure map to get a global picture of the content of this book.
Download the Index
file related to this title.
