Build Windows 8 Apps with Microsoft Visual C++ Step by Step

Total Page:16

File Type:pdf, Size:1020Kb

Build Windows 8 Apps with Microsoft Visual C++ Step by Step Build Windows 8 Apps with Microsoft Visual C++ Step by Step Luca Regnicoli Paolo Pialorsi Roberto Brunetti Copyright © 2013 by Luca Regnicoli, Paolo Pialorsi, Roberto Brunetti. All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. ISBN: 978-0-7356-6723-5 1 2 3 4 5 6 7 8 9 LSI 8 7 6 5 4 3 Printed and bound in the United States of America. Microsoft Press books are available through booksellers and distributors worldwide. If you need support related to this book, email Microsoft Press Book Support at [email protected]. Please tell us what you think of this book at http://www.microsoft.com/learning/booksurvey. Microsoft and the trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty/ Trademarks/EN-US.aspx are trademarks of the Microsoft group of companies. All other marks are property of their respective owners. The example companies, organizations, products, domain names, email addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred. This book expresses the author’s views and opinions. The information contained in this book is provided without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book. Acquisitions and Developmental Editor: Russell Jones Production Editor: Christopher Hearse Editorial Production: Zyg Group, LLC Technical Reviewer: John Mueller Copyeditor: Zyg Group, LLC Indexer: Zyg Group, LLC Cover Design: Twist Creative • Seattle Cover Composition: Zyg Group, LLC Illustrator: Rebecca Demarest This book is dedicated to Barbara. —ROBERTO BRUNETTI This book is dedicated to my parents. Thanks! —PAOLO PIALORSI This book is dedicated to my mother, Vanna, the strongest woman I have ever known. —LUCA REGNICOLI Contents at a Glance Introduction xi CHapTER 1 Introduction to Windows Store apps 1 CHapTER 2 Windows 8 user interface style 29 CHapTER 3 My first Windows 8 app 65 CHapTER 4 Application life-cycle management 103 Chapter 5 Introduction to the Windows Runtime 139 Chapter 6 Windows runtime APIs 161 CHapTER 7 Enhance the user experience 193 CHapTER 8 asynchronous patterns 235 CHapTER 9 rethinking the UI for Windows 8 apps 265 CHapTER 10 Architecting a Windows 8 app 307 Index 343 Contents Introduction .....................................................xi Chapter 1 Introduction to Windows Store apps 1 The Windows 8 experience .........................................1 Charms bar and app bars ..........................................8 Windows Runtime ................................................13 Badges, live tiles, toasts, and lock screen ............................15 Background tasks ................................................19 Contracts and extensions .........................................22 Visual Studio 2012 and Windows 8 Simulator ........................24 Summary. .27 Quick reference ..................................................28 Chapter 2 Windows 8 user interface style 29 Influences .......................................................29 Bauhaus style in the Windows 8 UI .................................36 Enhance the functionality and the content, not the container ....36 Industrialize the software and user interface, and create projects, not products .......................................37 Use clear typography .......................................37 Take advantage of the grid system. .37 Prefer photos over drawings .................................38 Select few and contrasting colors .............................38 Strive for international language and employ essential iconography ...............................................39 Characteristics of a Windows 8 app .................................39 Silhouette .................................................39 Full screen .................................................46 Edges .....................................................48 Comfort and touch .........................................50 vii Semantic Zoom .............................................55 Animations ................................................58 Different form factors .......................................58 Snapped and fill views .......................................60 Summary. .63 Quick reference ..................................................63 Chapter 3 My first Windows 8 app 65 Software installation ..............................................65 Windows Store project templates ..................................66 UI elements .....................................................75 Search functionality ..............................................87 Summary. .101 Quick reference .................................................102 Chapter 4 Application life-cycle management 103 Application manifest ............................................104 Application package .............................................107 Windows Store ..................................................110 Launching. .114 Activating ......................................................122 Suspending .....................................................125 Resuming ......................................................130 Summary. .137 Quick reference .................................................137 Chapter 5 Introduction to the Windows Runtime 139 What is WinRT? .................................................139 WinRT under the hood. .144 WinRT design requirements ......................................148 Creating a WinMD library ........................................149 viii Contents WinRT app registration ..........................................157 Summary ......................................................159 Quick reference .................................................160 Chapter 6 Windows Runtime APIs 161 Using pickers ...................................................161 Webcam .......................................................169 Sharing contracts ...............................................176 Summary. .191 Quick reference .................................................191 Chapter 7 Enhance the user experience 193 Draw an application using Visual Studio 2012 .......................193 Create the layout of a Windows 8 application .......................197 Customize the appearance of controls .............................220 Summary. .234 Quick reference .................................................234 Chapter 8 Asynchronous patterns 235 Asynchronous calls with the Parallel Patterns Library in C++ ..........235 Writing asynchronous methods ...................................241 Waiting for an event in an asynchronous way .......................248 Cancelling asynchronous operations ...............................251 Tracking operation progress ......................................253 Synchronization with multiple asynchronous calls. 260 Synchronizing execution context. .262 Summary. .264 Quick reference .................................................264 Contents ix Chapter 9 Rethinking the UI for Windows 8 apps 265 Using Windows 8 UI-specific controls ..............................265 Designing flexible layouts ........................................286 Using tiles and toasts ............................................294 Summary. .305 Quick reference .................................................305 Chapter 10 Architecting a Windows 8 app 307 Applications architecture in general ...............................308 Architectures for Windows 8 apps .................................310 Implementing the data layer. .311 Implementing the communication layer using a SOAP service ........314 Implementing the communication layer using an OData service ......318 Consuming data from a Windows 8 app ...........................323 Implementing an app storage/cache ..............................330 SOAP security infrastructure ......................................333 OData security infrastructure .....................................338 Summary. .342 Quick reference ................................................342 Index 343 x Contents Introduction indows 8 is Microsoft’s newest operating system, intended to let developers Wfluent in various programming languages—such as C++, C#, or JavaScript— leverage its powerful infrastructure to build applications using a brand-new library called the Windows Runtime API. This book provides an organized walk-through of the features, APIs, and user experi- ence in Windows 8. The content is introductory—it discusses each component from a theoretical viewpoint interspersed with basic but effective code samples, which you can follow to get a jump-start in developing for the Windows 8 platform. The book provides coverage of almost all the main Windows 8 aspects and fea- tures, and it offers essential guidance in learning them using the classic Step by Step approach. In addition to its coverage of core Windows 8 features using C++, the book dis- cusses some related aspects, such as Windows Communication Foundation (WCF) Data Services, Open Data Protocol (OData), ADO.NET Entity Framework, and applications architecture. Beyond the explanatory content, each chapter includes a rich set of step- by-step examples,
Recommended publications
  • Use of Microsoft Visual Studio Express Edition and Directx to Simulate Movements of a Colony of Penguins That Must Be Tagged for a Science Mission Education
    Use of Microsoft Visual Studio Express Edition and DirectX to Simulate Movements of a Colony of Penguins that must be tagged for a Science Mission Education Sandy Harrison (WSSU), Tushar Majithia (Mentor), Spencer Weeks- Jamieson, Jasmin Rivers (ECSU), Terrance Mason (MVSU), Dr. Arvin Agah (Mentor) (KU) igloos to the snow, the game itself displays a Abstract- type of climate that some penguins live in. In developing this game, the team is specifying, Students begin to take a general interest designing, implementing, and testing the in becoming scientists or engineers at early stages software. Some of the programs that the team in their life, such as the middle school level. It is utilized were C++, VC++ Express 2005 Edition imperative that they are targeted at this point in compiler, and Microsoft Platform SDK their lives to be encouraged to pursue their (Software Development Kit). This project education in science, technology, engineering, and mathematics (STEM) fields. The dilemma is how consisted of upgrading a previously developed to get young scholars interested in STEM areas? game. While using C++ in the aspect of Our proposed tool is an educational and programming, we modified the previous entertaining video game, as a vast number of young program's features with realistic graphics. This students tend to play video games everyday. Our modification would enrich it with a realistic goal is to combine education and fun into a game in perspective that would better serve our primary order to teach the players about polar research. objective. To validate if middle school students The objective of this URE Summer project is to would enjoy this game, we used the 2007 enhance an existing video game to educate young CReSIS Middle School Program students as students on the Polar Regions including challenges that scientists face.
    [Show full text]
  • PDF Xpansion SDK Reference
    PDF Xpansion SDK 12 Reference soft Xpansion GmbH & Co. KG ● Königsallee 45, 44789 Bochum [email protected] ● www.soft-xpansion.com TABLE OF CONTENTS INTRODUCTION ................................................................................................................................................................ 5 System Requirements ................................................................................................................................................... 6 Installation of SDK ........................................................................................................................................................ 6 Contents of SDK package ........................................................................................................................................ 6 Reference SDK libraries in Your Projects .................................................................................................................... 7 Replace Trial License ................................................................................................................................................ 8 Update of SDK Files ................................................................................................................................................. 8 SDK Samples................................................................................................................................................................ 9 Redistribution of PDF Xpansion ....................................................................................................................................
    [Show full text]
  • MAXPRO Microsoft Windows Patches.Book
    MAXPRO® VMS and NVR Approved Microsoft® Windows Patches Technical Notes MICROSOFT® WINDOWS PATCHES TESTED WITH MAXPRO®NVR AND MAXPRO®VMS Overview The purpose of this document is to identify the patches that have been delivered by Microsoft® Windows and which have been tested against the current shipping ver- sions of MAXPRO®NVR and MAXPRO®VMS with no adverse effects being observed. If you have questions concerning the information in this document, please contact Honeywell Technical Support. See the back cover for contact information. Windows Patches Tested with MAXPRO®NVR till the Month of: June, 2020 Windows Patches Tested with MAXPRO®VMS till the Month of: June, 2020 This document contains: Section See... • June - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on page 5 Windows 10 (Enterprise) • June - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ Client on Windows 2016 Standard and Windows 10 (Enterprise) page 5 • May - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on page 5 Windows 10 (Enterprise) • May - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ Client on Windows 2016 Standard and Windows 10 (Enterprise) page 5 • April - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ page 7 Client on Windows 2016 Standard and Windows 10 (Enterprise) • April - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on Windows 10 (Enterprise) page 7 • March - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ page 8 Client on Windows 2016 Standard and Windows 10 (Enterprise) • March - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on Windows 10 (Enterprise) page 8 • February - 2020- Microsoft® Windows Patches Tested with MAXPRO®VMS Server/ page 8 Client on Windows 2016 Standard and Windows 10 (Enterprise) • February - 2020- Microsoft® Windows Patches Tested with MAXPRO®NVR on Windows 10 (Enterprise) page 8 800-19154V9-K_Microsoft Windows Patches 1 Section See..
    [Show full text]
  • (RUNTIME) a Salud Total
    Windows 7 Developer Guide Published October 2008 For more information, press only: Rapid Response Team Waggener Edstrom Worldwide (503) 443-7070 [email protected] Downloaded from www.WillyDev.NET The information contained in this document represents the current view of Microsoft Corp. on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This guide is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form, by any means (electronic, mechanical, photocopying, recording or otherwise), or for any purpose, without the express written permission of Microsoft. Microsoft may have patents, patent applications, trademarks, copyrights or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred.
    [Show full text]
  • Designing Microsoft ASP.NET Applications by Douglas J
    Designing Microsoft ASP.NET Applications by Douglas J. Reilly ISBN: 0735613486 Microsoft Press © 2002 (402 pages) Move beyond simple ASP scripting --and learn how to build sophisticated Web applicatons with ASP.NET. Companion Web Site Table of Contents Designing Microsoft ASP.NET Applications Acknowledgments Introduction Chapter 1 - Introduction to ASP.NET Development Chapter 2 - Managed Code and the Common Language Runtime Chapter 3 - The .NET Framework Objects and Languages Chapter 4 - ASP.NET Development 101 Chapter 5 - Web Forms Chapter 6 - Creating ASP.NET Components Chapter 7 - Balancing Server and Client Functionality Chapter 8 - Time to Get the Data Chapter 9 - Data and ASP.NET Forms Chapter 10 - XML Web Services Appendix A - Configuring ASP.NET Applications in IIS Appendix B - What You Need to Know About HTML to Use This Book Index List of Figures List of Tables List of Listings List of Sidebars Designing Microsoft ASP.NET Applications Douglas J. Reilly PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright © 2002 by Douglas J. Reilly All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. Library of Congress Cataloging-in-Publication Data Reilly, Douglas J. Designing Microsoft ASP.NET Applications / Douglas J. Reilly. p. cm. Includes index. ISBN 0-7356-1348-6 1. Internet programming. 2. Active server pages. 3. Web servers. I. Title. QA76.625 .R45 2001 005.2’76—dc21 2001051310 Printed and bound in the United States of America.
    [Show full text]
  • Directx 11 Extended to the Implementation of Compute Shader
    DirectX 1 DirectX About the Tutorial Microsoft DirectX is considered as a collection of application programming interfaces (APIs) for managing tasks related to multimedia, especially with respect to game programming and video which are designed on Microsoft platforms. Direct3D which is a renowned product of DirectX is also used by other software applications for visualization and graphics tasks such as CAD/CAM engineering. Audience This tutorial has been prepared for developers and programmers in multimedia industry who are interested to pursue their career in DirectX. Prerequisites Before proceeding with this tutorial, it is expected that reader should have knowledge of multimedia, graphics and game programming basics. This includes mathematical foundations as well. Copyright & Disclaimer Copyright 2019 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at [email protected]
    [Show full text]
  • Generation Test Team System Code Cleanup Data Access
    GENERATION TEST COLUMNS Automated Unit Tests for Legacyg Code with Pex Toolbox Nikhil SachdevaSachdeva pagepage 36 Database and OR/M Tools, Oren Eini and Custom Visual Studio Tabs Scott Mitchell page 9 CLR Inside Out Rapid-but-Untested Coding CODE CLEANUP In-Process Side-by-Side Jesse Kaplan & Luiz Fernando Santos UsingUsin Agile Techniques page 12 Simple, Test-Driven Designs toto PayP Back Technical Debt Cutting Edge DavidDavid LaribeeL page 46 Live Data Binding in ASP.NET 98765432 10 AJAX 4.0 Dino Esposito page 18 Test Run DATA ACCESS Pairwise Testing with QICT Building a Desktop To-Do Application with NHibernate James McCaffrey page 28 OrenOren EiniEini page 54 Extreme ASP.NET Looking Ahead to ASP.NET 4.0 Scott Allen page 74 Windows with C++ TEAM SYSTEM Layered Windows with Direct2D BuildingBu a Visual Studio Team Kenny Kerr page 79 Going Places ExplorerExp Extension Enhancing Windows Touch BrianBrian A. Randell & Marcel de Vries page 64 Applications for Mobile Users Gus Class page 87 Concurrent Affairs Data-Parallel Patterns and PLINQ Igor Ostrovsky page 92 THIS MONTH on msdn.microsoft.com/magazine: SHAREPOINT 2010 AND BCS: USING BUSINESS CONNECTIVITY SERVICES IN SHAREPOINT 2010 Kirk Evans USABILITY IN PRACTICE: MORE THAN SKIN DEEP Charles B. Kreitzberg & Ambrose Little DECEMBER 2009 VOL 24 NO 12 1209msdn_0C1.v3.indd 1 11/12/09 9:37 AM Project6 11/5/09 2:47 PM Page 1 Project6 11/5/09 2:48 PM Page 2 When an electrochemical reaction animated the dormant cells in a very powerful egg, Gort was hatched. With special powers and abilities to infuse ordinary applications with UIs that have extreme functionality, complete usability and the “wow-factor!”, Gort empowers Killer Apps.
    [Show full text]
  • C++Builder XE5 Feature Matrix | Multi-Device, True Native App
    C++Builder® XE5 Multi-device, true native app development with C++ Feature Matrix Feature Architect Ultimate Enterprise Professional Starter INTEGRATED COMPILERS AND TOOLCHAINS Introduced in XE3! C++ 64-bit compiler for Windows X X X X Enhanced in XE3! C++ OS X compiler X X X X Enhanced in XE5! Embarcadero C++ Compiler 6.70 (bcc64) X X X X Enhanced in XE5! Embarcadero C++ Compiler 6.70 (bcc32) X X X X Enhanced in XE3! C++ command line toolchains for Windows X X X X X Enhanced in XE3! C++ command line toolchains for OS X (bccosx) X X X X Create 32-bit optimized native executables that can run on both 32 X X X X X and 64-bit Windows operating systems Enhanced in XE3! ANSI/ISO C++11 and 99 Standard language X X X X conformance and Boost support for 64-bit #pragma once support that allows for better compatibility with MSVC X X X X X and also acts as a header guard [[deprecated]] attribute to flag constructs as deprecated X X X X X Build C++ packages for 32-bit applications X X X X X Secure C library functions X X X X X Enhanced compiler switches for XML representation of source code X X X X X Custom evaluators for C++ Strings types X X X X X Linker error handling to improve memory management flexibility and X X X X X resolution APPLICATION PLATFORMS, INTEGRATED FRAMEWORKS, DESIGNERS AND SDKS Enhanced in XE3! FM Application Platform for creating 32-bit Windows applications for Windows 8, Windows 7, Windows Vista and X X X X X XP; Server 2008 and 2012.
    [Show full text]
  • Simpmarch-FCFA4B6F-D
    3/29/2019 Document 2126398.1 Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential. Oracle® Patch & Microsoft Security Updates for Simphony Report (Doc ID 2126398.1) In this Document Purpose Details Oracle Database Updates Oracle Java JRE Updates Microsoft SQL Updates Microsoft Updates Microsoft Updates - Patches released before April 2017 APPLIES TO: Oracle Hospitality Simphony First Edition Oracle Hospitality Simphony Information in this document applies to any platform. PURPOSE The Security Report contains a listing of select Oracle & Microsoft patches that are directly related to the Simphony applications and have been tested against the Simphony applications to validate there are no issues or identify any updates that should NOT be installed. The list is not inclusive of ALL Oracle & Microsoft patches. This report is updated monthly for patches released monthly and YTD cumulative DETAILS Oracle Database Updates Date Version & Simphony Results Patch Level Version(s) 3/5/2019 11.2.0.4 18.2 Observed on an environment running Oracle Databases on 12.1.0.2 2.10 After installing the Oracle Database 11.2.0.4 (22694544 ) CPU update for January 2 observed with the Simphony database instance no longer starti 1.7 An error message is generated: “Error 1053: the service did not respond to the start or contro Additionally the Windows Application log shows th Activation context generation failed for "c:\app\administrator\product\ Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e1 not be
    [Show full text]
  • Installation Guide for the XM Scaled Topology a Guide to Installing the Sitecore XM Scaled Topology
    Installation Guide for the XM Scaled Topology A guide to installing the Sitecore XM scaled topology August 31, 2021 Sitecore Experience Platform 9.3.0 Installation Guide for the XM Scaled Topology Table of Contents 1. Choosing a topology .................................................................................................................. 4 1.1. On-premise topology options .............................................................................................. 5 2. Sitecore Installation Framework ................................................................................................. 7 2.1. Set up Sitecore Installation Framework ............................................................................... 7 2.1.1. Install the SIF Module using MyGet ............................................................................... 7 2.1.2. Validate the installation ................................................................................................ 8 2.1.3. Run multiple versions of SIF ......................................................................................... 8 2.1.4. Run a specific version of SIF .......................................................................................... 8 2.2. Install Sitecore Installation Framework manually ................................................................. 9 2.2.1. Unblock a .zip package ................................................................................................. 9 2.2.2. Extract the Sitecore Installation Framework
    [Show full text]
  • Bringing GPU Acceleration to the Web Neil Trevett Khronos President NVIDIA Vice President Mobile Content
    Bringing GPU Acceleration to the Web Neil Trevett Khronos President NVIDIA Vice President Mobile Content © Copyright Khronos Group 2012 | Page 1 GPUs are Good at Many Things … Interactive ray tracing Physics simulation Gaming Battlefield 3, EA But traditionally GPUs have NOT been used for web and 2D graphics… Product design Data visualization … that’s about to change … © Copyright Khronos Group 2012 | Page 2 How Can GPUs enhance the Web? • More functionality - Helping to make HTML5 a complete apps platform - 3D graphics - WebGL - Compute - WebCL • More performance - Accelerating the bulk of web =2D - Accelerating key standards such as SVG and Canvas • Mobile computing changing the need for web acceleration Need MORE performance for TOUCH INTERACTIVITY AT LOWER POWER levels… © Copyright Khronos Group 2012 | Page 3 Mobile – a New Era in Computing 140 Cumulative Shipments 120 iOS & Android MacOS & Windows 100 80 Mobile industry is 60 20 Years faster to 100M/year shipments than PC 40 Units Millions in 20 0 Year 1 Year 2 Year 3 Year 4 Year 5 Year 6 Year 7 Year 8 Year 9 Source: Gartner, Apple, NVIDIA © Copyright Khronos Group 2012 | Page 4 Mobile Thermal Design Point 10” Screen takes 1-2W Resolution makes a difference! 7” Screen The iPad3 screen takes up to 8W 4-5” Screen takes takes 1W 250-500mW 2-4W 4-7W 6-10W 30-90W Typical max system power levels before thermal failure Even as battery technology improves - these thermal limits remain © Copyright Khronos Group 2012 | Page 5 How to Save Power? Write 32-bits to Memory 600pJ • Much more expensive
    [Show full text]
  • Visual Foxpro
    Client / Server Communications Library for Visual FoxPro Programmer's Manual (CSC4FP) Version 7.1 January 24, 2018 This software is provided as-is. There are no warranties, expressed or implied. Copyright (C) 2018 All rights reserved MarshallSoft Computing, Inc. Post Office Box 4543 Huntsville AL 35815 Voice: 1.256.881.4630 Web: www.marshallsoft.com MARSHALLSOFT is a registered trademark of MarshallSoft Computing. 1 TABLE OF CONTENTS 1 Introduction Page 3 1.1 Features Page 4 1.2 Documentation Set Page 6 1.3 Example Program Page 6 1.4 Installation Page 7 1.5 Uninstalling Page 7 1.6 Pricing Page 7 1.7 Updates Page 7 2 CSC Library Overview Page 8 2.1 Dynamic Link Libraries Page 8 2.2 Keycode Page 8 2.3 INCLUDE Files Page 8 2.4 FoxPro Forms Page 9 2.5 Dynamic Strings Page 9 2.6 Null Terminated Strings Page 9 2.7 Win32 STDCALL and DECLSPEC Page 9 2.8 Adding CSC4FP to a VFP Program Page 10 2.9 Example Protocol Page 10 2.10 Error Display Page 10 3 Compiler Issues Page 11 3.1 Compiling Programs Page 11 3.2 Compiling to an Executable Page 11 3.3 Compiling CSC Source Page 11 4 Visual FoxPro Example Programs Page 12 5 Revision History Page 15 2 1 Introduction The Client / Server Communications Library for Visual FoxPro (CSC4FP) is a toolkit that allows software developers to quickly develop server and client TCP/IP and UDP applications in Visual FoxPro. The Client / Server Communications Library (CSC) is a component DLL library used to create server and client programs that can communicate with each other across any TCP/IP or UDP network such as the Internet or a private network (intranet or LAN [local area net]).
    [Show full text]