自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

程序点滴

携子之手,共建美好明天

  • 博客(7)
  • 资源 (4)
  • 收藏
  • 关注

原创 ACE有界栈用法

ACE_Bound_Stack与标准库中stack用法比较#include void stack_test(){ //打印当前函数名称 ACE_DEBUG((LM_DEBUG,ACE_TEXT("%s/n"),__FUNCTION__)); //使用ACE有界栈 ACE_Bounded_Stack bs_int_stack(10); for (int i = 0;

2009-02-25 23:59:00 592

原创 ACE双向链表用法

演示了ACE双向链表与STD链表的用法// EchoServer.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "ace/Containers.h"#include "ace/Log_Msg.h"#include using namespace std;int ACE_TMAIN(int argc, ACE_TC

2009-02-25 23:37:00 725

原创 ACE守护的用法

使用Guard同步两个线程对全局变量的访问控制,其中一个线程在递增其值时,另一个线程则在等待这个线程。守护在inc_g结束后将会释放,故在每一次调用后,另一个线程将获得Guard。// GuardTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "ace/Log_Msg.h"#include "ace/Thread_M

2009-02-16 00:07:00 1343

原创 使用ACE互斥,同步线程共享的数据资源

1.多个线程如何创建;2.如何创建互斥(ACE_Thread_Mutex;3.创建公共数据资源;4.互斥体的获取与释放;/**同步与不同步的结果, *UpdateData不进行同步 *UpdataMutexData使用互斥进行同步 */class SyncData{public: SyncData():i_(0){} //不使用同步 void Upd

2009-02-14 23:25:00 698

原创 使用ACE创建线程

使用ACE_Task_Base创建多线程,演示功能如下:1.如何创建子任务(子线程);2.如何在子任务中使用参数;3.如何激活子任务;4.如何等待子任务; #include "ace/Task.h"#include "ace/Log_Msg.h"#define NUM_THREADS 100/** *创建一个基于ACE_Task_Base的子类 */

2009-02-14 22:50:00 1959

原创 使用ACE创建进程

#include "stdafx.h"#include "ace/Log_Msg.h"#include "ace/OS_NS_unistd.h"#include "ace/Process_Manager.h"#define NUM_PROCESSES 4int ACE_TMAIN(int argc, ACE_TCHAR* argv[]){ //获得进程管理器 ACE

2009-02-14 22:28:00 3186

转载 大端(Big Endian)与小端(Little Endian)详解

大端(Big Endian)与小端(Little Endian)详解【大端(Big Endian)与小端(Little Endian)简介】Byte Endian是指字节在内存中的组织,所以也称它为Byte Ordering,或Byte Order。      对于数据中跨越多个字节的对象, 我们必须为它建立这样的约定:(1) 它的地址是多少?(2) 它的字节在内存中是如

2009-02-14 14:47:00 20233 4

Visual.Studio.Tools.for.Office.Using.C.Sharp.with.Excel.Word.Outlook.and.InfoPath.Sep.2005.part2

<br> Copyright <br> Praise for Visual Studio Tools for Office <br> Microsoft .NET Development Series <br> Titles in the Series <br> About the Authors <br> Foreword <br> Preface <br> Acknowledgments <br> Part One. An Introduction to VSTO <br> Chapter 1. An Introduction to Office Programming <br> Why Office Programming? <br> Office Object Models <br> Properties, Methods, and Events <br> The Office Primary Interop Assemblies (PIAs) <br> Conclusion <br> Chapter 2. Introduction to Office Solutions <br> The Three Basic Patterns of Office Solutions <br> Office Automation Executables <br> Office Add-Ins <br> Code Behind a Document <br> Conclusion <br> Part Two. Office Programming in .NET <br> Chapter 3. Programming Excel <br> Ways to Customize Excel <br> Programming User-Defined Functions <br> Introduction to the Excel Object Model <br> Conclusion <br> Chapter 4. Working with Excel Events <br> Events in the Excel Object Model <br> Events in Visual Studio 2005 Tools for Office <br> Conclusion <br> Chapter 5. Working with Excel Objects <br> Working with the Application Object <br> Working with the Workbooks Collection <br> Working with the Workbook Object <br> Working with the Worksheets, Charts, and Sheets Collections <br> Working with Document Properties <br> Working with the Windows Collections <br> Working with the Window Object <br> Working with the Names Collection and Name Object <br> Working with the Worksheet Object <br> Working with the Range Object <br> Special Excel Issues <br> Conclusion <br> Chapter 6. Programming Word <br> Ways to Customize Word <br> Programming Research Services <br> Introduction to the Word Object Model <br> Conclusion <br> Chapter 7. Working with Word Events <br> Events in the Word Object Model <br> Events in Visual Studio Tools for Office <br> Conclusion <br> Chapter 8. Working with Word Objects <br> Working with the Application Object <br> Working with the Dialog Object <br> Working with Windows <br> Working with Templates <br> Working with Documents <br> Working with a Document <br> Working with the Range Object <br> Working with Bookmarks <br> Working with Tables <br> Conclusion <br> Chapter 9. Programming Outlook <br> Ways to Customize Outlook <br> Introduction to the Outlook Object Model <br> Introduction to the Collaboration Data Objects <br> Conclusion <br> Chapter 10. Working with Outlook Events <br> Events in the Outlook Object Model <br> Application-Level Events <br> Outlook Item Events <br> Other Events <br> Conclusion <br> Chapter 11. Working with Outlook Objects <br> Working with the Application Object <br> Working with the Explorers and Inspectors Collections <br> Working with the Explorer Object <br> Working with the Inspector Object <br> Working with the NameSpace Object <br> Working with the MAPIFolder Object <br> Working with the Items Collection <br> Properties and Methods Common to Outlook Items <br> Outlook Issues <br> Conclusion <br> Chapter 12. Introduction to InfoPath <br> What Is InfoPath? <br> Getting Started <br> Form Security <br> Programming InfoPath <br> Data Source Events <br> Form Events, Properties, and Methods <br> Conclusion <br> Part Three. Office Programming in VSTO <br> Chapter 13. The VSTO Programming Model <br> The VSTO Programming Model <br> VSTO Extensions to Word and Excel Objects <br> Dynamic Controls <br> Advanced Topic: Dynamic Host Items <br> Advanced Topic: Inspecting the Generated Code <br> VSTO Extensions to the Word and Excel Object Models <br> Conclusion <br> Chapter 14. Using Windows Forms in VSTO <br> Introduction <br> Adding Windows Forms Controls to Your Document <br> Writing Code Behind a Control <br> The Windows Forms Control Hosting Architecture <br> Properties Merged from OLEObject or OLEControl <br> Adding Controls at Runtime <br> Conclusion <br> Chapter 15. Working with Actions Pane <br> Introduction to the Actions Pane <br> Working with the ActionsPane Control <br> Conclusion <br> Chapter 16. Working with Smart Tags in VSTO <br> Introduction to Smart Tags <br> Creating Document-Level Smart Tags with VSTO <br> Creating Application-Level Smart Tags <br> Conclusion <br> Chapter 17. VSTO Data Programming <br> Creating a Data-Bound Customized Spreadsheet with VSTO <br> Creating a Data-Bound Customized Word Document with VSTO <br> Datasets, Adapters, and Sources <br> Another Technique for Creating Data-Bound Spreadsheets <br> Caching Data in the Data Island <br> Advanced ADO.NET Data Binding: Looking Behind the Scenes <br> Binding-Related Extensions to Host Items and Host Controls <br> Conclusion <br> Chapter 18. Server Data Scenarios <br> Populating a Document with Data on the Server <br> Using ServerDocument and ASP.NET <br> A Handy Client-Side ServerDocument Utility <br> The ServerDocument Object Model <br> Conclusion <br> Chapter 19. .NET Code Security <br> Code Access Security Versus Role-Based Security <br> Code Access Security in .NET <br> Location, Location, Location <br> Strong Names <br> Publisher Certificates <br> Trusting the Document <br> Deploying Policy to User Machines <br> Conclusion <br> Chapter 20. Deployment <br> VSTO Prerequisites <br> Deploying to an Intranet Shared Directory or Web Site <br> Local Machine Deployment Without a Deployment Manifest <br> Editing Manifests <br> Creating Setup Packages <br> Advanced Topic: Deploying Network Solutions to Be Cached Locally <br> Conclusion <br> Part Four. Advanced Office Programming <br> Chapter 21. Working with XML in Excel <br> Introduction to Excel's XML Features <br> Introduction to XML Schema Creation in Visual Studio <br> An End-to-End Scenario <br> Advanced XML Features in Excel <br> Excel-Friendly XML Schemas <br> VSTO Support for Excel Schema Mapping <br> Conclusion <br> Chapter 22. Working with XML in Word <br> Introduction to Word's XML Features <br> An End-to-End Scenario: Creating a Schema and Mapping It into a Word Document <br> Exporting the Mapped XML in the Document to an XML Data File <br> Importing an XML Data File into the Mapped Document <br> The XML Options Dialog <br> VSTO Support for Word Schema Mapping <br> VSTO Support for the WordML File Format <br> Conclusion <br> Chapter 23. Developing COM Add-Ins for Word and Excel <br> Introduction to Add-Ins <br> Scenarios for Using Add-Ins <br> How a COM Add-In Is Registered <br> Implementing IDTExtensibility2 <br> Writing a COM Add-In Using Visual Studio <br> The Pitfalls of MsCoree.dll <br> COM Interop and Regasm.exe <br> Shimming: A Solution to the Problems with MsCoree.dll <br> Conclusion <br> Chapter 24. Creating Outlook Add-Ins with VSTO <br> Moving Away from COM Add-Ins <br> Creating an Outlook Add-In in VSTO <br> Conclusion <br>

2008-04-14

Visual.Studio.Tools.for.Office.Using.C.Sharp.with.Excel.Word.Outlook.and.InfoPath.Sep.2005

Copyright Praise for Visual Studio Tools for Office Microsoft .NET Development Series Titles in the Series About the Authors Foreword Preface Acknowledgments Part One. An Introduction to VSTO Chapter 1. An Introduction to Office Programming Why Office Programming? Office Object Models Properties, Methods, and Events The Office Primary Interop Assemblies (PIAs) Conclusion Chapter 2. Introduction to Office Solutions The Three Basic Patterns of Office Solutions Office Automation Executables Office Add-Ins Code Behind a Document Conclusion Part Two. Office Programming in .NET Chapter 3. Programming Excel Ways to Customize Excel Programming User-Defined Functions Introduction to the Excel Object Model Conclusion Chapter 4. Working with Excel Events Events in the Excel Object Model Events in Visual Studio 2005 Tools for Office Conclusion Chapter 5. Working with Excel Objects Working with the Application Object Working with the Workbooks Collection Working with the Workbook Object Working with the Worksheets, Charts, and Sheets Collections Working with Document Properties Working with the Windows Collections Working with the Window Object Working with the Names Collection and Name Object Working with the Worksheet Object Working with the Range Object Special Excel Issues Conclusion Chapter 6. Programming Word Ways to Customize Word Programming Research Services Introduction to the Word Object Model

2008-04-14

Programming.Mobile.Devices.An.Introduction.for.Practitioners

Contents ix <br>7.5 Symbian OS and Bluetooth Facilities 189 <br>7.5.1 Bluetooth Introduction 189 <br>7.5.2 Bluetooth in Symbian 191 <br>7.6 Summary 194 <br>7.7 Exercises 194 <br>8 Security 197 <br>8.1 Overview 197 <br>8.2 Secure Coding and Design 198 <br>8.2.1 Mindset for Secure Design 198 <br>8.2.2 Sample Security-Related Design Patterns 199 <br>8.3 Infrastructure for Enabling Secured Execution 201 <br>8.3.1 Goals for Security Features 201 <br>8.3.2 Supporting Hardware and Software Facilities 203 <br>8.4 Security Features in MIDP Java 205 <br>8.4.1 Low-Level Security 205 <br>8.4.2 Application-Level Security 206 <br>8.4.3 End-to-End Security 208 <br>8.4.4 Problems 208 <br>8.5 Symbian OS Security Features 208 <br>8.5.1 Low-Level Security 209 <br>8.5.2 Application-Level Security 209 <br>8.5.3 End-to-End Security 211 <br>8.5.4 Problems with Symbian OS Security Features 212 <br>8.6 Summary 212 <br>8.7 Exercises 213 <br>References 215 <br>Index 219 <br>

2008-04-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除