close menu
Bookswagon-24x7 online bookstore
close menu
My Account
24%
Win32 API Programming with Visual Basic

Win32 API Programming with Visual Basic

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist
X

About the Book

The Win32 API, or Application Programming Interface, is of immense use in extending the power of Visual Basic. The Win32 API is the collection of functions and subroutines that provides programmatic access to the features of the operating system. It allows Visual Basic programmers far greater access to the inner workings of the Windows operating system without having to suffer through the steep learning curve associated with Visual C++ style Windows programming. The book is designed for users with an intermediate-level (or higher) knowledge of Visual Basic version 4 or later and a desire to stretch VB into the realm of Windows system programming. Users do not need any background in Visual C++, nor do they need any previous experience programming the Win32 API. This book teaches users how to do relatively simple tasks, such as adding tab stops to a list box and gathering system information (i.e., which version of Windows is running on a system and the number of buttons on the user's mouse). It also teaches users about several advanced programming techniques such as synchronizing two VB applications so they can work in cooperation with each other and how to extract data from controls that belong to another application. Win32 API Programming with Visual Basic also spends a good deal of time describing the basic operations of the Windows NT and Windows 95/98 operating systems. Microsoft's documentation seldom takes into account what the reader knows or does not know. Hence, a solid grounding in the basics of the Windows operating systems will help VB programmers to better understand Microsoft's documentation. This book helps VB programmers eliminate the trial and error process that is usually associated with calling the Win32 API from Visual Basic and does so in a practical, straightforward fashion that is the hallmark of author Steve Roman's style.

Table of Contents:
Preface I. Declaring API Functions in Visual Basic 1. Introduction What Is the Win32 API? The Obstacles to Win32 API Programming Under Visual Basic Proceed with Circumspection Cautions 2. Preliminaries Character Codes Parameters and Arguments Dynamic Link Libraries Some C++ Syntax Pointers 3. API Declarations The VB Declare Statement The VC-to-VB Translation Game Plan Passing Parameters to an External Function CopyMemory-A VB Hacker's Dream Dealing with API Errors 4. Data Types What Is a Data Type? Fundamental and Derived Data Types Visual Basic Data Types Basic VC++ Data Types Translating Derived Data Types Win32 Typedefs An Example Structures and User-Defined Types Flags Symbolic Constants 5. Signed and Unsigned Data Types Signed and Unsigned Representations Why Two Different Representations? Unsigned Representation Signed Representation Translating Between Signed and Unsigned Representations Converting Between Word Lengths 6. Strings The BSTR C-Style LPSTR and LPWSTR Strings String Terminology Tools for Exploring Strings String Conversion by VB Passing Strings to the Win32 API Strings and Byte Arrays Getting the Address of a Variable of User -Defined Type 7. System Information Functions The Computer's Name Special Windows Paths The Operating System Version System Metrics System Parameters System Colors 8. Exception Handling Thwarting the General Protection Fault Replacing the Default Exception Handler The Replacement Exception Handler A Complete Example II. The Windows Operating System 9. Windows Architecture Processes and Threads Windows Architecture Differences Between Windows 9x and Windows NT 10. Objects and Their Handles Handles Example: File Mapping 11. Processes Process Handles and IDs Module Handles Identifying a Process Process Pseudohandles Enumerating Processes Is This Application Already Running? 12. Threads Thread Handles and Thread IDs Thread Priority Thread Synchronization Waiting Can Be Tricky 13. Windows Memory Architecture Types of Memory The Address Space of a Process Example: Using GetSystemInfo Allocating Virtual Memory Example: Using GlobalMemoryStatus Virtual Memory Management Heaps of Memory Example: Mapping Virtual Memory 14. Portable Executable Files Module Relocation The PE File Format Example: Getting PE File Information III. Windows (USER32.DLL Programming ) 15. Windows: The Basics Terminology Window Styles Owned Windows Z Order Enumerating Windows Size and Position Functions 16. Windows Messages The Message Queues of a Thread The Windows Messaging System Posting and Sending Messages Example: Sending Messages to a Listbox Interprocess Marshalling Copying Data Between Processes The Local Input State 17. Window Classes and the Window Creation Process Window Classes Predefined Window Classes The Window Procedure of a Window Class Creating a Window Window Styles Windows and VB Controls Example: Spying on Windows 18. Windows Subclassing Subclassing a Window or Window Class Example: Subclassing the VB Checkbox Class 19. Windows Hooks Global and Thread-Specific Hooks Setting the Hook Hook Procedures Hook Types Hook Chains Example: A Local Hook Example: A Global Hook 20. DLL Injection and Foreign Process Access Accessing a Foreign Process: The Hooked Thread Graph Allocating Foreign Memory Example: Foreign Control Extraction Example: Fixing the VB6 Help System IV. The Windows GDI (GDI32.DLL Programming ) 21. Bitmaps Rectangles Bitmaps Bitmap Functions Using Bitmaps in Menus 22. Device Contexts I: Overview How Windows Handles Window Painting Device Contexts 23. Device Contexts II: Types of Device Contexts Information Device Contexts Memory Device Contexts Printer Device Contexts Display Device Contexts Coordinate Systems 24. Device Contexts III: Coordinate Systems GDI Coordinate Systems Virtual Space Device Space Page Space Virtual Space to Physical Space Setting Up Logical Coordinates in Physical Space Mapping Modes World Space 25. Fonts Font Families Font Technologies Character Sets Logical and Physical Fonts Enumerating Fonts V. Appendixes A. The Clipboard B. The Windows Shell C. The Registry and Private Profiles


Best Sellers



Product Details
  • ISBN-13: 9781565926318
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 232 mm
  • No of Pages: 509
  • Spine Width: 28 mm
  • Width: 153 mm
  • ISBN-10: 1565926315
  • Publisher Date: 28 Dec 1999
  • Binding: Book
  • Language: English
  • Returnable: N
  • Weight: 870 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Win32 API Programming with Visual Basic
O'Reilly Media -
Win32 API Programming with Visual Basic
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Win32 API Programming with Visual Basic

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals



    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA