Programming with Managed Extensions for Microsoft Visual C++ .NET--Version 2003
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Programming with Managed Extensions for Microsoft Visual C++ .NET--Version 2003
Programming with Managed Extensions for Microsoft Visual C++ .NET--Version 2003

Programming with Managed Extensions for Microsoft Visual C++ .NET--Version 2003


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

The compiler and linker extensions in Microsoft Visual C++ .NET provide specific capabilities that programmers can’t get using Microsoft Visual C#. Programmers learn how to make the most of these extensions with this enlightening guide—updated for Visual C++ .NET 2003 and written by an authority on the subject. The book reveals the special programming rules for Managed Extensions and shows how to use them to write .NET libraries and applications. It also discusses the many features that are new to Visual C++ .NET 2003. This guide is ideal for developers who use Visual C#, but want to make the most of the unique facilities in Visual C++ .NET.

Table of Contents:
Acknowledgments xiii Introduction xv 1 Managed Types 1 New Keywords in Visual C++ .NET 1 MSIL and Native Code 4 C++ Primitive Types 7 Managed Types and Value Types 9 Managed Objects 11 Value Types 18 Managed Pointers 24 Managed References 29 Passing by Reference and by Value 30 Properties 31 Delegates and Events 38 Attributes 43 Managed Interfaces 50 Managed Strings 57 Managed Arrays 61 Exceptions and Managed Code 70 Implementing .NET Types 76 Namespaces 77 Inheritance 79 Exporting and Importing Types 82 Casts and Conversions 88 Managed Operators 92 Creating and Destroying Objects 95 Entry Points 98 2 Interop 101 It Just Works! 103 Native C++ Classes 103 CRT and Static-Link Libraries 117 C++ Standard Library 119 Managed Pointers in Unmanaged Types 119 Global Methods 123 Platform Invoke 126 DllImport 127 Platform Invoke Under the Covers 131 Platform Invoke and Parameters 132 Calling Win32 APIs Using IJW 140 Marshaling 145 Exceptions 149 COM Interop 151 .NET and COM Objects 152 Tools 157 .NET COM Attributes 162 Activating COM Objects 165 Method Parameters 166 Using COM Types in .NET 167 Using .NET Types from COM 169 Exceptions 171 Marshaling .NET Objects 171 Threading 172 3 Delegates and Events 175 Delegates as Type-Safe Function Pointers 175 Function Pointers with Unmanaged Code 176 Function Pointers and Global Functions 179 Delegates 180 Delegate Parameters 183 Multicast Delegates 184 Delegates as Smart Function Pointers 187 Exceptions and Delegates 188 Delegates and Interop 190 Marshaling Delegates 193 Asynchronous Programming 195 Parameters and Asynchronous Delegates 195 Calling Delegates Asynchronously 197 Asynchronous Calls and Exceptions 204 Asynchronous Calls and the .NET Framework Class Library 205 Managed Events 207 The .NET Framework and Events 211 Unified Event Model 212 COM Events 216 Writing Multithreaded Code 224 Managed Threads 224 Thread States 230 Foreground and Background Threads 231 Thread Local Data 232 Threads and Exceptions 235 Synchronization Objects 237 Thread Pool 241 Synchronized Contexts 243 4 User Interface Development 247 Developing Windows Forms with C++ 247 Components and Containers 248 Building GUI Applications 263 Visual Studio Designers 265 Toolbox 267 Server Explorer 268 Component Designer 269 Windows Forms Designer 274 Referencing Assemblies 277 Components and Events 278 Using GDI+ 279 Graphics Class 281 Coordinate Structures 284 Coordinate Transforms 285 Clipping Regions 288 Colors 290 Pens 290 Brushes 292 Bitmaps 293 Cursors 295 Icons 297 Text and Fonts 297 Graphics Paths 299 Regions 299 Controls and Forms 300 Where s the WndProc? 301 Standard Windows Controls 306 Exceptions 307 Events, Properties, and Status 308 Controls and ActiveX Interfaces 310 Control Handles 313 Drag and Drop 315 Superclassing 317 Standard Forms 318 Event Handling Strategies 319 Using Windows Header Files 321 Using Managed Resources 322 Assemblies and Win32 Resources 323 Managed Resources 324 Compiled Managed Resources 325 Localization 330 Localization with Visual Studio .NET 333 5 Systems Programming 335 Assemblies 335 Portable Executable Files 336 Metadata Directory 339 Reading Metadata 341 Assembly Format 346 Assembly Configuration 351 Versioning and Fusion 372 Security 379 Assembly Validity and Verification Checks 380 Code Access Security 381 Role-Based Security 384 Verifiable Code 386 Unmanaged .NET Services API 388 Enumerating Managed Processes 388 Getting Information About the Garbage Collector 390 Validation and Verification 391 Managed Thread Pool 393 Strong Names and Crypto Keys 394 Hosting the .NET Runtime 396 6 Building Code with Visual C++ .NET 401 Visual Studio .NET IDE 401 Commands 402 Projects, Solutions, and Configurations 405 Visual Studio .NET Options 423 Editing Code 424 Visual Studio .NET Command Line 432 The DTE Object 435 The Visual C++ 7 Libraries 437 Project Types 438 Console Application 440 Windows Forms Application 442 Windows Control Library 444 Managed Class Libraries 444 Windows Service 445 ASP.NET Web Service 450 Web Service Clients 454 Managed Object Files and Modules 456 Compiling Code 457 Compiler Switches 457 Linker Switches 461 Optimization 463 Build Steps 464 Examples of Common Solutions 465 Multiassembly Solutions 465 Multimodule Solutions 467 Projects That Use Resources 467 Solutions That Have Satellite Assemblies 469 7 Debugging 471 Writing Code for Debugging 472 Debuggable Code 472 .NET Conditional Code 475 Tracing Code 476 Assertions 491 Symbol Files and Managed Code 501 Making Code Easier to Debug 506 Using the Visual Studio .NET Debugger 507 Locating Assemblies 508 Starting the Debugger 508 Debugging Processes 515 Debugging Mixed Code 528 Debugging Multithreaded Code 529 Debugging Across Application Domains 531 Windows Forms Debugging 532 Remote Debugging 533 Profiling 536 A .NET Framework Libraries 543 Strings 543 Character Characterization 543 String Routines 544 Data Conversion 545 Files and I/O 545 Stream I/O 545 Console I/O 546 Formatted Output 546 File Handling 547 Directory Routines 548 Process and Environment Control 548 Time 549 Containers 549 B Further Resources 551 Tools 551 ILDASM 551 Anakrino 552 Reflector 552 MetaInfo 552 Rotor 552 DUMPBIN 553 PEDump 553 DbgView 553 RegMon 553 Tools Supplied with This Book 554 Profiler 554 HexDump 554 DumpInterfaces 554 DumpDotNet.scr 554 Books 555 INDEX 557

About the Author :
Richard Grimes has built a reputation for writing in-depth books and articles about C++ that leave nothing uncovered. When he researches a technology he is more concerned with learning the "why" than the "how." Once he understands why Microsoft has implemented a technology, the techniques of how to use it become clear. Richard's attention to detail and his presentation of information researched from first principles distinguishes his books from the competition. In the last two years, Richard has concentrated on the Managed Extensions for C++ and has written numerous articles on the subject, as well as a .NET book with a heavy C++ bias. He writes a column on the managed extensions for Visual C++ Developers Journal. Richard is also well known as an authority on managed C++ from his column in VCDJ/.NET Magazine, articles in MSDN Magazine, and as a contributing editor for Windows Developer Magazine. As a Microsoft MVP for .NET and a regular speaker at .NET conferences, Richard keeps a close watch on, and has a detailed knowledge of, the needs and directions of the market.


Best Sellers


Product Details
  • ISBN-13: 9780735617827
  • Publisher: Microsoft Press,U.S.
  • Publisher Imprint: Microsoft Press,U.S.
  • Height: 229 mm
  • No of Pages: 608
  • Width: 187 mm
  • ISBN-10: 0735617821
  • Publisher Date: 26 Mar 2003
  • Binding: Paperback
  • Language: English
  • Weight: 1000 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Programming with Managed Extensions for Microsoft Visual C++ .NET--Version 2003
Microsoft Press,U.S. -
Programming with Managed Extensions for Microsoft Visual C++ .NET--Version 2003
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.

Programming with Managed Extensions for Microsoft Visual C++ .NET--Version 2003

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

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!