C++ for VB Programmers

Front Cover
Apress, Sep 20, 2000 - Computers - 408 pages

Knowing how and when to work in C++ is the key to building better, more efficient Windows applications. This book teaches you how to use C++ to enhance your Visual Basic application—swithout rewriting them from the ground up. In this book, you will learn to write DLLs that use the performance and capabilities of C++, which provide access to APIs not easily supported by VB. Using C++ and the ATL (Active Template Library), you can even write ActiveX components that dont require a huge runtime library.

Writing from the perspective of an advanced VB programmer—and using his own learning process as the framework—author Jonathan Morrison teaches you how to harness the development power of C++. Beginning with an overview of the ways in which C++ complements VB, he moves on to cover the VC++ development environment that most VB programmers will turn to first (Visual Studio), exploring a wealth of topics including the differences between VB and C++ compilers, the C preprocessor, and the process of memory management in C++.

In the second half of the book, Morrison discusses the basics of the C++ language, including data and variables, operators, loops, and control statements. He then covers pointers, classes, and templates. The book also contains comprehensive coverage of VB and C++ DLLs, how to use C++ DLLs with VB programs, the ATL, and COM objects.

What you’ll learnWho this book is for

No prior knowledge of C or C++ is assumed, but readers should have a working knowldege of VB.

From inside the book

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Why C++? And Why with Visual Basic
1
Where Do Vie Start?
5
How Do You Do That Voodoo That You Do?
17
Copyright

14 other sections not shown

Other editions - View all

Common terms and phrases

About the author (2000)

Jonathan Morrison has written several books on C++ and Visual Basic programming, and has over seven years of experience developing applications in Visual Basic, C++, and Java. He has consulted for Racal Datacom, The Maxim Group, and Cyberguard, and has held lead development positions at AIG, Autonation USA, and Digitalbond Inc. He currently works for Microsoft's Solution Integration Engineering Team, where he helps Microsoft's enterprise customers design, develop, and debug their large-scale applications.

Bibliographic information