zip文件

UpdateAPP-Demo.zip 评分:

android app更新(开发环境:AndroidStudio4.0.1 support:androidx),带服务端(开发环境:intellij idea 2020.1.3 apache-tomcat-8.5.20)
2020-08-07 上传 大小:12.00MB
立即下载
未知类型文件
fir.im的Android更新下载模块UpdateFun.zip

UpdateFun更新库 UpdateFun是一个fir.im的Android更新下载模块,在fir.im上上传自己的APP后接入该库即可实现检查更新下载    用法 Step 1 在gradle文件中加入下面的依赖: dependencies {     compile 'cn.hugeterry.updatefun:updatefun:1.6.6' } 如果你使用Maven,那么加入下面的依赖:   cn.hugeterry.updatefun   updatefun   1.6.6   pom Step 2 在Application(或者主界面activity中)的onCreate()中加上以下语句进行初始化: UpdateKey.API_TOKEN = "写上你fir.im账号的API_TOKEN"; UpdateKey.APP_ID = "写上APP的应用ID"; //下载方式: //UpdateKey.DialogOrNotification=UpdateKey.WITH_DIALOG;通过Dialog来进行下载 //UpdateKey.DialogOrNotification=UpdateKey.WITH_NOTIFITION;通过通知栏来进行下载(默认) UpdateFunGO.init(this); Step 3 在主界面Activity中加上以下语句: @Override     protected void onResume() {         super.onResume();         UpdateFunGO.onResume(this);     }   @Override      protected void onStop() {          super.onStop();          UpdateFunGO.onStop(this);      } 大功告成,好好享用吧 Demo http://fir.im/updatefun 标签:UpdateFun

立即下载
rar文件
Visual C++ 编程资源大全(英文源码 系统)

1,01.zip
Class for displaying system error messages
显示系统错误信息的一个类(5KB)
2,02.zip
Simple Thread Class
一个简单的线程类(13KB)
3,03.zip
Single Instance Program
单进程的例子(12KB)
4,interface.zip
A series of articles that resulted from experimenting with adding Drag and Drop
features to my existing application. (100KB)
5,ddmgr.zip
A drag-drop/clipboard manager class for MFC objects derived from CObject (55KB)
6,clipboard_faq_demo.zip
All you ever wanted to know about the Clipboard(23KB)
7,clipspy_src.zip
A tool for viewing clipboard and drag-and-drop data(40KB)
8,DateClass.zip
A class that simplifies common date handling tasks(41KB)
9,CCPUTicker_src.zip
An ultra high precision MFC timing class for Pentium or greater CPUs. (16KB)
10,hightime_src.zip
A high resolution time class that is a replacement for COleDateTime that does not use MFC. (12KB)
11,SRSS.zip
Code to help calculate sunrise and sunset times(20KB)
12,PerfTimer.zip
This class encapsulates QueryPerformanceCounter for high precision timing(3KB)
13,traycalendar.zip
A simple app that places a date in the system tray(62KB)
14,lineprint.zip
A line printer class(37KB)
15,PrintMechanism_src.zip
Learn how to implement print support in your applications.(6KB)
16,singlepage.zip
A Single Page Printing Framework(39KB)
17,printlib.zip
A general purpose printing class library(155KB)
18,printingmadeeasy.zip
Printing with MFC Made Easy(48KB)
19,print_preview.zip
Want to preview your printing without relying on the doc/view framework?(119KB)
20,printBmp.zip
Print Bitmaps Without Doc/View Framework(2KB
21,WinMgr_demo.zip
A Windows screensaver and boot manager(61KB)
22,address.zip
Address Book(201KB)
23,OnscreenKeyboard_src.zip
An onscreen keyboard for pen computing and touchscreens(126KB)
24,DJ_Recx.zip
Very basic implementation of Microphone to record sound using mmsystem(131KB)
25,CFile64_src.zip
A freeware MFC class to encapsulate the Win32 64 bit file system API.(15KB)
26,CPdh_src.zip
A collection of freeware MFC classes to encapsulate the NT Performance Counters.(24KB)
27,CSerialPort_src.zip
A freeware MFC class for Win32 serial ports.(18KB)
28,DtWinVer_src.zip
A comprehensive OS detection utility.(58KB)
29,DynData_src.zip
A collection of freeware MFC classes to encapsulate the Windows 95/98 performance counters.(10KB)
30,EnumPorts_src.zip
A freeware MFC function to enumerate serial ports.(7KB)
31,ShelExec_src.zip
A freeware utility to call the ShellExecute API(27KB)
32,NetworkPlay.zip
A small sample which uses Network Registry Access Functions to access a remote computer(13KB)
33,SysInfox_demo.zip
Some simple functions for system stats(34KB)
34,SysEvent.zip
WindowsNT Event Log Viewer(59KB)
35,SysMangr.zip
This article presents a comprehensive system control manager for NT(131KB)
36,CHKLM_src.zip
A Freeware MFC class to write to HKEY_LOCAL_MACHINE.(11KB)
37,CRegistryKey.zip
The Win32 Registry API is far too complex for simple tasks, and all the error checking gets in the way of the real work...(144KB)
38,registry.zip
Registry Class(5KB)
39,secdesc.zip
A set of classes to encapsulate the Win32 Security APIs(22KB)
40,iconservice.zip
This article demonstrates a service that uses the system tray to interact with the user.(14KB)
41,EnumNtSrv.zip
A Class for enumerating NT services and drivers(16KB)
42,CNTService_src.zip
A class framework for developing NT services in MFC.(41KB)
43,MyTop.zip
An article on listing and killing processes(125KB)
44,MCDump.zip
More description(s) about event log messages.(30KB)
45,XYNTService.zip
Make your MFC, VB, and other Windows programs behave like NT services.(4KB)
46,TrayIcons.zip
Minimize your application to system tray instead of normal taskbar(84KB)
47,doevents.zip
During long operations it's nice to allow your users to interact with the application. This article shows how to do this without using threads.(65KB)
48,InterProcessSync.zip
An application demonstrating process synchronisation and interprocess communication(141KB)
49,waiter.zip
Learn how to create new processes and how to efficiently manage them.(13KB)
50,SharedMemIpc_demo.zip
A client-server model using shared memory for interprocess communication(11KB)
51,ipc_wmcopy.zip
Demonstrates the use of WM_COPYDATA(94KB)
52,StartProcessesInOrder_src.zip
This utility uses very little system resources to launch apps base on a timer.(18KB)
53,threadpool.zip
A class to manage the thread pool(28KB)
54,CThread.zip
A class that allows the simple implementation of worker threads(1323KB)
55,Sync.zip
Synchronizing worker threads using 3 different methods(61KB)
56,PStat_src.zip
A Freeware generalized framework for executing a lengthy operation in a thread.(20KB)
57,TSynchro_src.zip
Implements a set of classes for thread synchronization.(2KB)
58,copypaste_dragdrop.zip
Basic Copy/Paste & Drag/Drop Support(33KB)
59,clipboard.zip
Simple Clipboard Class
简单的剪贴板类(15KB)
60,COleDataSourceEx.exe
Simplifying Clipboard Rendering with the COleDataSourceEx Class.
剪贴板数据处理类(88KB)
61,PasteFNames.zip
Copying File Names from Explorer
从Explorer中拷贝文件名(120KB)
62,keyboard.zip
VC4.2 style keyboard macro recorder for DevStudio 97(19KB)
63,CodeTmplEx.zip
Open CodeTmpl.txt command for CodeTmpl Add-In(142KB)
64,mergekw.zip
Keyword Merge Add-in for Visual Studio(61KB)
65,AppLaunch.zip
Application Launcher Add-in(41KB)
66,WorkspaceUtils170.zip
Workspace Utilties Visual Studio Add-in (version 1.70)(110KB)
67,QuickBookmarks.zip
QuickBookmarks - Easy way to navigate in your code(2KB)
68,template.zip
Code Template add-in for Visual C++ 5.0(18KB)
69,template_taylor.zip
Update to Code Template add-in for Visual C++(45KB)
70,template_sandy.zip
Code Template Add-in Enhancement(21KB)
71,vss_header.zip
SourceSafe Keyword Expansion Creator(2KB)
72,getdrivetypeexplorer.zip
GetDriveType enhancement(37KB)
73,cluster.zip
Determining Cluster Size(21KB)
74,compound.zip
Compound File Stream and Storage Manipulation(46KB)
75,OSDetect.zip
Detecting the windows version running on your machine(37KB)
76,FCompare.zip
CFileInfoArray: A class for gathering file information recursively through directories(54KB)
77,HardwareInfo.zip
System Hardware Information(27KB)
78,AppType.zip
Determine if an Application is Console or GUI(22KB)
79,ntservice.zip
A Class For Building An NT Service(37KB)
80,nt_serv_wiz.zip
NT Service App Wizard(205KB)
81,ServiceManager.zip
Windows NT Service Manager(181KB)
82,NTService1.zip
AppWizard to Create MFC Based Windows NT Service Projects(42KB)
83,perfstate.zip
Performance Statistics Class(37KB)
84,CRegKey.zip
CRegKey Registry Class(2KB)
85,RegistryWithEH.zip
Registry manipulation class with exception handling(3KB)
86,registry_koening.zip
A Class For Handling The Registry(39KB)
87,registry_ult.zip
Another Registry Class(34KB)
88,registry1.zip
CRegBinding - An alternative Registry Class(22KB)
89,sysres.zip
Getting free resource under Windows 95(5KB)
90,msgtracer.zip
Message Tracer(180KB)
91,dbgout.zip
Output(24KB)
92,terminator.zip
Terminator(83KB)
93,libdump.zip
LibDump (129KB)
94,mes_string.zip
Convert message ID to a string (2KB)
95,translate.zip
Translate Window Style (52KB)
96,wraptrace.zip
WRAPTRACE() - Long String Debugging Macro (2KB)
97,trace.zip
LogTrace - A DLL to log trace output to a file (10KB)
98,qprofile.zip
QProfile toolkit - a class to profile your code (8KB)
99,testprint.zip
Printing - Script Print Classes and a PrintFormEditor(125KB)
100,printform.zip
Printing - Script Print Classes and a PrintFormEditor(397KB)
101,formview.zip
Printing from CFormView(55KB)
102,class_library.zip
Printing Class Library (174KB)
103,printpreview.zip
Improved Print Preview Toolbar(56KB)

立即下载
rar文件
ICS delphixe10源码版

ICS - Internet Component Suite - V8 - Delphi 7 to RAD Studio 10 Seattle ======================================================================= (Aka FPIETTE's Components) Revised: March 3, 2016 http://www.overbyte.be/ http://wiki.overbyte.be/ Table of content: ----------------- - Legal issues - Donate - Register - Contributions - Latest Versions - Version Control repository - Installation - Available VCL Components - Sample applications - About SSL - Support - Release notes - Midware - Known problems - Special thanks Legal issues: ------------- Copyright (C) 1997-2016 by Fran鏾is PIETTE Rue de Grady 24, 4053 Embourg, Belgium SSL implementation includes code written by Arno Garrels, Berlin, Germany, contact: ICS is freeware. This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented, you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. 4. You must register this software by sending a picture postcard to the author. Use a nice stamp and mention your name, street address, EMail address and any comment you like to say. 5. As this code make use of OpenSSL, your rights are restricted by OpenSSL license as soon as you use any SSL feature. See http://www.openssl.org for details. Donate ------ ICS is freeware. You can use it without paying anything except the registration postcard (see "register" below). But of course donations are welcome. You can send cash (Euro currency or US Dollars) in an envelop to my street address or buy a gift certificate at Amazon in the UK. I will then use it to buy books. Here is the direct URL at Amazon UK (nearest to my home, please don't use another): http://www.amazon.co.uk/exec/obidos/gc-email-order1/ref=g_gc_email/202-6198323-6681414 For more generous amount, contact me by email. Register -------- ICS is freeware. If you use the components, you must register by sending a picture postcard showing the area you live in and some beautiful stamps for my kids who are stamp collectors. Do not use an envelop, I collect USED postcards sent to me. Write on the postcard that it is your ICS registration. Address your card to: Francois PIETTE, rue de Grady 24, 4053 Embourg, Belgium. Don't forget to mention your name, street address, EMail and web site. Contributions: -------------- ICS has been designed by Fran鏾is PIETTE but many other peoples are working on the components and sample programs. The history of changes in each source file list all developers having contributed (When no name is given, the change is by F. Piette). I can't list all contributors here but I want to specially thanks two specially active contributors: - Arno Garrels - Angus Robertson Latest versions: --------------- The latest versions of ICS can be downloaded from the ICS Wiki web site: http://wiki.overbyte.be/wiki/index.php/ICS_Download ICS V5 and V6 are archive releases no longer updated, last supported release was 2007. ICS V7 is a stable release that may still be updated for major bugs, but not for new releases of Delphi, latest it supported was XE3. ICS V8 is the current development release which is held in a public Version Control repository that is zipped each night for easy download. The download page above also includes the OpenSSL binaries needed to support SSL. ICS V8 supports Delphi 64-bit and Mac OS-X projects. Note that latest C++ Builder version supported is XE3 (lack of spare time, sorry). ICS V9 is in early development and is planned to support Android. There are no current plans for ICS for iOS. Version Control repository: --------------------------- svn://svn.overbyte.be/ics or http://svn.overbyte.be:8443/svn/ics (Usercode = ics, password = ics) Installation: ------------- ICS V8 has been designed for Embarcadero Delphi 2009 and up, and C++ Builder 2009 and up, but is fully compatible with Borland Delphi 7 and CodeGear 2006 and 2007. Embarcadero RAD Studio includes Delphi and C++ Builder. http://www.embarcadero.com/ With Delphi XE2 and later, VCL 64-bit Windows targets are supported for Delphi only. Currently FireMonkey is partly supported for Delphi only (there are still a few non-ported components). ICS for Mac OSX is currently experimental. The zip file has sub-directories in it. You must use the WinZip "Use folder names" option to restore this directory tree or you will have problems because the files would not be in their proper subdirectories. Please note most of these directories are differently named to ICS V7 and earlier, to ease support of multiple versions of Delphi and platforms, and to ease location of similar sample projects. Please don't install V8 over an existing V7 installation, it will be a mess of old and new. This is the new V8 sub-directory layout: .\ Info directory .\Install Component packages project groups for all versions .\Packages (was Delphi\Vc32) Delphi (7 and up) and C++Builder (2006 and up) packages projects .\Source (was Delphi\Vc32) ICS Delphi source code built into packages .\Source\Include (was Delphi\Vc32) .inc files (including OverbyteIcsDefs.inc) .\Source\Extras (was Delphi\Vc32) Extra source code not built into packages .\Source\zobj125 (was Delphi\Vc32) ZLIB C OBJ include files .\Lib Unit output directories for all package builds, subdirectories | for 2007+ will be created on building the packages \$(Config) Release / Debug | \$(Platform) Win32 / Win64 / OSX32 | \ D7..XE8, 10 Seattle includes .dcu and .dfm files for Delphi and .obj and .hpp files for C++ Builder .\Samples Delphi Win32/Win64 common source for all demos .\Samples\delphi\BroswerDemo Delphi Win32/Win64 Web Browser sample application (all Delphi versions) .\Samples\delphi\BroswerDemo\Resources Resource file, web pages and movie linked into browser demo .\Samples\delphi\FtpDemos Delphi Win32/Win64 FTP sample applications (all Delphi versions) .\Samples\delphi\MailNewsDemos Delphi Win32/Win64 SMTP, POP3, NNTP sample applications (all Delphi versions) .\Samples\delphi\MiscDemos Delphi Win32/Win64 Miscellaneous applications (all Delphi versions) .\Samples\delphi\OtherDemos Delphi Win32/Win64 DNS, Ping, SNMP, Syslog sample applications (all Delphi versions) .\Samples\delphi\PlatformDemos Delphi FireMonkey and cross-platform samples (Delphi XE2+) .\Samples\delphi\SocketDemos Delphi Win32/Win64 Socket sample applications (all Delphi versions) .\Samples\delphi\sslinternet Delphi Win32/Win64 SSL-enabled sample applications (all Delphi versions) .\Samples\delphi\WebDemos Delphi Win32/Win64 HTTP sample applications (all Delphi versions) .\Samples\delphi\WebDemos\WebAppServerData Directory for WebAppServ demo data files .\Samples\delphi\WebDemos\WebServData Directory for WebServ demo data files .\Samples\cpp\internet C++Builder sample applications .\Samples\cpp\internet\cb2006 C++Builder 2006 projects .\Samples\cpp\internet\cb2007 C++Builder 2007 projects .\Samples\cpp\internet\cb2009 C++Builder 2009 projects .\Samples\cpp\internet\cb2010 C++Builder 2010 projects .\Samples\cpp\internet\cbXE C++Builder XE projects .\Samples\cpp\internet\cbXE2 C++Builder XE2 projects UPGRADING and REINSTALLING Uninstall an existing ICS package (Menu | Component | Install Packages, select the component package and click Remove). Rename the old ICS directory and unzip to a new or empty directory, remove the old path from the library path and add either the new .\Source directory to the library path under Tools | Options |... or the appropriate .\Lib subdirectory according to version, ie .\Lib\Debug\Win32\D2007 for Delphi 2007. The latter has the advantage that the ICS source code won't be recompiled whenever your project is build. Also under Tools | Options |... add the new .\Source directory to the Browsing path. All DELPHI and C++ BUILDER VERSIONS/WIN32 Always upgrade your compiler with the latest update available from Embarcadero. Always update your system with http://windowsupdate.microsoft.com SSL or not SSL? By default the SSL code is compiled into the run-time package and additional SSL- enabled components are installed. In order to not compile the SSL code into the run-time package and to not install the SSL-Enabled components you need to remove the conditional define USE_SSL from both the run-time and design-time package. However if you do not build your applications with run-time packages it is recommended to build the packages with default settings. The SSL code will the be compiled into your applications depending on whether the conditional define USE_SSL is set in the project options or not (this requires having the .\Source directory in either in the library path or in projects Search path). Actual use of SSL in your applications also requires the OpenSSL files LIBEAY32.DLL and SSLEAY32.DLL being available somewhere in the path. Note different DLLs are needed for Win32 and Win64 applications. The ICS distribution includes the latest Win32 OpenSSL files in the .\OpenSSL-Win32 directory and the two main DLLs duplicated in .\Samples\delphi\sslinternet. Other OpenSSL files, including older and Win64, may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download INSTALLATION USING THE INSTALL PROJECT GROUPS For each Delphi and C++ Builder version one project group is provided in directory .\Install: Delphi 7 : D7Install.bpg Delphi 2006 : D2006Install.bdsgroup Delphi 2007 : D2007Install.groupproj Delphi 2009 : D2009Install.groupproj Delphi 2010 : D2010Install.groupproj Delphi XE : DXeInstall.groupproj Delphi XE2 : DXe2Install.groupproj // VCL only, no FireMonkey components Delphi XE2 : DXe2InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE3 : DXe3Install.groupproj // VCL only, no FireMonkey components Delphi XE3 : DXe3InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE4 : DXe4Install.groupproj // VCL only, no FireMonkey components Delphi XE4 : DXe4InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE5 : DXe5Install.groupproj // VCL only, no FireMonkey components Delphi XE5 : DXe5InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE6 : DXe6Install.groupproj // VCL only, no FireMonkey components Delphi XE6 : DXe6InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE7 : DXe7Install.groupproj // VCL only, no FireMonkey components Delphi XE7 : DXe7InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi XE8 : DXe8Install.groupproj // VCL only, no FireMonkey components Delphi XE8 : DXe8InstallVclFmx.groupproj // Both VCL and FireMonkey components Delphi 10 Seattle : D10SInstall.groupproj // VCL only, no FireMonkey components Delphi 10 Seattle : D10SInstallVclFmx.groupproj // Both VCL and FireMonkey components C++ Builder 2006 : CB2006Install.bdsgroup C++ Builder 2007 : CB2007Install.groupproj C++ Builder 2009 : CB2009Install.groupproj C++ Builder 2010 : CB2010Install.groupproj C++ Builder XE : CBXeInstall.groupproj C++ Builder XE2 : CBXe2Install.groupproj // VCL only no FireMonkey components C++ Builder XE2 : CBXe2InstallVclFmx.groupproj // Both VCL and FireMonkey components C++ Builder XE3 : CBXe3InstallVclFmx.groupproj // Both VCL and FireMonkey components 1 - Do a File/Open Project, navigate to the Install directory, select the correct file and open it. The project manager view should now display two package projects, one run-time and one design-time package. The run-time package name contains the "Run" suffix. The design-time package name contains the "Design" suffix. 2 - Select and Build the run-time package (do not install). 3 - Select and Install the design-time package. After a few seconds, you should have a dialog box telling you the package has been installed with a bunch of new components registered in the Tool Palette under "Overbyte ICS" and "Overbyte ICS SSL". Then do a "Save All" and a "Close All". 4 - One package is installed, called 'Overbyte ICS Design-Time Package for Delphi xxx'. 5 - Various directories under .\Samples\delphi\ include samples that illustrate use of all the ICS components, see later. FIREMONKEY CROSS PLATFORM PACKAGES: 1 - For XE2 and later, DXe?Install (where ? is the version) installs VCL components only, while DXe?InstallVclFmx also installs FireMonkey cross platform components (three run time packages). In order to use this feature first uninstall the old design-time package. 2 = Build all three run-time packages for all available platforms (32-bit and 64-bit Windows and Mac OS X) in the order they are listed in project manager. 3 - Next build and install the three design-time packages in the order they are listed in project manager. 4 - Three packages are installed, called: 'Overbyte ICS Common Design-Time Package for Delphi xxx' 'Overbyte ICS FMX Design-Time Package for Delphi xxx' 'Overbyte ICS VCL Design-Time Package for Delphi xxx' Note that the new packaging is still beta/alpha, both package names and included units might change in a future beta drop. The old VCL packages are still there however they do no longer support FireMonkey and of course only one set of packages can be installed in the IDE at the same time, if you want both VCL and FMX install DXe2InstallVclFmx.groupproj only. Currently the XE2 package cache is buggy and should be disabled by adding the -nocache parameter. 5 - The .\Samples\delphi\PlatformDemos\ folder contains FireMonkey sample projects that may all be built with FireMonkey for Mac OS X (and Windows). ALTERNATE INSTALLATION USING THE PACKAGE PROJECT FILES: For each Delphi and C++ Builder version two package project files exist in the .\Packages directory. One run-time and one design-time package project file. The run-time file name contains the "Run" suffix. The design-time file name contains the "Design" suffix. PACKAGE PROJECT FILE NAMES - VCL: Delphi 7 : OverbyteIcsD7Run.dpk, OverbyteIcsD7Design.dpk Delphi 2006 : OverbyteIcsD2006Run.bdsproj, OverbyteIcsD2006Design.bdsproj Delphi 2007 : OverbyteIcsD2007Run.dproj, OverbyteIcsD2007Design.dproj Delphi 2009 : OverbyteIcsD2009Run.dproj, OverbyteIcsD2009Design.dproj Delphi 2010 : OverbyteIcsD2010Run.dproj, OverbyteIcsD2010Design.dproj Delphi XE : OverbyteIcsDXeRun.dproj, OverbyteIcsDXeDesign.dproj Delphi XE2 : OverbyteIcsDXe2Run.dproj, OverbyteIcsDXe2Design.dproj Delphi XE3 : OverbyteIcsDXe3Run.dproj, OverbyteIcsDXe3Design.dproj Delphi XE4 : OverbyteIcsDXe4Run.dproj, OverbyteIcsDXe4Design.dproj Delphi XE5 : OverbyteIcsDXe5Run.dproj, OverbyteIcsDXe5Design.dproj Delphi XE6 : OverbyteIcsDXe6Run.dproj, OverbyteIcsDXe6Design.dproj Delphi XE7 : OverbyteIcsDXe7Run.dproj, OverbyteIcsDXe7Design.dproj Delphi XE8 : OverbyteIcsDXe8Run.dproj, OverbyteIcsDXe8Design.dproj Delphi 10 Seattle : OverbyteIcsD10SRun.dproj, OverbyteIcsD10SDesign.dproj C++ Builder 2006 : OverbyteIcsCB2006Run.bdsproj, OverbyteIcsCB2006Design.bdsproj C++ Builder 2007 : OverbyteIcsCB2007Run.cbproj, OverbyteIcsCB2007Design.cbproj C++ Builder 2009 : OverbyteIcsCB2009Run.cbproj, OverbyteIcsCB2009Design.cbproj C++ Builder 2010 : OverbyteIcsCB2010Run.cbproj, OverbyteIcsCB2010Design.cbproj C++ Builder XE : OverbyteIcsCBXeRun.cbproj, OverbyteIcsCBXeDesign.cbproj C++ Builder XE2 : OverbyteIcsCBXe2Run.cbproj, OverbyteIcsCBXe2Design.cbproj C++ Builder XE3 : OverbyteIcsCBXe3Run.cbproj, OverbyteIcsCBXe3Design.cbproj PACKAGE PROJECT FILE NAMES - FireMonkey and VCL: Delphi XE2 FMX/VCL : IcsCommonDXe2Run.dproj, IcsCommonDXe2Design.dproj Delphi XE2 VCL : IcsVclDXe2Run.dproj, IcsVclDXe2Design.dproj Delphi XE2 FMX : IcsFmxDXe2Run.dproj, IcsFmxDXe2Design.dproj Delphi XE3 FMX/VCL : IcsCommonDXe3Run.dproj, IcsCommonDXe3Design.dproj Delphi XE3 VCL : IcsVclDXe3Run.dproj, IcsVclDXe3Design.dproj Delphi XE3 FMX : IcsFmxDXe3Run.dproj, IcsFmxDXe3Design.dproj Delphi XE4 FMX/VCL : IcsCommonDXe4Run.dproj, IcsCommonDXe4Design.dproj Delphi XE4 VCL : IcsVclDXe4Run.dproj, IcsVclDXe4Design.dproj Delphi XE4 FMX : IcsFmxDXe4Run.dproj, IcsFmxDXe4Design.dproj Delphi XE5 FMX/VCL : IcsCommonDXe5Run.dproj, IcsCommonDXe5Design.dproj Delphi XE5 VCL : IcsVclDXe5Run.dproj, IcsVclDXe5Design.dproj Delphi XE5 FMX : IcsFmxDXe5Run.dproj, IcsFmxDXe5Design.dproj Delphi XE6 FMX/VCL : IcsCommonDXe6Run.dproj, IcsCommonDXe6Design.dproj Delphi XE6 VCL : IcsVclDXe6Run.dproj, IcsVclDXe6Design.dproj Delphi XE6 FMX : IcsFmxDXe6Run.dproj, IcsFmxDXe6Design.dproj Delphi XE7 FMX/VCL : IcsCommonDXe7Run.dproj, IcsCommonDXe7Design.dproj Delphi XE7 VCL : IcsVclDXe7Run.dproj, IcsVclDXe7Design.dproj Delphi XE7 FMX : IcsFmxDXe7Run.dproj, IcsFmxDXe7Design.dproj Delphi XE8 FMX/VCL : IcsCommonDXe8Run.dproj, IcsCommonDXe8Design.dproj Delphi XE8 VCL : IcsVclDXe8Run.dproj, IcsVclDXe8Design.dproj Delphi XE8 FMX : IcsFmxDXe8Run.dproj, IcsFmxDXe8Design.dproj Delphi 10 Seattle FMX/VCL: IcsCommonD10SRun.dproj, IcsCommonD10SDesign.dproj Delphi 10 Seattle VCL : IcsVclD10SRun.dproj, IcsVclD10SDesign.dproj Delphi 10 Seattle FMX : IcsFmxD10SRun.dproj, IcsFmxD10SDesign.dproj C++ Builder XE2 FMX/VCL : IcsCommonCBXe2Run.dproj, IcsCommonDXe2Design.dproj C++ Builder XE2 VCL : IcsVclCBXe2Run.dproj, IcsVclCBXe2Design.dproj C++ Builder XE2 FMX : IcsFmxCBXe2Run.dproj, IcsFmxCBXe2Design.dproj C++ Builder XE3 FMX/VCL : IcsCommonCBXe3Run.dproj, IcsCommonDXe3Design.dproj C++ Builder XE3 VCL : IcsVclCBXe3Run.dproj, IcsVclCBXe3Design.dproj C++ Builder XE3 FMX : IcsFmxCBXe3Run.dproj, IcsFmxCBXe3Design.dproj 1 - Open and Build the run-time package project (do not install!). 2 - Open and Install the design-time package project. (Do a File/Open Project, browse to the .\Packages directory. Select the correct file and open it. Then in the project manager view, right-click on the package, then click on either the Build or Install button.) 3 - For Delphi XE2 and later, a 64-bit run-time package can be built by changing the package target platform to 64-bit Windows. This has the same name as the 32-bit package, so a different package output directory needs to be specified in Tools / Options / Delphi Options for 64-bit Windows. After a few seconds, you should have a dialog box telling you the package has been installed with a bunch of new components registered in the Tool Palette under "Overbyte ICS" and "Overbyte ICS SSL". Then do a "Save All" and a "Close All". DELPHI 2006/WIN32, 2007/WIN32, 2009/WIN32, 2010/WIN32, XE/WIN32: Having installed the package, verify that the appropriate Win32 Library Path (Tools / Options / Delphi Options / Library - Win32 / Library Path) has been added, .\Lib subdirectory according to version, ie .\Lib\Debug\Win32\D2007 for Delphi 2007. If not, add it manually. It is not mandatory to add .\Lib to the global Delphi path, but it will be much easier for you because otherwise you'll have to add it to each project. DELPHI XE2/WIN32, XE3/WIN32, XE4/WIN32, XE5/WIN32, XE6/WIN32, XE7/WIN32, XE8/WIN32, 10 Seattle/WIN32, XE2/WIN64, XE3/WIN64, XE4/WIN64, XE5/WIN64, XE6/WIN64, XE7/WIN64, XE8/WIN64, 10 Seattle/WIN64: Similar to above, but the Library path is specified separately for 32-bit and 64-bit Windows Platforms. DELPHI 7: Add VC32 directory path to your library path (Tools menu / Environment Options / Library / Library Path. Add .\Lib\Debug\Win32\D7 path at the end of the existing path). SAMPLE DELPHI PROJECTS Once the package is installed, you may open the sample projects. The samples are split into several directories according to protocols, most with a project group that can be opened in all versions of Delphi. .\Samples\delphi\BroswerDemo .\Samples\delphi\FtpDemos\FtpDemos.bpg .\Samples\delphi\MailNewsDemos\MailNewsDemos.bpg .\Samples\delphi\MiscDemos\MiscDemos.bpg .\Samples\delphi\OtherDemos\OtherDemos.bpg .\Samples\delphi\PlatformDemos\XSamples.groupproj .\Samples\delphi\SocketDemos\SocketDemos.bpg .\Samples\delphi\sslinternet\SslDemos.bpg .\Samples\delphi\WebDemos\WebDemos.bpg Full details of the sample projects are shown later in this document. You might get some dialog box telling you that resource files are missing (they may not have been included in the zip file to save space) and are recreated by Delphi. It is OK. Any other error message is a problem you should fix. After all resource files have been recreated, you should see in the project manager a group of projects. To compile all samples in the group at once, do Project / Build all projects. This may take a few minutes. Note 1: Delphi may run out of memory if you ask to compile all projects at once. If you have not enough RAM, then compile each project individually. Note 2: Delphi has warnings which triggers a lot of messages for 100% OK code. You can turn those warnings off in the project/ options / Compiler messages and deselecting: "Deprecated symbol", "Platform symbol", "unsafe type", "unsafe code", "unsafe typecast". Those are intended for .NET and Linux portability. You can safely ignore them if you run windows. For you facility, I included a utility SetProjectOptions (source code, you must compile it) in the internet directory. This utility will update project options to disable the warnings. Once the components are all installed, you may open the sample projects each one after the other and compile them. For each project, do file/open and select the dpr file in the internet directory. Then Project/Build All. C++ BUILDER 2006, 2007, 2009, 2010, XE, XE2, XE3: Follow the installation procedure described for Delphi 2006. Just change the project group and package name: use CB2006, CBXe, etc, see above. You can't have Delphi 2006 and CBuilder 2006 packages installed at the same time in the IDE. So when switching from one to the other, be sure to remove the one you don't need. Building the FireMonkey CBXE2InstallVclFmx C++ packages for OSX may trigger an ILINK32 error, this is a bug in C++ Builder reported as QC #103668 the Win32 packages should build without errors. Once the components are all installed, you may open the sample projects each one after the other and compile them. For each project, do file/open and select the dpr file in the internet directory. Then Project/Build All. Projects are located in SAMPLES\CPP\INTERNET\CB2006\ (or CB2006, CBXE, etc) with a project group in each directory, OverbyteIcsCB2006Sam.bdsgroup, OverbyteIcsCBXe2Sam.groupproj, etc. It is likely that for each project, C++ Builder complains about a missing .res file. This is not a problem, C++ Builder will recreate it as needed. They have not been included to save space in the zip file. Once the components are all installed, you may open the sample projects each one after the other and compile them. For each project, do file/open and select the dpr file in the internet directory. Then Project/Build All. NOTES: - You may have an error message, using Delphi or C++ Builder complaining about Font.Charset, OldCreateOrder and other properties. Those are new properties in newer Delphi or C++ Builder versions, newer than the version you use. You can safely ignore those errors because those properties are not used by the components nor sample programs. You may encounter this error at run time. To avoid it, you must open each form at design time and ignore the error. Then recompile. If you don't ignore the error at design time, you'll have it at runtime ! - If you have Delphi or C++ Builder complaining about a file not found, add .\source directory to your library path. - If you are using C++ Builder you may encounter an error at link time such as "Unable to open file MWBCB30.LIB" (or other libs). This is a bug in C++ Builder. To solve it, you can edit project option file (right click in project manager) and remove any reference to the missing libraries. - Don't forget that the C++Builder components are located in .\delphi\vc32 which is object pascal source code (not a problem for C++Builder, just indicate that the *.pas files are displayed when installing). C++Builder will create the *.hpp files. There are some on-line help files in the VC32 directory. Available VCL Components ------------------------ - The following is a list of the files that should be installed in order to properly add all of the available components in this collection: > OverbyteIcsCharsetComboBox.pas Provides easy MIME charset selection > OverbyteIcsDnsQuery DNS lookup component - useful for getting MX records > OverbyteIcsDprUpdFix.pas IDE plugin for Delphi 2009 and 2010 to update old projects > OverbyteIcsEmulVT.pas ANSI terminal emulation in a control > OverbyteIcsFingCli.pas FINGER client protocol - Find information about user > OverbyteIcsFtpCli.pas FTP client protocol - file transfer > OverbyteIcsFtpSrv.pas FTP server protocol - file transfer > OverbyteIcsFtpSrvT.pas FTP server protocol - helpers > OverbyteIcsHttpAppServer.pas HTTP server protocol - used to build advanced web servers > OverbyteIcsHttpProt.pas HTTP client protocol - used by the web > OverbyteIcsHttpSrv.pas HTTP server protocol - used to build web servers > OverbyteIcsLogger.pas A component to log information > OverbyteIcsMimeDec.pas MIME component - decode file attach, use with POP3 > OverbyteIcsMultiProgressBar.pas A segmented progress bar > OverbyteIcsMultipartFtpDownloader.pas FTP client protocol - download one file using simultaneous connections to speedup download > OverbyteIcsMultipartHttpDownloader.pas HTTP client protocol - download one file using simultaneous connections to speedup download > OverbyteIcsNntpCli.pas NNTP client protocol - send and receive newsgroups messages > OverbyteIcsPing.pas ICMP echo protocol - ping a host > OverbyteIcsPop3Prot.pas POP3 client protocol - get mail from mail server > OverbyteIcsReg.pas Register design components > OverbyteIcsSmtpProt.pas SMTP client protocol - send mail to server > OverbyteIcsSmtpSrv.pas SMTP server protocol - receive mail from client > OverbyteIcsSnmpCli.pas SNMP client protocol - network management > OverbyteIcsSnmpMsgs.pas SNMP client protocol - message helper > OverbyteIcsSysLogClient.pas Syslog Client Protocol - receive syslog messages > OverbyteIcsSysLogDefs.pas Syslog Protocol - helpers > OverbyteIcsSysLogServer.pas Syslog Server Protocol - send syslog messages > OverbyteIcsTnCnx.pas TELNET client protocol - terminal emulation protocol > OverbyteIcsTnEmulVT.pas TELNET and ANSI terminal emulation combined > OverbyteIcsTnOptFrm.pas TELNET Client configuration form > OverbyteIcsTnScript.pas TELNET client protocol - with automation > OverbyteIcsWSocket.pas Winsock component - TCP, UDP, DNS,... > OverbyteIcsWSocketE.pas Register procedure and property editor for TWSocket > OverbyteIcsWSocketS.pas Winsock component for building servers > OverbyteIcsWSocketTS.pas Winsock component for building multithreaded servers - The following list support and utilities units: > OverbyteIcsAsn1Utils.pas ASN1 utilities (for TSnmpClient component) > OverbyteIcsAvlTrees.pas Implements a fast cache-like data storage > OverbyteIcsCharsetUtils.pas MIME-charset functions > OverbyteIcsCookies.pas Client Cookie Handling > OverbyteIcsCRC.pas 32 bit CRC computation > OverbyteIcsCsc.pas character set routines > OverbyteIcsDES.pas Implementation of the Data Encryption Standard (DES) > OverbyteIcsDigestAuth.pas HTTP Digest Access Authentication > OverbyteIcsFormDataDecoder.pas Decode a MIME data block as generated by a HTML form > OverbyteIcsHttpCCodZLib.pas Supports GZIP coding for HttpContCod > OverbyteIcsHttpContCod.pas HTTP Content Coding support, uses extra units > OverbyteIcsIcmp.pas ICMP protocol support, used by the PING component > OverbyteIcsIconv.pas Headers for iconv library (LGPL) > OverbyteIcsLIBEAY.pas Delphi encapsulation for LIBEAY32.DLL (OpenSSL) > OverbyteIcsMD4.pas Implementation of the MD4 Message-Digest Algorithm > OverbyteIcsMD5.pas Implementation of the MD5 Message-Digest Algorithm > OverbyteIcsMimeUtil.pas Support routines for MIME standard > OverbyteIcsMLang.pas A few header translations from MS mlang.h > OverbyteIcsNtlmMsgs.pas Client NTLM authentification messages used within HTTP protocol > OverbyteIcsNtlmSsp.pas Server NTLM authentification of user credentials using Windows SSPI > OverbyteIcsOneTimePw.pas One Time Password support functions, used by FTP > OverbyteIcsSHA1.pas Implementation of US Secure Hash Algorithm 1 (SHA1) > OverbyteIcsSocketUtils.pas Cross platform socket utilities for ICS > OverbyteIcsSSLEAY.pas Delphi encapsulation for SSLEAY32.DLL (OpenSSL) > OverbyteIcsSslSessionCache.pas A very fast external SSL-session-cache component > OverbyteIcsSslThrdLock.pas Implementation of OpenSsl thread locking (Windows); > OverbyteIcsSspi.pas A few header translations from MS sspi.h and security.h > OverbyteIcsStreams.pas Fast streams for ICS > OverbyteIcsThreadTimer.pas A custom timer class using custom timer messages from one or more threads > OverbyteIcsTicks64.pas GetTickCount64 support for all versions of Windows > OverbyteIcsTimeList.pas List of items with expiry times, used for WebSessions > OverbyteIcsTypes.pas Common types, mainly for backward compiler compatibility > OverbyteIcsURL.pas Support routines for URL handling > OverbyteIcsUtils.pas Vast number of common utilities, many supporting Unicode for D7/2007 > OverbyteIcsWSockBuf.pas FIFO buffers for TWSocket > OverbyteIcsWebSession.pas Web session support for THttpAppSrv and MidWare > OverbyteIcsWinnls.pas A few header translations for Unicode Normalization in winnls.h > OverbyteIcsWinsock.pas Some Winsock initialisations > OverbyteIcsWndControl.pas A class that encapsulates a windows message queue and a message map > OverbyteIcsZLibDll.pas Zlib support, interface to external zlib.dll functions > OverbyteIcsZlibHigh.pas Zlib support, high level interface for compression and decompression > OverbyteIcsZLibObj.pas Zlib support, interface to zlib linked C OBJ functions FireMonkey Cross Platform Support: ---------------------------------- For Delphi and C++ Builder XE2 and later, FireMonkey Desktop applications are an alternate to VCL Forms applications, supporting cross platforms of Windows 32-bit and 64-bit and Mac OS X (and perhaps other platforms in future). FireMonkey uses different visual components to VCL, while some non-visual components can be used for both VCL and FMX projects, while other components need special versions, such as ICS. Earlier betas of V8 used the conditional define "FMX" which is *no longer required in project options. Instead in your existing ICS FireMonkey app. add either "Ics.Fmx" to the unit scope names in project options or apply the following changes in the uses clause, rename: OverbyteIcsWndControl -> Ics.Fmx.OverbyteIcsWndControl OverbyteIcsWSocket -> Ics.Fmx.OverbyteIcsWSocket OverbyteIcsFtpCli -> Ics.Fmx.OverbyteIcsFtpCli OverbyteIcsFtpSrv -> Ics.Fmx.OverbyteIcsFtpSrv OverbyteIcsHttpProt -> Ics.Fmx.OverbyteIcsHttpProt OverbyteIcsWSocketS -> Ics.Fmx.OverbyteIcsWSocketS OverbyteIcsSmtpProt -> Ics.Fmx.OverbyteIcsSmtpProt.pas OverbyteIcsPop3Prot -> Ics.Fmx.OverbyteIcsPop3Prot.pas OverbyteIcsNntpCli -> Ics.Fmx.OverbyteIcsNntpCli.pas OverbyteIcsPing -> Ics.Fmx.OverbyteIcsPing.pas OverbyteIcsDnsQuery -> Ics.Fmx.OverbyteIcsDnsQuery.pas OverbyteIcsFingCli -> Ics.Fmx.OverbyteIcsFingCli.pas OverbyteIcsSslSessionCache -> Ics.Fmx.OverbyteIcsSslSessionCache.pas OverbyteIcsSslThrdLock -> Ics.Fmx.OverbyteIcsSslThrdLock.pas OverbyteIcsHttpSrv -> Ics.Fmx.OverbyteIcsHttpSrv.pas OverbyteIcsSocketUtils -> Ics.Fmx.OverbyteIcsSocketUtils.pas OverbyteIcsMultipartFtpDownloader -> Ics.Fmx.OverbyteIcsMultipartFtpDownloader.pas OverbyteIcsMultipartHttpDownloader -> Ics.Fmx.OverbyteIcsMultipartHttpDownloader.pas OverbyteIcsHttpAppServer -> Ics.Fmx.OverbyteIcsHttpAppServer.pas OverbyteIcsThreadTimer -> Ics.Fmx.OverbyteIcsThreadTimer.pas OverbyteIcsCharsetComboBox -> Ics.Fmx.OverbyteIcsCharsetComboBox.pas { Demo units } OverbyteIcsWebAppServerCounter -> Ics.Fmx.OverbyteIcsWebAppServerCounter OverbyteIcsWebAppServerMailer -> Ics.Fmx.OverbyteIcsWebAppServerMailer The list above is also the list of units that now have different names in the FireMonkey framework however most of them share the same source file. Dropping a ICS component on the form will add the correct unit name for each framework automatically (don't forget to disable the package cache as described above). Unit OverbyteIcsLibrary.pas has been *deprecated* and ICS IPv8 doesn't use it anymore. If you used it in your own code read the comment in OverbyteIcsLibrary.pas, search for "deprecated". Sample applications: -------------------- With V8, the sample applications are now grouped into directories according to general functionality, to make it easier to compare related samples. Many samples are similar. When searching for something, always look at the date the demos where created. The most recent is always the best code! In the lists below, ACTIVE!! indicates applications that are actively maintained to test and support new functionality in the ICS components. These may not be simplest samples, but are usually the first to try when learning about a component. Delphi Win32/Win64 Web Browser sample application ------------------------------------------------- .\Samples\delphi\BroswerDemo > FrameBrowserIcs.dpr Web Browser using HtmlViewer component - ACTIVE!! Note this sample needs HtmlViewer component installed Delphi Win32/Win64 FTP sample applications ------------------------------------------ .\Samples\delphi\FtpDemos\FtpDemos.bpg - Project group > OverbyteIcsBasFtp.dpr Basic FTP client program > OverbyteIcsConFtp.dpr Basic console mode FTP client > OverbyteIcsFtpAsy.dpr Example of asynchronous FTP client > OverbyteIcsFtpMulti.dpr Demo to do several FTP downloads in parallel to get a list of files > OverbyteIcsFtpMultipartDownload.dpr Demo to FTP download a single large file in several parts in parallel > OverbyteIcsFtpServ.dpr General purpose FTP server, uses TSocketServer - ACTIVE!! > OverbyteIcsFtpThrd.dpr Demo of multithreaded FTP client, see also FTPASY > OverbyteIcsFtpTst.dpr Basic graphical FTP client - ACTIVE!! Delphi Win32/Win64 SMTP, POP3, NNTP sample applications ------------------------------------------------------- .\Samples\delphi\MailNewsDemos\MailNewsDemos.bpg - Project group > OverbyteIcsBasNntp.dpr Basic NNTP client program > OverbyteIcsConPop3.dpr Basic console mode demo for POP3 (mail receive) > OverbyteIcsConSmtp.dpr Basic console mode demo for SMTP (mail send) > OverbyteIcsMailHtml.dpr Example of HTML formatted EMail sending, including embedded images - ACTIVE!! > OverbyteIcsMailRcv.dpr Internet EMail access using POP3 protocol - ACTIVE!! > OverbyteIcsMailSnd.dpr Example of EMail sending using SMTP, including file attach - ACTIVE!! > OverbyteIcsMailSndAsync.dpr Example of parallel EMail sending with multiple connections > OverbyteIcsMimeDemo.dpr Example of EMail decoding (attached files are extracted) - ACTIVE!! > OverbyteIcsNewsReader.dpr Example of TNntpCli component (Send/receive newsgroups) - ACTIVE!! > OverbyteIcsSmtpServer.dpr Internet EMail server using SMTP protocol - ACTIVE!! Delphi Win32/Win64 Miscellaneous applications --------------------------------------------- .\Samples\delphi\MiscDemos\MiscDemos.bpg - Project group > OverbyteIcsBufStrmTst.dpr Test of buffered stream classes > OverbyteIcsCacheTest.dpr Test of TCacheTree class used in TSslAvlSessionCache > OverbyteIcsMD4Test.dpr Test program for MD4 unit > OverbyteIcsMD5File.dpr Example of MD5 unit: computer MD5 checksum for files > OverbyteIcsMD5Test.dpr Test program for MD5 unit > OverbyteIcsOneTimePassword.dpr One Time Password test routines for OverByteIcsOneTimePw unit > OverbyteIcsSHA1Test.dpr Test program for SHA unit > OverbyteIcsThreadTimerDemo.dpr Demo for TIcsThreadTimer > OverbyteIcsTicks64Demo.dpr GetTickCount64 test routines for OverbyteIcsTicks64 unit > OverbyteIcsTimerDemo.dpr Very simple demo for TIcsTimer > OverByteIcsWndControlTest.dpr Test program for windows and threads Delphi Win32/Win64 DNS, Ping, SNMP, Syslog sample applications -------------------------------------------------------------- .\Samples\delphi\OtherDemos\OtherDemos.bpg - Project group > OverbyteIcsBatchDnsLookup.dpr Batch async DNS lookup using DnsLookup (IPv6 and IPv4) > OverbyteIcsConPing.dpr Basic console mode demo for ping component > OverbyteIcsDll1.dpr Demo showing how to use a TWSocket component in a DLL > OverbyteIcsDll2.dpr Demo showing how to use a THttpCli component in a DLL > OverbyteIcsDllTst.dpr Test program calling ICSDLL1 and ICSDLL2 > OverbyteIcsDnsLook.dpr Example of name resolution (IPv6 and IPv4) > OverbyteIcsDnsResolver.dpr Batch async DNS lookup event driven using DnsQuery > OverbyteIcsFinger.dpr Example of TFingerCli component > OverbyteIcsNsLookup.dpr Demo for the DnsQuery component > OverbyteIcsPingTst.dpr Demo for the ping component, includes trace route > OverbyteIcsSnmpCliTst.dpr Demo for SNMP (simple network management protocol) component > OverbyteIcsSysLogClientDemo.dpr Demo for SysLog client component > OverbyteIcsSysLogServerDemo.dpr Demo for SysLog server component Delphi FireMonkey cross-platform samples (Delphi XE2 and later) --------------------------------------------------------------- All these samples may be built for Mac OS X (and Windows). .\Samples\delphi\PlatformDemos\XSamples.groupproj > IcsCliDemo.dproj Example of client for SRVDEMO, IPV4 only > IcsTcpSrvIPv6.dproj Basic server without client forms, event-driven, IPv4/IPV6 > IcsConSmtp.dproj Basic console mode demo for SMTP (mail send) > IcsMailSnd.dproj Example of EMail sending using SMTP, including file attach > IcsMailRcv.dproj Internet EMail access using POP3 protocol > IcsHttpsTst.dproj Example of THttpCli component (GET), show many features > IcsWebServ.dproj Demo of HTTP server, uses TSocketServer > IcsWebAppServ.dproj Advanced HTTP server demo, uses WebServ, adds sessions > IcsFtpTst.dproj Basic graphical FTP client > IcsFtpServ.dproj General purpose FTP server, uses TSocketServer > IcsUdpLstn.dproj UDP listen demo > IcsUdpSend.dproj UDP send demo > IcsBatchDnsLookup.dproj Batch async DNS lookup using DnsLookup (IPv6 and IPv4) > IcsDll1.dproj Demo showing how to use a TWSocket component in a DLL > IcsDll2.dproj Demo showing how to use a THttpCli component in a DLL > IcsDllTst.dproj Test program calling ICSDLL1 and ICSDLL2 > IcsThreadTimerDemo.dproj Very simple demo for TIcsTimer Delphi Win32/Win64 Socket sample applications --------------------------------------------- .\Samples\delphi\SocketDemos\SocketDemos.bpg - Project group > OverbyteIcsBinCliDemo.dpr Client program to receive binary and delimited text data. Works with BinTcpSrv demo. > OverbyteIcsCliDemo.dpr Example of client for SRVDEMO, IPV4 only - ACTIVE!! > OverbyteIcsClient5.dpr Basic client GUI applications > OverbyteIcsClient7.dpr Simple client application demonstrating TWSocket > OverbyteIcsConCli1.dpr Basic client/server console applications > OverbyteIcsConCli2.dpr Basic client/server console applications with thread > OverbyteIcsConSrv1.dpr Basic server application in console mode > OverbyteIcsConUdpLstn.dpr Console application to listen for UDP messages > OverbyteIcsDynCli.dpr Demo of dynamically created TWSocket components > OverbyteIcsMtSrv.dpr Basic server, multi-threaded, see THRDSRV for better code > OverbyteIcsRecv.dpr Simple file receive (server), use with SENDER demo (client) > OverbyteIcsSender.dpr Simple file send (client), use with RECV demo (server) > OverbyteIcsServer5.dpr Basic server GUI applications > OverbyteIcsSocksTst.dpr How to use TWSocket with SOCKS protocol (firewall traversing) > OverbyteIcsSrvDemo.dpr Example of server using a TTable - ACTIVE!! > OverbyteIcsSrvTcp.dpr Basic server without client forms, event-driven > OverbyteIcsSvcTcp.dpr Same as SRVTCP but as an NT/2K/XP service > OverbyteIcsTWSChat.dpr Chat program (both client and server in a single program) > OverbyteIcsTcpSrv.dpr Basic server without client forms, event-driven, IPv4 only - ACTIVE!! > OverbyteIcsTcpSrvIPv6.dpr Basic server without client forms, event-driven, IPv4/IPV6 - ACTIVE!! > OverbyteIcsTelnetClient.dpr Telnet client using a TnEmulVT > OverbyteIcsThrdSrv.dpr Basic multithreaded TCP server, banner sent in main thread > OverbyteIcsThrdSrvV2.dpr Basic multithreaded TCP server, banner sent in worker thread > OverbyteIcsThrdSrvV3.dpr Basic TCP server showing how to use TWSocketThrdServer > OverbyteIcsTnDemo.dpr Telnet client using a TMemo > OverbyteIcsTnSrv.dpr Basic TCP server with client forms, event-driven > OverbyteIcsUdpLstn.dpr UDP listen demo > OverbyteIcsUdpSend.dpr UDP send demo Delphi Win32/Win64 SSL-enabled sample applications -------------------------------------------------- .\Samples\delphi\sslinternet\SslDemos.bpg - Project group > OverbyteIcsHttpsTst.dpr Example of TSslHttpCli component (GET) - ACTIVE!! > OverbyteIcsPemTool.dpr ICS Pem Certificate Tool - Create and import certificates in OpenSLL PEM format > OverbyteIcsSimpleSslCli.dpr Example of simple SSL client using TSslWSocket - ACTIVE!! > OverbyteIcsSimpleSslServer.dpr Example of SSL server using TSslWSocket - ACTIVE!! > OverbyteIcsSslFtpServ.dpr General purpose FTP SSL server, uses TSocketServer - ACTIVE!! > OverbyteIcsSslFtpTst.dpr Basic graphical FTP SSL client - ACTIVE!! > OverbyteIcsSslMailRcv.dpr Internet EMail access using POP3 protocol and SSL - ACTIVE!! > OverbyteIcsSslMailSnd.dpr Example of EMail sending using SMTP and SSL - ACTIVE!! > OverbyteIcsSslNewsRdr.dpr Example of TSslNntpCli component (Send/receive newsgroups) - ACTIVE!! > OverbyteIcsMsVerify.dpr Verify and show an OpenSSL certificate or certificate chain using class TMsCertChainEngine which uses MS crypto API - ACTIVE!! > OverbyteIcsSslSniSrv.dpr Test of Server Name Indication (SNI) in server mode - ACTIVE!! > OverbyteIcsSslWebServ.dpr Demo of HTTPS server, uses TSocketServer - ACTIVE!! > OverbyteIcsSslWebAppServer.dpr Advanced HTTPS server demo, uses WebServ, adds sessions - ACTIVE!! > OverbyteIcsSslSmtpServer.dpr Internet EMail server using SMTP protocol and SSL - ACTIVE!! Delphi Win32/Win64 HTTP sample applications ------------------------------------------- .\Samples\delphi\WebDemos\WebDemos.bpg - Project group > OverbyteIcsConHttp.dpr Basic console mode HTTP client > OverbyteIcsHttpAsp.dpr Example of THttpCli component with cookie (POST to an ASP page) > OverbyteIcsHttpAsy.dpr Example of THttpCli component with multiple async requests (GET) > OverbyteIcsHttpChk.dpr Example of THttpCli to check for valid URL using HEAD request > OverbyteIcsHttpDmo.dpr Simple HTTP client demo with proxy > OverbyteIcsHttpGet.dpr Example of THttpCli component (GET into a file) > OverbyteIcsHttpMultipartDownload.dpr Demo application for TMultipartHttpDownloader to download files using simultaneous connections > OverbyteIcsHttpPg.dpr Example of THttpCli component (POST to CGI script) > OverbyteIcsHttpPost.dpr Example of THttpCli component (POST), work with WebServ sample - ACTIVE!! > OverbyteIcsHttpThrd.dpr Example of THttpCli component (multi-threaded GET) > OverbyteIcsHttpTst.dpr Example of THttpCli component (GET), show many features - ACTIVE!! > OverbyteIcsIsapi.dll Example of FTP client component within an ISAPI extension > OverbyteIcsWebAppServer.dpr Advanced HTTP server demo, uses WebServ, adds sessions - ACTIVE!! > OverbyteIcsWebServ.dpr Demo of HTTP server, uses TSocketServer - ACTIVE!! Two samples are not in the project group since they need extra components installed > OverbyteIcsRestDemo.drp Demo program showing how to use REST API from Google and Yahoo > OverbyteIcsRestJsonDemo.drp Demo program showing how to use REST API from Google Search and JSON Sample Notes ------------ Note 1: Not all samples have been rewritten in C++ for C++ Builder. And those rewritten are frequently much simpler. So C++ Builder user: have a look at the Delphi sample too ! Note 2: Follow "UserMade" link on ICS web site to find more sample programs written by ICS users. As explained in the component installation, you may encounter an error loading a sample application or running it. This may be because the last time I loaded the form, I was using another Delphi or C++ Builder version which has new properties. You can safely ignore messages related to those new properties. They are not used in the samples. (The properties are CharSet, OldCreateOrder and others). You can also encounter error about duplicate resources. You can ignore them safely. If you have those errors, open each form in the IDE, ignore the error then recompile. If you don't open the form in the IDE, you'll get the errors at runtime and your program will abort. When installing a new version, always delete old dcu, obj, dcpil and always recompile everything ! Close everything before recompiling the library or packages. When installing a new version, be sure to unzip it in the same directory tree as the old one or you'll mess both versions. About SSL: ---------- TSslWSocket and TSslWSocketServer component are derived from the standard TWSocket and TWSocketServer component. The SSL code is compiled into the component only if you define USE_SSL symbol to your packages and projects. Just add USE_SSL to the defines in the project or package options and recompile everything. The components make use of LIBEAY32.DLL and SSLEAY32.DLL to handle SSL protocol stuff. The DLLs are dynamically loaded at runtime. It means that the DLLs will only be required at runtime when you first make use of a SSL function. Your applications will run on systems without OpenSSL DLLs as long as you don't call any SSL function. The files may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download Most ICS components have their SSL enabled counter part. They work exactly the same way as the regular component except when SSL specific stuff is needed, for example certificates. To support SSL stuff, the SSL-enabled version use some new properties, events and methods. Many sample programs have their SSL-enabled counter part in a separate sources located in SslInternet folder. SSL certificates: To make use of SSL, you frequently need certificates. I provide some demo certificates I built using command line OpenSSL tool. PEM certificates can be opened by a text editor, LF as well as CRLF are allowed as line breaks. CACERT.PEM : A demo certificate for "Example CA" 01CERT.PEM : A demo certificate which is signed by CACERT.PEM 01KEY.PEM : A demo private key for 01CERT.PEM Passphrase is "password". CLIENT.PEM : A demo certificate and private key. Passphrase is "password". SERVER.PEM : A demo certificate and private key. Passphrase is "password". ROOT.PEM : A demo CA certificate. Passphrase is "password". TRUSTEDCABUNDLE.PEM : A demo CA file in PEM format containing multiple well known root CA certificates to be specified in property CA Path of the demo applications. Read the comments included in this file. 6F6359FC.0 : Located in sub directory SslInternet\TrustedCaStore, it's the file CACERT.PEM stored with a hashed file name. Directory TrustedCaStore can be specified in property CA Path of the demo applications. For details about certificate, see the excellent book: "Network security with OpenSSL", O'Reilly, ISBN 10: 0-596-00270-X The SSL demo project OverbyteIcsPemTool may be used to create self signed PEM certificates, certificate requests for commercial use, to convert existing certificates in the Windows Certificate Store to PEM format understood by OpenSSL and to examine PEM certificates. You will find more information in IcsSslHowTo.txt file. Commercial SSL certificates: To avoid browsers giving certificate warning messages, you need to purchase a SSL certificate from one of numerous companies, such as Verisign, Thawte GeoTrust or RapidSSL. Prices vary dramatically and are often cheaper from resellers such as Servertastic than from the main issuing companies. The main purpose of an SSL certificate is to prove the identity of the owner of a web site, ideally the company behind the web site. That usually requires paper work identifying the company is submitted and also proof the domain being protected is owned by that company, it usually also involves telephone calls. Such certificates are usually called fully validated and cost $120 or more each year for a single domain, ie secure.website.com. Wild card certificates cost $350 or more, but protect multiple sub-domains, ie web.website.com as well. Extended Validation certificates cost from $450 a year, and show the company name in green in the address bar. For testing and simple use, instant issued SSL certificates cost from $15 per year and protect a single domain only with automated checking reducing the cost (an email to admin@website.com to prove you receive email for the domain, perhaps a telephone call as well). Note these instant certificates do not include a company name. To buy and install an SSL certificate for use with ICS and OpenSSL follow these steps: 1 - Build the SSL demo project OverbyteIcsPemTool. Take Extras, Create Certificate Requests, fill in the various fields (check other certificates if uncertain, the Common Name is the domain to protect, ie secure.website.com and E-Mail should be an email address at the than domain, ideally admin or administrator, 2048 bits. Click Create, and specify two file names, first for the private key (mykey.pem) then the certificate request file (myreq.pem). The request can also be done using OpenSSL command line arguments, or you can build it into your own application. 2 - Choose you SSL supplier and certificate type, at some point during the ordering process you will be asked for the certificate request, so open the PEM file you saved with a text editor and copy the base64 encoded block starting -BEGIN CERTIFICATE REQUEST- into the web form. It should be decoded and displayed so you check it's correct. The private key is not needed for the certificate to be issued. At this point the validation process starts as mentioned above, which might take hours or weeks to complete. 3 - Eventually the SSL certificate should be issued, either by email or made available to download from the supplier's web site. It should be in X.509 format in a base64 encoded block starting -BEGIN CERTIFICATE- which should be saved as a PEM file (mycert.pem). There should also be an Intermediate CA certificate, with which your new certificate was signed, which should also be saved as a file (mycacert.pem). This may also be downloadable from the supplier as a bundle file and should be common to any certificates they issue, ie RapidSSL_CA_bundle.pem. 4 - The OverbyteIcsPemTool tool has a View PEM button that allows examination of your new PEM files. 5 - The three PEM files now need to be attached to the SslContext component in your application, with properties SslCertFile, SslPrivKeyFile and SslCAFile. The request certificate file has no further use. Support: -------- There is a mailing list to discuss F. Piette's components and applications. To subscribe surf to http://lists.elists.org/mailman/listinfo/twsocket. Do not use an aliased EMail address, use your real EMail address, the one you'll use to post messages. After asking for subscription, you'll receive a confirmation email you must reply to it or you will _not_ be added to the subscriber's list (this is to check for email path and also make sure someone doesn't subscribe you without your consent). Once you have been registered with the mailing list processor, you can send messages to twsocket@elists.org. Every subscriber will receive a copy of your message. I will respond, but anybody is welcome to respond to each other's messages. So every body can share his expertise. There are many other useful mailing lists at http://www.elists.org ! Before asking a question, browse the message archive you can download from the support page on the web site (click the "support" button from main page) and from the mailing list web site http://lists.elists.org/mailman/listinfo/twsocket. Google is also archiving the list with some delay. If you found a bug, please make a short program that reproduces the problem attach it to a message addressed to me. If I can reproduce the problem, I can find a fix ! Do not send exe file but just source code and instructions. Always use the latest version (beta if any) before reporting any bug. You are also encouraged to use the support mailing list to ask for enhancements. You are welcome to post your own code. The support mailing list has sometimes a heavy traffic. If it is too much for you, you can select "digest" mode in which mailing list processor will mail you only one big message per day. To select digest mode goto http://lists.elists.org/mailman/listinfo/twsocket. You can also subscribe to another mailing list called twsocket-announce which will receive only very few messages when major bug fixes or updates are done. The subscription process is the same as for the other mailing list. See above procedure. Release notes ------------- There is no global release notes. Each component and sample has his own history. You can find those histories in the comment in the beginning of each source file. There are also a bunch of useful comments in the source code. You should at least browse the source for the components you are interested in. MidWare ------- If you wants to build client/server applications using TCP/IP protocol, you can do it easily with ICS. But you can do it much more easily using another freeware product from Fran鏾is Piette: MidWare. Available from the same web site http://www.overbyte.be. francois.piette@overbyte.be francois.piette@swing.be http://www.overbyte.be/ http://wiki.overbyte.be/

立即下载
zip文件
MySave4.zip

附件为LitePal使用的demo,如果对您有帮助请给5星好评,博客地址:https://blog.csdn.net/qq_35698774/article/details/106772055

立即下载
rar文件
Visual C++ 编程资源大全(英文源码 表单)

1,01.zip
MFC Extension Library
MFC扩展界面库, 使用Visual C++ 6.0(15KB)
2,02.zip
Visual Studio style UI
Visual Studio风格的界面效果(15KB)
3,03.zip
Internet Explorer 4 style UI
IE4.0风格的界面效果(29KB)
4,04.zip
Outlook Style UI
Outlook风格的界面效果(16KB)
5,05.zip
Dynamic child window repositioning
动态改变对话框的大小, 对话框中的控件相应改变(15KB)
6,06.zip
Enhanced list control
增强的List控件(43KB)
7,07.zip
CDialog using animated control
在CDialog中使用动画(12KB)
8,08.zip
Open Dialog with Bitmap Preview
位图预览的打开文件对话框(43KB)
9,09.zip
Standard file open dialog with preview
标准位图预览的打开文件对话框(24KB)
10,10.zip
Bitmap Dialog Class
位图对话框类(13KB)
11,11.zip
Class for Browsing shell namespace with your own dialog
显示目录的树型结构, 可用于目录的选择(31KB)
12,12.zip
Using ON_UPDATE_COMMAND_UI with dialogs
在对话框中使用ON_UPDATE_COMMAND_UI(13KB)
13,13.zip
Using ON_UPDATE_COMMAND_UI with dialogs (2)
使用ON_UPDATE_COMMAND_UI(11KB)
14,14.zip
Modeless child dialog in a Main Dialog with corrected tab order
非模式对话框在主对话框中的TAB顺序(21KB)
15,15.zip
Costumizing CFileDialog
定制的CFileDialog(22KB)
16,16.zip
Attaching Elements to Borders
一个可以在对话框中改变按纽位置、大小的容器(26KB)
17,17.zip
Scrolling credits dialog
滚动信用对话框(12KB)
18,18.zip
Color Dialog with Persistent Custom Colors
对话框继承了上一次的颜色风格(12KB)
19,19.zip
A Base Dialog Class for Modal/Modeless Dialog with Custom Background Color
自定义背景的对话框(13KB)
20,20.zip
Parse IP addresses
解析IP地址(12KB)
21,21.zip
Parse phone fields
解析电话区域(11KB)
22,22.zip
Changing the default file open/save dialogs in an MFC doc/view application
初始化对话框和支持动态数据交换(DDX)(15KB)
23,23.zip
Dialog with Splash Screen Example Code...
Splash对话框的例子(18KB)
24,24.zip
Class to select directory
选择目录的类(13KB)
25,25.zip
Class to select directory (Enhancements)
增强的选择目录的类(12KB)
26,26.zip
Directory Picker Dialog
目录采集对话框(42KB)
27,27.zip
Simple way to change dialog's background and text colors
改变对话框背景颜色和文字颜色的简单途径(11KB)
28,28.zip
A Simple Dialog Layout Manager
一个简单的对话框设计管理器(19KB)
29,29.zip
Using Buttons on a Dialog Bar with CCmdUI
通过CCmdUI在对话框条中使用按纽(19KB)
30,30.zip
Display help for dialog controls on the status bar
在状态条中显示对话框中控件的帮助信息(12KB)
31,31.zip
Dragging a dialog by clicking anywhere on it
点击任何地方拖动对话框(11KB)
32,32.zip
Splash screen with text on it that uses its own thread
通过自己的线程在Splash对话框中显示文字(136KB)
33,33.zip
Creating an expanding dialog
创建一个可扩展的对话框(15KB)
34,34.zip
Expanding/Contracting Dialog Box
扩展/缩小对话框(24KB)
35,35.zip
CFileDialog class that only displays folders
让CFileDialog只显示目录(很有用)(2KB)
36,36.zip
Folder Browsing Dialog
目录浏览对话框(3KB)
37,37.zip
Font dialog with custom text preview & color
字体对话框中增加字体和颜色的预览(12KB)
38,38.zip
Embedding an HTML Help window into a dialog
嵌入一个超文本(HTML)的帮助窗口到对话框中(22KB)
39,39.zip
Dialog which can be used as MDI child window
使用MDI子窗口的对话框(13KB)
40,40.zip
Convert modal dialogs to modeless
将模式对话框转换成非模式对话框(12KB)
41,41.zip
Netscape 4.x Preferences Dialog
类似Netscape 4.x参数选择的对话框(7KB)
42,42.zip
Handling OnUpdate() processing for menu items
OnUpdate()处理菜单项(5KB)
43,43.zip
Options Tree Dialog
树状的配置对话框(25KB)
44,44.zip
Customizing the font dialog
定制的字体对话框(4KB)
45,45.zip
Sizable dialogs at its easiest
轻松改变对话框的大小(5KB)
46,46.zip
A Snap Size Dialog Class
一个捕获对话框大小的类(5KB)
47,47.zip
CSplitterWnd in a Dialog based Application
一个基于对话框的应用(6KB)
48,48.zip
Splash Screen with 256 color support
支持256色的Splash对话框(7KB)
49,49.zip
Subselection Dialog
子项选择的对话框(5KB)
50,50.zip
Switching dialog boxes in a dialog-based application
在基于对话框应用中切换对话框(5KB)
51,51.zip
Better Tip of the Day dialog
典型的Did you konw...对话框(26KB)
52,52.zip
Toolbars and Statusbars on Dialogs
在对话框中增加工具条和状态条(7KB)
53,53.zip
Tooltips in modal dialog boxes
在模式对话框中实现工具提示(6KB)
54,54.zip
Tooltips for dialog controls
实现对话框控件的工具提示(4KB)
55,55.zip
Transparent Dialog
透明的对话框(5KB)
56,56.zip
Viewing Dialog Template Resources at Runtime
运行时看对话框模板资源(5KB)
57,57.zip
Alternative Wizard Dialog
一个Wizard对话框, 在安装程序中也有用(5KB)
58,58.zip
AVLTree
实现AVL(Addison-Velski and Landis)树结构(5KB)
59,59.zip
Template class to manipulate bits of undefined type
一个操作未知类型的模板库(5KB)
60,60.zip
Blowfish Encryption
Blowfish加密算法加密(4KB)
61,61.zip
Blowfish encryption class
Blowfish加密类(5KB)
62,62.zip
Expression Evaluation
数学公式识别类(5KB)
63,63.zip
A Y2.038K-Safe Replacement for CTime
CTime的替换类(5KB)
64,64.zip
Iterating through List Containers
关于List容器的话题(5KB)
65,65.zip
Lexical Analyser
词汇分析(8KB)
66,66.zip
Locales and Facets in Visual C++
VC++的许多细节话题(10KB)
67,67.zip
A Generalized Parsing Class for MFC
一个普通的MFC解析类(5KB)
68,69.zip
Creating Singleton Objects using Visual C++
使用VC++创建一个单独的对象(9KB)
69,69.zip
Smart Pointers and other Pointer classes
指针类(5KB)
70,70.zip
Sortable CObArray class
对CObArray类排序(5KB)
71,71.zip
Sortable CObList class
对CObList类排序(6KB)
72,72.zip
Extension to the STL find_if and for_each
扩充STL库(5KB)
73,73.zip
Change from child window to popup window (and back)
将一个子窗口改成弹出式窗口(5KB)
74,74.zip
Restoring Window Position With Multiple Monitors
在多层监视器中恢复窗口的位置(5KB)
75,75.zip
Transparent Window
透明的窗口(6KB)
76,CenterMDIWnd_demo.zip
Center CMDIChildWnds in the client area of the main frame window(151KB)
77,TabbedMDI.zip
A variation on the MDI that indicates the open child windows in a tab control. (400KB)
78,AdvancedPrev.zip
A simple class that helps provide faster Print Preview within MFC Doc/View applications(38KB)
79,mditab.zip
A dockable bar containing a tabbed list of open windows(91KB)
80,CloseUnusedDocs_src.zip
Closing unused MDI documents with 1 line of code(2KB)
81,graphfx_demo.zip
A Doc/View framework for displaying graphical data(192KB)
82,WindowsManager.zip
Implementing "Windows..." dialog(39KB)
83,MultiMRUList_src.zip
This article describes how to maintain the separate MRU list for each document type that is needed in some applications(26KB)
84,MultiTop.zip
Allows an application to have multiple top-level windows. (22KB)
85,PersistFrames.zip
A collection of classes that allows MFC SDI and MDI applications to remember the positions and sizes of their main frame and child frame windows. (71KB)
86,step0.zip
A series of articles that resulted from experimenting with adding Drag and Drop features to my existing application. (16KB)
87,undo.zip
Easily add Undo/Redo to your CDocument/CView Based Applciation(2KB)
88,PropertyView.zip
A "Property Sheet"-like view class for MFC (108KB)
89,DocViewWTL.zip
A library that provides the easiest way to get loosely coupled components. (156KB)
90,Dialog2.zip
A step by step tutorial showing how to create your first windows program using MFC(112KB)
91,MyMDIApp.zip
A brief step-by-step tutorial that demonstrates creating an SDI and MDI based applications using the MFC Doc/View architecture.(54KB)
92,sditutorial_demo.zip
A brief step-by-step tutorial that demonstrates creating an SDI based application that does not use the MFC Doc/View architecture.(15KB)
93,QuickWin.zip
Redirect stdin, stdout and stderr into a window(125KB)
94,GradientTitleBar.zip
This article shows you how to give your Win95/NT4 modeless dialogs a Win98/W2K like gradient title bar.(42KB)
95,MsgBoxDemo.zip
The system Message Box that is closed atuomatically after some time(21KB)
96,step1.zip
Simple step by step article explaining how to create a modeless dialog box as child window.(21KB)
97,step2.zip
Simple step by step article explaining how to create a modeless dialog box as sibling of the app's main window.(22KB)
98,ResizableDialog.zip
A CDialog derived class to implement resizable dialogs with MFC (98KB)
99,CenterAnywhere_demo.zip
This is a good replacement for CWnd::CenterWindow() that works. (43KB)
100,CardDialog.zip
A auto-sizing dialog used to store and display smaller child dialogs(22KB)
101,scrolling_credits.zip
A Scrolling Credits Dialog(209KB)
102,snapdialog.zip
Dialog class that implement a snap-to-screen-border feature like Winamp(16KB)
103,messagebox.zip
A class which encapsulates MessageBoxIndirect.(18KB)
104,rfldlg.zip
This article demonstrates how to add a recent file list to a dialog based application(25KB)
105,dialogspl_demo.zip
Splash screens are not only for Doc/View based applications(142KB)
106,CClockCtrl_src.zip
A Freeware MFC class to display an analog clock.(17KB)
107,ChildDlg.zip
Child Dialog (Sub Forms)(29KB)
108,CIconDialog_src.zip
A Freeware MFC dialog class to select an icon.(12KB)
109,CPushPinFrame_src.zip
A Freeware MFC PushPin property page dialog class.(19KB)
110,showhide.zip
A neat way to show/hide groups of related controls(13KB)
111,ResizeCtrl.zip
A resize control to implement resizable dialogs with MFC(38KB)
112,DDXFile_src.zip
A Freeware DDX routine for selecting a filename.(29KB)
113,DynWindow_src.zip
Describes a method to implement resizable child windows.(108KB)
114,DynamicDialog.zip
Create dialogs dynamically, and easily, without the need for a dialog resource script.(40KB)
115,DlgExpand.zip
This article shows gives you the ability to make your dialogs expand or contract, depending on how much information the user wishes to view(15KB)
116,TipDemo.zip
Improved Tip-of-the-Day Dialog(149KB)
117,layoutmgr.zip
A framework to provide automatic layout control for dialogs and forms(101KB)
118,MainWndPlacement.zip
Save/restore the main window size at application exit/startup with a single function call in MDI, SDI and dialog based applications.(29KB)
119,sizer_demo.zip
An article on extendable layout management classes(27KB)
120,Splasher_src.zip
An improved splash screen component for MFC.(62KB)
121,StackDialog.zip
Creating a stacked dialog such as Netscape's 'Preferences' dialog(22KB)
122,bitmappreviewdialog_src.zip
This article describes a completely object oriented standard file open dialog with preview.(12KB)
123,subselect_dialog.zip
Subselection Dialog(123KB)
124,TabDialog.zip
A docking dialog that auto-expands when the mouse passes over it(35KB)
125,TcxMsgBox.zip
TCX Message Box (derived from CWnd)(35KB)
126,ToolTips.zip
A demonstration of how to show tooltips in modal dialog bozes(23KB)
127,UpdateModalDlg_demo.zip
How to update a modal dialog contents using a callback function(17KB)
128,WinampWnd_demo.zip
An article discussing a Plugin for Nullsoft Winamp which looks and behaves like the Winamp UI.(43KB)
129,Skins.zip
A mini library to build Bitmap based skinnable apps.(174KB)
130,FaderWnd_demo.zip
An MFC class to fade any window with only one line of code.(28KB)
131,Win2kFileDlg.zip
Ever wanted to use the new Office 2000 file dialogs on Win 95/98/NT/Me, including the file previewing? Well now you can.(76KB)
132,win2000fd.zip
How to show the new Common File Dialog in MFC Apps in Windows 2000(36KB)
133,Wizard2000.zip
Create Windows 2000 style Wizards with white backgrounds(109KB)
134,FileExportDialog.zip
Adding filters to the Open File dialog(24KB)
135,customize_dialog.zip
Customizing the Windows Common File Open Dialog(15KB)
136,SelectFolder.zip
The windows 'Select Folder' dialog with some extra functionality(41KB)
137,animate_dlg.zip
Animated Icon on Titlebar of a Dialog based Application(34KB)
138,BmpDlg.zip
Bitmap Dialog Class(52KB)
139,namespace.zip
Class for Browsing shell namespace with your own dialog(78KB)
140,OnUpdate_demo.zip
Handling OnUpdate() processing for menu items(10KB)
141,DialogUpdates.zip
Using ON_UPDATE_COMMAND_UI with all controls in a Dialog(18KB)
142,override.zip
Customizing the font dialog(4KB)
143,cmdlg.zip
Costumizing CFileDialog(31KB)
144,custom_open.zip
Custom Open File or Save as Dialog(25KB)
145,ColorFormView.zip
CFormView Class with Custom Background Color(33KB)
146,Banner.zip
Animated Background Banner(88KB)
147,MDIClient.zip
A Custom MDI Client Class(42KB)
148,html_help_view.zip
HTML Help In CView Window(5KB)
149,MDIPreview_demo.zip
Print Preview in MDI Frame(20KB)
150,zoom_scale.zip
Add Zoom and Scale Capabilities to CScrollView(338KB)
151,autopan.zip
Auto-Panning Windows(44KB)
152,autopan2.zip
Microsoft Internet Explorer like Intellimouse AutoScroll(42KB)
153,intellipan.zip
Intellimouse panning (improved Auto-Panning Windows)(5KB)
154,intellipan2.zip
Intellimouse panning 2 (A universal Auto-Panning solution)(12KB)
155,bigscroll.zip
Breaking the CScrollView 32768 size limitation with CBigScrollView(90KB)
156,variable_splitter.zip
Variable splitter views(58KB)
157,TabbedViews_src.zip
Tabbed Views(78KB)
158,animate_icon_src.zip
Animated Icon on Titlebar of a window(48KB)
159,msdi1632.zip
MultiSingle (MSDI) Document interface(77KB)
160,msdidao.zip
MultiSingle (MSDI) Document interface with DAO doc(508KB)
161,ScreenSwitch_demo.zip
Multiple Views Using SDI(26KB)
162,multiview.zip
Multiple views for a single document (MDI) 3(86KB)
163,WinMenu_demo.zip
Home made MDI windows list in Window menu(21KB)
164,SdiMulti.zip
SDI Interface with Multi-Views and Multi-Splitters(88KB)
165,DocViewInDll_demo.zip
Separating the views of an MDI application into different DLLs(60KB)
166,MultiFrame_demo.zip
Multiple frame windows in SDI application(76KB)
167,mrcext.zip
Resizable Docking Window(862KB)
168,sizing.zip
Sizing TabControlBar(46KB)
169,devstudio.zip
Another DevStudio-alike DialogBar(43KB)
170,docking.zip
Resizable Docking Window 2(98KB)
171,simple_splitter.zip
General Purpose Splitter Class(43KB)
172,cxysplitter.zip
A pair of splitter classes used in dialogbox(21KB)
173,dynamic_splitter.zip
Splitter Window - "True" dynamic splitter window(52KB)
174,outlook_style.zip
Outook Style Splitter Bar(59KB)
175,minsplit.zip
Minimum size splitter(36KB)
176,scrbsplt.zip
Removing and reapplying splitter windows on-the-fly in Scribble with a custom splitter window class(157KB)
177,switchviews_in_splitter.zip
Switching views in splitter panes (SDI)(44KB)
178,rulers_src.zip
Implementing Rulers inside of Splitter Panes(5KB)
179,dynamic1.zip
Different Views In Dynamic Splitter(202KB)
180,dialogstartupanimation.zip
This sample shows you how to create dialog startup animation like that of Window 98'menu(18KB)
181,yqeditgridcontrol.zip
a grid control that enable keyboard input. That is to say, you can write data in it. (31KB)
182,switchmdiviews.zip
This sample shows you how to switch from one view to the other in a MDI splitter window application(31KB)
183,yqmdireplaceview.zip
This sample shows you how to replace different views in a MDI splitter window application(36KB)
184,switchview.zip
This sample shows you how to switch from one MDI window to another by using the "Ctrl Tab" key.(29KB)
185,filterreturnkey.zip
This sample shows you how to trap, filter the ENTER and ESCAPE key of a dialog box (17KB)
186,filterkey.zip
This sample shows you how to filter a certain key and mask that key(18KB)
187,editenter.zip
This sample shows you how to use RETURN key to switch among edit controls of a dialog box(18KB)
188,dialoghook.zip
This sample shows you how to set keyboard hook function of a dialog box to trap RETURN ,ESCAPE key.(17KB)
189,contexthelp.zip
This sample shows you how to create context sensitive help of a control of a dialog box(26KB)
190,traparrokey.zip
This sample describes how to trap arrow keys in an control of a dialog box (18KB)
191,yqadvancedbtn.zip
Owner draw hot button support both bitmap and icon, with flat, gripper property. (108KB)
192,drawlistbo.zip
Owner draw CTabCtrl with flat gripper property (40KB)
193,startupanimation.zip
Create Window startup animation, including several kind of animation style, very interesting(23KB)
194,flatlistbox.zip
using a unique way to implement flat attribute( other than those published on the codegurn), as well as hot ,gripper attribute.(21KB)
195,yqhoteditctrl.zip
Create edit control with Hot , flat, gripper. separator attributes (21KB)
196,3dmdishadow.zip
Create 3D shadow of a MDI frame windows(32KB)
197,3dsdishadow.zip
Create 3D shadow of a SDI frame windows(29KB)
198,getfile.zip
A DDX routine for MFC to retrieve filenames(29KB)
199,splasher.zip
An improved splash screen component for MFC(62KB)
200,pushpin.zip
A pushpin button MFC class(12KB)
201,getfolder.zip
A DDX routine for MFC to retrieve folders(30KB)
202,ntray.zip
An MFC class to manipulate tray icons(17KB)
203,hlinkctrl.zip
An MFC class to support hyperlinks on windows and dialogs(16KB)
204,icondialog.zip
An icon selection dialog class for MFC(12KB)
205,pushpinframe.zip
An MFC class to provide property dialogs ala Developer Studio(16KB)
206,mappin.zip
An MFC class to implement map pins(286KB)
207,iconcombobox.zip
2 MFC classes to implement icon selection combo boxes(19KB)
208,menuex_demo.zip
Implementing an Ownerdrawn menu (35KB)
209,bcmenu261.zip
Cool Owner Drawn Menus with Bitmaps
Version 2.61(70KB)
210,dynmenu.zip
Some handy functions for adding and deleting submenus and menuitems in runtime (16KB)
211,gradientmenu.zip
Create Popup menus in MFC with a gradient and text on the left side (89KB)
212,menuicon_demo.zip
Give your apps a unique look by adding a logo to your menu(48KB)
213,bcgbappwizard.zip
BCGControlBar library version 4.6(2121KB)
214,mpcstatusbar.zip
An enhanced CStatusBar to easily and dynamically add/remove controls on a status bar (48KB)
215,textonlystatusbar.zip
An easy to use and implement Text Only Status Bar with Tool tip text extracted from the status bar panes. (39KB)
216,progressbar.zip
Showing progress bar in a status bar pane(33KB)
217,sizecbar_src.zip
DevStudio-like docking window (64KB)
218,sizing_tabct1_demo.zip
Creates a dockable and resizable control bar. (46KB)
219,dockview.zip
A fairly simple way to incoporate views into sizing control bars(69KB)
220,spin_slide_toolbar.zip
How to create toolbars with spinners and/or sliders(48KB)
221,tearoffrebars_prj.zip
This article Implements the functionality similar to the Office 2000 toolbars(26KB)
222,flatbar.zip
A flat toolbar implementation that does not require the updated common controls library from Internet Explorer. (197KB)
223,toolbar_droparrow_demo.zip
Demonstrates how to use the new toolbar styles to add dropdown arrows to toolbar buttons (28KB)
224,dynamictb.zip
A simple tutorial that shows how to dynamically replace toolbars at runtime (35KB)
225,toolbar_docking_demo.zip
Demonstrates how to dock toolbars side-by-side (29KB)
226,tapetoolbar.zip
A spectacular variation on toolbars (35KB)
227,chevions.zip
An introduction to using the cool new toolbar chevrons (18KB)
228,toolgroupmanager.zip
A reusable template class for managing multiple toolbars, only one of which is displayed at a time(30KB)
229,toolbar_hotbuttons_demo.zip
Demonstrates how to add rollover buttons to your toolbar(30KB)
230,toolbar.zip
WTL Tool Bar Drop-Down Extension(64KB)
231,win95asm.zip
Introduction to Menus(113KB)
232,outbar.zip
CGfxOutBarCtrl, an Outlook98 bar-like control(163KB)
233,tabstatus.zip
Advanced UI - MDI list in the status bar (and a custom Window List dialog)(62KB)
234,gfxlist.zip
List Control - Enhanced list control(1544KB)
235,maillook.zip
Internet Mail Look(42KB)
236,cdxcdynamic.zip
Dynamic child window repositioning for dialogs, property sheets, form views and any other CWnd derived classes. (227KB)
237,voicecmd.zip
Voice Command Enabling Your Software (27KB)
238,cj60lib.zip
MFC Extension Library - CJ60 Version 6.07(1100KB)
239,infobar.zip
Information Bar (62KB)
240,switcher.zip
A Switcher Control (like the Windows Task Bar) (40KB)

立即下载
zip文件
demo_sqlite.zip

SQLite是Android内置的轻量级数据库。本demo是在Android APP中简单的使用SQLite进行增删改查。insert,delete,update,select。本demo为 AndroidStudio 3.5.1 开发的代码。

立即下载
zip文件
Laravel5语言包.zip

Laravel 5 语言包,包含37种语言, 基于 Laravel4-lang.安装composer require "overtrue/laravel-lang:dev-master" 或者添加下面一行到你的项目 composer.json 中 require 部分:"require": { "overtrue/laravel-lang": "dev-master" } 然后composer update 完成上面的操作后,将项目文件 config/app.php 中的下一行'Illuminate\Translation\TranslationServiceProvider' 替换为:'Overtrue\LaravelLang\TranslationServiceProvider', 即可。配置 修改项目语言 config/app.php:'locale' => 'zh-CN',使用 和正常使用一样,你如果需要额外添加语言项,请在 resources/lang/zh-CN/ 下建立你自己的文件即可,也可以建立同样的文件来替换掉默认的语言部分。添加自定义语言项 例如创建文件 resources/lang/zh-CN/demo.php:<?php  return [  'user_not_exists' => '用户不存在',  'email_has_registed' => '邮箱 :email 已经注册过!', ]; 然后在任何地方:echo trans('user_not_exists'); // 用户不存在 echo trans('email_has_registed', ['email' => 'anzhengchao@gmail.com']); // 邮箱 anzhengchao@gmail.com 已经注册过!替换掉默认的语言项 我们假设想替换掉密码重围成功的提示文字为例,创建 resources/lang/zh-CN/passwords.php:<?php  return [  'reset' => '您的密码已经重置成功了,你可以使用新的密码登录了!', ]; 只放置你需要替换的部分即可。License MIT 标签:Laravel  Web框架

立即下载
zip文件
DELPHI7托盘图标控件,230(好用).zip

DELPHI7下好用的托盘控件,安装简单,版本进度如下:TCoolTrayIcon, ver. 2.3.0 - ver. 2.3.0: Various minor bugs fixed: 1) Calling the ShowMainForm and HideMainForm methods before the main form was created would crash the app. Fixed thanks to James Legg. 2) The tooltip would give trouble if it was 64 chars. Thanks to Toms Baugis and Teus de Jong. 3) The popup menu would not close itself auto- matically if the StartMinimized property was true. Thanks to Ingo Krueger, Chris Witt, and Reister HansJoerg. - ver. 2.2.2: When there was more than one form visible the taskbar icon would not hide when the main form was minimized. Fixed. - ver. 2.2.1: Fixed a popup menu bug. Also fixed a bug which meant D2 and D3 users could not compile the component. Added more icon animations in the demo. Thanks to Daniele Gervasoni for the "tray graph". - ver. 2.2.0: IconIndex is now a property, allowing you to specify an icon at run-time. The OnCycle event is changed so it returns the index to the next icon that will display when cycling. Finally, I fixed a bug that caused the taskbar icon not to display itself when MinimizeToTray was true. Thanks to Lorenz Graf for pointing it out to me. - ver. 2.1.4: The main form will no longer show itself untimely after the form's BorderStyle property is changed. Thanks to Thomas Reimann. - ver. 2.1.3: Fixed a bug that caused the main form not to display itself (how embarassing). - ver. 2.1.2: I *finally* found the bug that would cause some compound controls (like controls on notebook pages or tab sheets) not to display properly when StartMinimized was true. Incidently, this also means that TForm.Position now works. Also fixed a minor bug that caused modal forms owned by the main form to appear behind the main form when the popup menu appeared (thanks to Arash Ramin). - ver. 2.1.1: Added notification method to properly detect whether the associated popup menu and imagelist are deleted. Thanks to Hui Jin Ong for pointing it out to me and making suggestions. - ver. 2.1.0: Added property MinimizeToTray. This was done by hooking into the application's message processing. - ver. 2.0.0: Name is now TCoolTrayIcon. Added icon cycling and design preview capabilities. Added method Refresh. Fixed a bug that caused some controls to not redraw when starting your app. as invisible. - ver. 1.0.3: Added property Enabled. Also fixed a bug reported by David Knaack, which caused a runtime error if you double-clicked when no popup menu was assigned to the icon. - ver. 1.0.2: Added a Handle property, and enabled handling of default menu items. (Partially) fixed a bug so the icon will update itself when a new icon is assigned. - ver. 1.0.1: The associated popup menu now behaves as it is supposed to. Also fixed that forms using the tray icon didn't go in front of other windows when restored. Thanks to Chris Hope for telling me. - ver. 1.0.0: First release. Component was called TTrayIcon at the time. If you have any comments or corrections, I would very much like to hear them. If you develop some cool tray animations you want to share, send them to me :-) Troels Jakobsen tjak@get2net.dk

立即下载
zip文件
ios-仿苏宁强制更新.zip

1.有时候会遇到一些不更新就不可以使用的app,这个demo就是,检查到更新之后,会弹出更新提示,用户只能点击去更新,不然无法继续使用。 2.没有添加监听网络,所以还不算很完善,凑合用。 3.只需要一句话就可以调用。 //调用 [XFCheckUpdateView checkUpdate:APPID window:self.window];

立即下载
rar文件
adb1.0.26包含fastboot.exe

ADB,即 Android Debug Bridge,它是 Android 开发/测试人员不可替代的强大工具,也是 Android 设备玩家的好玩具。 注:有部分命令的支持情况可能与 Android 系统版本及定制 ROM 的实现有关。 基本用法 命令语法 adb 命令的基本语法如下: adb [-d|-e|-s ] 如果只有一个设备/模拟器连接时,可以省略掉 [-d|-e|-s ] 这一部分,直接使用 adb 。 为命令指定目标设备 如果有多个设备/模拟器连接,则需要为命令指定目标设备。 参数 含义 -d 指定当前唯一通过 USB 连接的 Android 设备为命令目标 -e 指定当前唯一运行的模拟器为命令目标 -s 指定相应 serialNumber 号的设备/模拟器为命令目标 在多个设备/模拟器连接的情况下较常用的是 -s 参数,serialNumber 可以通过 adb devices 命令获取。如: $ adb devices List of devices attached cf264b8f device emulator-5554 device 10.129.164.6:5555 device 输出里的 cf264b8f、emulator-5554 和 10.129.164.6:5555 即为 serialNumber。 比如这时想指定 cf264b8f 这个设备来运行 adb 命令获取屏幕分辨率: adb -s cf264b8f shell wm size 又如想给 10.129.164.6:5555 这个设备安装应用(这种形式的 serialNumber 格式为 :,一般为无线连接的设备或 Genymotion 等第三方 Android 模拟器): adb -s 10.129.164.6:5555 install test.apk 遇到多设备/模拟器的情况均使用这几个参数为命令指定目标设备,下文中为简化描述,不再重复。 启动/停止 启动 adb server 命令: adb start-server (一般无需手动执行此命令,在运行 adb 命令时若发现 adb server 没有启动会自动调起。) 停止 adb server 命令: adb kill-server 查看 adb 版本 命令: adb version 示例输出: Android Debug Bridge version 1.0.36 Revision 8f855a3d9b35-android 以 root 权限运行 adbd adb 的运行原理是 PC 端的 adb server 与手机端的守护进程 adbd 建立连接,然后 PC 端的 adb client 通过 adb server 转发命令,adbd 接收命令后解析运行。 所以如果 adbd 以普通权限执行,有些需要 root 权限才能执行的命令无法直接用 adb xxx 执行。这时可以 adb shell 然后 su 后执行命令,也可以让 adbd 以 root 权限执行,这个就能随意执行高权限命令了。 命令: adb root 正常输出: restarting adbd as root 现在再运行 adb shell,看看命令行提示符是不是变成 # 了? 有些手机 root 后也无法通过 adb root 命令让 adbd 以 root 权限执行,比如三星的部分机型,会提示 adbd cannot run as root in production builds,此时可以先安装 adbd Insecure,然后 adb root 试试。 相应地,如果要恢复 adbd 为非 root 权限的话,可以使用 adb unroot 命令。 指定 adb server 的网络端口 命令: adb -P start-server 默认端口为 5037。 设备连接管理 查询已连接设备/模拟器 命令: adb devices 输出示例: List of devices attached cf264b8f device emulator-5554 device 10.129.164.6:5555 device 输出格式为 [serialNumber] [state],serialNumber 即我们常说的 SN,state 有如下几种: offline —— 表示设备未连接成功或无响应。 device —— 设备已连接。注意这个状态并不能标识 Android 系统已经完全启动和可操作,在设备启动过程中设备实例就可连接到 adb,但启动完毕后系统才处于可操作状态。 no device —— 没有设备/模拟器连接。 以上输出显示当前已经连接了三台设备/模拟器,cf264b8f、emulator-5554 和 10.129.164.6:5555 分别是它们的 SN。从 emulator-5554 这个名字可以看出它是一个 Android 模拟器,而 10.129.164.6:5555 这种形为 : 的 serialNumber 一般是无线连接的设备或 Genymotion 等第三方 Android 模拟器。 常见异常输出: 没有设备/模拟器连接成功。 List of devices attached 设备/模拟器未连接到 adb 或无响应。 List of devices attached cf264b8f offline USB 连接 通过 USB 连接来正常使用 adb 需要保证几点: 硬件状态正常。 包括 Android 设备处于正常开机状态,USB 连接线和各种接口完好。 Android 设备的开发者选项和 USB 调试模式已开启。 可以到「设置」-「开发者选项」-「Android 调试」查看。 如果在设置里找不到开发者选项,那需要通过一个彩蛋来让它显示出来:在「设置」-「关于手机」连续点击「版本号」7 次。 设备驱动状态正常。 这一点貌似在 Linux 和 Mac OS X 下不用操心,在 Windows 下有可能遇到需要安装驱动的情况,确认这一点可以右键「计算机」-「属性」,到「设备管理器」里查看相关设备上是否有黄色感叹号或问号,如果没有就说明驱动状态已经好了。否则可以下载一个手机助手类程序来安装驱动先。 通过 USB 线连接好电脑和设备后确认状态。 adb devices 如果能看到 xxxxxx device 说明连接成功。 无线连接(需要借助 USB 线) 除了可以通过 USB 连接设备与电脑来使用 adb,也可以通过无线连接——虽然连接过程中也有需要使用 USB 的步骤,但是连接成功之后你的设备就可以在一定范围内摆脱 USB 连接线的限制啦! 操作步骤: 将 Android 设备与要运行 adb 的电脑连接到同一个局域网,比如连到同一个 WiFi。 将设备与电脑通过 USB 线连接。 应确保连接成功(可运行 adb devices 看是否能列出该设备)。 让设备在 5555 端口监听 TCP/IP 连接: adb tcpip 5555 断开 USB 连接。 找到设备的 IP 地址。 一般能在「设置」-「关于手机」-「状态信息」-「IP地址」找到,也可以使用下文里 查看设备信息 - IP 地址 一节里的方法用 adb 命令来查看。 通过 IP 地址连接设备。 adb connect 这里的 就是上一步中找到的设备 IP 地址。 确认连接状态。 adb devices 如果能看到 :5555 device 说明连接成功。 如果连接不了,请确认 Android 设备与电脑是连接到了同一个 WiFi,然后再次执行 adb connect 那一步; 如果还是不行的话,通过 adb kill-server 重新启动 adb 然后从头再来一次试试。 断开无线连接 命令: adb disconnect 无线连接(无需借助 USB 线) 注:需要 root 权限。 上一节「无线连接(需要借助 USB 线)」是官方文档里介绍的方法,需要借助于 USB 数据线来实现无线连接。 既然我们想要实现无线连接,那能不能所有步骤下来都是无线的呢?答案是能的。 在 Android 设备上安装一个终端模拟器。 已经安装过的设备可以跳过此步。我使用的终端模拟器下载地址是:Terminal Emulator for Android Downloads 将 Android 设备与要运行 adb 的电脑连接到同一个局域网,比如连到同一个 WiFi。 打开 Android 设备上的终端模拟器,在里面依次运行命令: su setprop service.adb.tcp.port 5555 找到 Android 设备的 IP 地址。 一般能在「设置」-「关于手机」-「状态信息」-「IP地址」找到,也可以使用下文里 查看设备信息 - IP 地址 一节里的方法用 adb 命令来查看。 在电脑上通过 adb 和 IP 地址连接 Android 设备。 adb connect 这里的 就是上一步中找到的设备 IP 地址。 如果能看到 connected to :5555 这样的输出则表示连接成功。 节注一: 有的设备,比如小米 5S + MIUI 8.0 + Android 6.0.1 MXB48T,可能在第 5 步之前需要重启 adbd 服务,在设备的终端模拟器上运行: restart adbd 如果 restart 无效,尝试以下命令: start adbd stop adbd 应用管理 查看应用列表 查看应用列表的基本命令格式是 adb shell pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [--user USER_ID] [FILTER] 即在 adb shell pm list packages 的基础上可以加一些参数进行过滤查看不同的列表,支持的过滤参数如下: 参数 显示列表 无 所有应用 -f 显示应用关联的 apk 文件 -d 只显示 disabled 的应用 -e 只显示 enabled 的应用 -s 只显示系统应用 -3 只显示第三方应用 -i 显示应用的 installer -u 包含已卸载应用 包名包含 字符串 所有应用 命令: adb shell pm list packages 输出示例: package:com.android.smoketest package:com.example.android.livecubes package:com.android.providers.telephony package:com.google.android.googlequicksearchbox package:com.android.providers.calendar package:com.android.providers.media package:com.android.protips package:com.android.documentsui package:com.android.gallery package:com.android.externalstorage ... // other packages here ... 系统应用 命令: adb shell pm list packages -s 第三方应用 命令: adb shell pm list packages -3 包名包含某字符串的应用 比如要查看包名包含字符串 mazhuang 的应用列表,命令: adb shell pm list packages mazhuang 当然也可以使用 grep 来过滤: adb shell pm list packages | grep mazhuang 安装 APK 命令格式: adb install [-lrtsdg] 参数: adb install 后面可以跟一些可选参数来控制安装 APK 的行为,可用参数及含义如下: 参数 含义 -l 将应用安装到保护目录 /mnt/asec -r 允许覆盖安装 -t 允许安装 AndroidManifest.xml 里 application 指定 android:testOnly="true" 的应用 -s 将应用安装到 sdcard -d 允许降级覆盖安装 -g 授予所有运行时权限 运行命令后如果见到类似如下输出(状态为 Success)代表安装成功: [100%] /data/local/tmp/1.apk pkg: /data/local/tmp/1.apk Success 上面是当前最新版 v1.0.36 的 adb 的输出,会显示 push apk 文件到手机的进度百分比。 使用旧版本 adb 的输出则是这样的: 12040 KB/s (22205609 bytes in 1.801s) pkg: /data/local/tmp/SogouInput_android_v8.3_sweb.apk Success 而如果状态为 Failure 则表示安装失败,比如: [100%] /data/local/tmp/map-20160831.apk pkg: /data/local/tmp/map-20160831.apk Failure [INSTALL_FAILED_ALREADY_EXISTS] 常见安装失败输出代码、含义及可能的解决办法如下: 输出 含义 解决办法 INSTALL_FAILED_ALREADY_EXISTS 应用已经存在,或卸载了但没卸载干净 adb install 时使用 -r 参数,或者先 adb uninstall 再安装 INSTALL_FAILED_INVALID_APK 无效的 APK 文件 INSTALL_FAILED_INVALID_URI 无效的 APK 文件名 确保 APK 文件名里无中文 INSTALL_FAILED_INSUFFICIENT_STORAGE 空间不足 清理空间 INSTALL_FAILED_DUPLICATE_PACKAGE 已经存在同名程序 INSTALL_FAILED_NO_SHARED_USER 请求的共享用户不存在 INSTALL_FAILED_UPDATE_INCOMPATIBLE 以前安装过同名应用,但卸载时数据没有移除 先 adb uninstall 再安装 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 请求的共享用户存在但签名不一致 INSTALL_FAILED_MISSING_SHARED_LIBRARY 安装包使用了设备上不可用的共享库 INSTALL_FAILED_REPLACE_COULDNT_DELETE 替换时无法删除 INSTALL_FAILED_DEXOPT dex 优化验证失败或空间不足 INSTALL_FAILED_OLDER_SDK 设备系统版本低于应用要求 INSTALL_FAILED_CONFLICTING_PROVIDER 设备里已经存在与应用里同名的 content provider INSTALL_FAILED_NEWER_SDK 设备系统版本高于应用要求 INSTALL_FAILED_TEST_ONLY 应用是 test-only 的,但安装时没有指定 -t 参数 INSTALL_FAILED_CPU_ABI_INCOMPATIBLE 包含不兼容设备 CPU 应用程序二进制接口的 native code INSTALL_FAILED_MISSING_FEATURE 应用使用了设备不可用的功能 INSTALL_FAILED_CONTAINER_ERROR 1. sdcard 访问失败; 2. 应用签名与 ROM 签名一致,被当作内置应用 1. 确认 sdcard 可用,或者安装到内置存储; 2. 打包时不与 ROM 使用相同签名 INSTALL_FAILED_INVALID_INSTALL_LOCATION 1. 不能安装到指定位置; 2. 应用签名与 ROM 签名一致,被当作内置应用 1. 切换安装位置,添加或删除 -s 参数; 2. 打包时不与 ROM 使用相同签名 INSTALL_FAILED_MEDIA_UNAVAILABLE 安装位置不可用 一般为 sdcard,确认 sdcard 可用或安装到内置存储 INSTALL_FAILED_VERIFICATION_TIMEOUT 验证安装包超时 INSTALL_FAILED_VERIFICATION_FAILURE 验证安装包失败 INSTALL_FAILED_PACKAGE_CHANGED 应用与调用程序期望的不一致 INSTALL_FAILED_UID_CHANGED 以前安装过该应用,与本次分配的 UID 不一致 清除以前安装过的残留文件 INSTALL_FAILED_VERSION_DOWNGRADE 已经安装了该应用更高版本 使用 -d 参数 INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE 已安装 target SDK 支持运行时权限的同名应用,要安装的版本不支持运行时权限 INSTALL_PARSE_FAILED_NOT_APK 指定路径不是文件,或不是以 .apk 结尾 INSTALL_PARSE_FAILED_BAD_MANIFEST 无法解析的 AndroidManifest.xml 文件 INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION 解析器遇到异常 INSTALL_PARSE_FAILED_NO_CERTIFICATES 安装包没有签名 INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES 已安装该应用,且签名与 APK 文件不一致 先卸载设备上的该应用,再安装 INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING 解析 APK 文件时遇到 CertificateEncodingException INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME manifest 文件里没有或者使用了无效的包名 INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID manifest 文件里指定了无效的共享用户 ID INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 解析 manifest 文件时遇到结构性错误 INSTALL_PARSE_FAILED_MANIFEST_EMPTY 在 manifest 文件里找不到找可操作标签(instrumentation 或 application) INSTALL_FAILED_INTERNAL_ERROR 因系统问题安装失败 INSTALL_FAILED_USER_RESTRICTED 用户被限制安装应用 INSTALL_FAILED_DUPLICATE_PERMISSION 应用尝试定义一个已经存在的权限名称 INSTALL_FAILED_NO_MATCHING_ABIS 应用包含设备的应用程序二进制接口不支持的 native code INSTALL_CANCELED_BY_USER 应用安装需要在设备上确认,但未操作设备或点了取消 在设备上同意安装 INSTALL_FAILED_ACWF_INCOMPATIBLE 应用程序与设备不兼容 does not contain AndroidManifest.xml 无效的 APK 文件 is not a valid zip file 无效的 APK 文件 Offline 设备未连接成功 先将设备与 adb 连接成功 unauthorized 设备未授权允许调试 error: device not found 没有连接成功的设备 先将设备与 adb 连接成功 protocol failure 设备已断开连接 先将设备与 adb 连接成功 Unknown option: -s Android 2.2 以下不支持安装到 sdcard 不使用 -s 参数 No space left on devicerm 空间不足 清理空间 Permission denied … sdcard … sdcard 不可用 参考:PackageManager.java adb install 内部原理简介 adb install 实际是分三步完成: push apk 文件到 /data/local/tmp。 调用 pm install 安装。 删除 /data/local/tmp 下的对应 apk 文件。 所以,必要的时候也可以根据这个步骤,手动分步执行安装过程。 卸载应用 命令: adb uninstall [-k] 表示应用的包名,-k 参数可选,表示卸载应用但保留数据和缓存目录。 命令示例: adb uninstall com.qihoo360.mobilesafe 表示卸载 360 手机卫士。 清除应用数据与缓存 命令: adb shell pm clear 表示应用名包,这条命令的效果相当于在设置里的应用信息界面点击了「清除缓存」和「清除数据」。 命令示例: adb shell pm clear com.qihoo360.mobilesafe 表示清除 360 手机卫士的数据和缓存。 查看前台 Activity 命令: adb shell dumpsys activity activities | grep mFocusedActivity 输出示例: mFocusedActivity: ActivityRecord{8079d7e u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t42} 其中的 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher 就是当前处于前台的 Activity。 查看正在运行的 Services 命令: adb shell dumpsys activity services [] 参数不是必须的,指定 表示查看与某个包名相关的 Services,不指定表示查看所有 Services。 不一定要给出完整的包名,比如运行 adb shell dumpsys activity services org.mazhuang,那么包名 org.mazhuang.demo1、org.mazhuang.demo2 和 org.mazhuang123 等相关的 Services 都会列出来。 与应用交互 主要是使用 am 命令,常用的 如下: command 用途 start [options] 启动 指定的 Activity startservice [options] 启动 指定的 Service broadcast [options] 发送 指定的广播 force-stop 停止 相关的进程 参数很灵活,和写 Android 程序时代码里的 Intent 相对应。 用于决定 intent 对象的选项如下: 参数 含义 -a 指定 action,比如 android.intent.action.VIEW -c 指定 category,比如 android.intent.category.APP_CONTACTS -n 指定完整 component 名,用于明确指定启动哪个 Activity,如 com.example.app/.ExampleActivity 里还能带数据,就像写代码时的 Bundle 一样: 参数 含义 --esn null 值(只有 key 名) -e|--es string 值 --ez boolean 值 --ei integer 值 --el long 值 --ef float 值 --eu URI --ecn component name --eia [, [, 例如: adb shell am start -n com.tencent.mm/.ui.LauncherUI 表示调起微信主界面。 adb shell am start -n org.mazhuang.boottimemeasure/.MainActivity --es "toast" "hello, world" 表示调起 org.mazhuang.boottimemeasure/.MainActivity 并传给它 string 数据键值对 toast - hello, world。 调起 Service 命令格式: adb shell am startservice [options] 例如: adb shell am startservice -n com.tencent.mm/.plugin.accountsync.model.AccountAuthenticatorService 表示调起微信的某 Service。 发送广播 命令格式: adb shell am broadcast [options] 可以向所有组件广播,也可以只向指定组件广播。 例如,向所有组件广播 BOOT_COMPLETED: adb shell am broadcast -a android.intent.action.BOOT_COMPLETED 又例如,只向 org.mazhuang.boottimemeasure/.BootCompletedReceiver 广播 BOOT_COMPLETED: adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -n org.mazhuang.boottimemeasure/.BootCompletedReceiver 这类用法在测试的时候很实用,比如某个广播的场景很难制造,可以考虑通过这种方式来发送广播。 既能发送系统预定义的广播,也能发送自定义广播。如下是部分系统预定义广播及正常触发时机: action 触发时机 android.net.conn.CONNECTIVITY_CHANGE 网络连接发生变化 android.intent.action.SCREEN_ON 屏幕点亮 android.intent.action.SCREEN_OFF 屏幕熄灭 android.intent.action.BATTERY_LOW 电量低,会弹出电量低提示框 android.intent.action.BATTERY_OKAY 电量恢复了 android.intent.action.BOOT_COMPLETED 设备启动完毕 android.intent.action.DEVICE_STORAGE_LOW 存储空间过低 android.intent.action.DEVICE_STORAGE_OK 存储空间恢复 android.intent.action.PACKAGE_ADDED 安装了新的应用 android.net.wifi.STATE_CHANGE WiFi 连接状态发生变化 android.net.wifi.WIFI_STATE_CHANGED WiFi 状态变为启用/关闭/正在启动/正在关闭/未知 android.intent.action.BATTERY_CHANGED 电池电量发生变化 android.intent.action.INPUT_METHOD_CHANGED 系统输入法发生变化 android.intent.action.ACTION_POWER_CONNECTED 外部电源连接 android.intent.action.ACTION_POWER_DISCONNECTED 外部电源断开连接 android.intent.action.DREAMING_STARTED 系统开始休眠 android.intent.action.DREAMING_STOPPED 系统停止休眠 android.intent.action.WALLPAPER_CHANGED 壁纸发生变化 android.intent.action.HEADSET_PLUG 插入耳机 android.intent.action.MEDIA_UNMOUNTED 卸载外部介质 android.intent.action.MEDIA_MOUNTED 挂载外部介质 android.os.action.POWER_SAVE_MODE_CHANGED 省电模式开启 (以上广播均可使用 adb 触发) 强制停止应用 命令: adb shell am force-stop 命令示例: adb shell am force-stop com.qihoo360.mobilesafe 表示停止 360 安全卫士的一切进程与服务。 文件管理 复制设备里的文件到电脑 命令: adb pull <设备里的文件路径> [电脑上的目录] 其中 电脑上的目录 参数可以省略,默认复制到当前目录。 例: adb pull /sdcard/sr.mp4 ~/tmp/ 小技巧:设备上的文件路径可能需要 root 权限才能访问,如果你的设备已经 root 过,可以先使用 adb shell 和 su 命令在 adb shell 里获取 root 权限后,先 cp /path/on/device /sdcard/filename 将文件复制到 sdcard,然后 adb pull /sdcard/filename /path/on/pc。 复制电脑里的文件到设备 命令: adb push <电脑上的文件路径> <设备里的目录> 例: adb push ~/sr.mp4 /sdcard/ 小技巧:设备上的文件路径普通权限可能无法直接写入,如果你的设备已经 root 过,可以先 adb push /path/on/pc /sdcard/filename,然后 adb shell 和 su 在 adb shell 里获取 root 权限后,cp /sdcard/filename /path/on/device。 模拟按键/输入 在 adb shell 里有个很实用的命令叫 input,通过它可以做一些有趣的事情。 input 命令的完整 help 信息如下: Usage: input [] [...] The sources are: mouse keyboard joystick touchnavigation touchpad trackball stylus dpad gesture touchscreen gamepad The commands and default sources are: text (Default: touchscreen) keyevent [--longpress] ... (Default: keyboard) tap (Default: touchscreen) swipe [duration(ms)] (Default: touchscreen) press (Default: trackball) roll (Default: trackball) 比如使用 adb shell input keyevent 命令,不同的 keycode 能实现不同的功能,完整的 keycode 列表详见 KeyEvent,摘引部分我觉得有意思的如下: keycode 含义 3 HOME 键 4 返回键 5 打开拨号应用 6 挂断电话 24 增加音量 25 降低音量 26 电源键 27 拍照(需要在相机应用里) 64 打开浏览器 82 菜单键 85 播放/暂停 86 停止播放 87 播放下一首 88 播放上一首 122 移动光标到行首或列表顶部 123 移动光标到行末或列表底部 126 恢复播放 127 暂停播放 164 静音 176 打开系统设置 187 切换应用 207 打开联系人 208 打开日历 209 打开音乐 210 打开计算器 220 降低屏幕亮度 221 提高屏幕亮度 223 系统休眠 224 点亮屏幕 231 打开语音助手 276 如果没有 wakelock 则让系统休眠 下面是 input 命令的一些用法举例。 电源键 命令: adb shell input keyevent 26 执行效果相当于按电源键。

立即下载
docx文件
Maven学习笔记

Maven学习笔记,word版本,简单入门参考。在eclipse中配置maven项目,step by step

立即下载
zip文件
阿里云sophix移动App热更新程序demo及教程.zip

阿里云sophix移动App热更新程序demo及教程.zip

立即下载
zip文件
angularjs 实现mysql数据库的增删改查demo 后台使用java.zip

angularjs 实现mysql数据库的增删改查demo 后台使用java

立即下载
rar文件
Visual C++ 编程资源大全(英文源码 网络)

1,pop3.zip
CPop3Connection - an MFC Class to encapsulate the POP3 protocol(15KB)
2,ipenum.zip
IPEnum - an MFC class and console app to allow IP address enumeration(11KB)
3,smtp.zip
CSMTPConnection - an MFC Class to encapsulate the SMTP protocol(21KB)
4,ping.zip
CPing - an MFC class to encapsulate the PING protocol(13KB)
5,mailslot.zip
CServerMailslot & CClientMailslot - 2 MFC classes to support Win32 mailslots(29KB)
6,rasmonitor.zip
CRasMonitor - An MFC class to monitor your Dial-Up Networking Connections(12KB)
7,npipe.zip
CNamedPipe - An MFC class to encapsulate named pipes(24KB)
8,apipe.zip
CAnonymousPipe - An MFC class to encapsulate anonymous pipes(8KB)
9,csntp.zip
CSNTPClient - An MFC class to encapsulate the SNTP protocol(17KB)
10,tracer.zip
CTraceRoute - an MFC class to implement Trace Route functionality(13KB)
11,popwatch.zip
PopWatch - An application to monitor your POP3 mailbox(17KB)
12,server.zip
An article about using I/O Completion Ports and Winsock to write robust and scalable Windows server applications(14KB)
13,rasmonitor_src.zip
A shareware application to monitor your Dial-Up Networking Connections(17KB)
14,afdialer.zip
A dial-up dialer for connection to Internet providers (337KB)
15,dialup_demo.zip
How to open a new dialup connection using RasDial(10KB)
16,webgrab.zip
A simple class to ease the task of downloading files from the net(25KB)
17,multicastsocket.zip
A Multicast Wrapper Class(22KB)
18,lantalk.zip
A program that allows users across a homogeneous network to communicate with each other using the TCP/IP protocol (84KB)
19,canonpige_src.zip
A Freeware MFC class to encapsulate Anonymous Pipes (8KB)
20,ccmc_src.zip
An MFC class to encapsulate sending mail using CMC. (12KB)
21,ceqd_src.zip
A Freeware MFC class to support retrieval of recent Earthquake data from the USGS. (10KB)
22,cfinger_src.zip
An MFC class to encapsulate the Finger protocol. (26KB)
23,ftptransferdlg_src.zip
A dialog implementation that performs a FTP file transfer. (42KB)
24,nwset.zip
Do you want to change a Host name, DHCP or static IP settings? (14KB)
25,ipxcheck_demo.zip
How to obtain IPX node addresses of network stations (62KB)
26,downloaddig_src.zip
A dialog implementation that performs HTTP downloads. (42KB)
27,cnamedpipe_src.zip
A Freeware MFC class to encapsulate Named Pipes. (24KB)
28,cping_src.zip
An MFC class to encapsulate the Ping utility. (13KB)
29,cpop3conn_src.zip
An MFC class to encapsulate the POP3 protocol (19KB)
30,mailslot_src.zip
Freeware MFC wrapper classes for Win32 Mailslots. (29KB)
31,csmtpconn_src.zip
An MFC class to encapsulate the SMTP protocol. (23KB)
32,csntp_src.zip
A collection of freeware MFC classes to encapsulate the SNTP protocol. (17KB)
33,ctraceroute_src.zip
A freeware MFC class to implement traceroute functionality. (13KB)
34,ipenum_src.zip
An MFC class to allow enumeration of IP addresses. (11KB)
35,mfccddb_src.zip
A freeware MFC class to support access to CDDB servers. (38KB)
36,chessserver.zip
Multithreaded TCP/IP Telnet Server - Chess Game Example(49KB)
37,telnetview.zip
NT Telnet server and client(45KB)
38,winping.zip
A simple Windows based ping program (241KB)
39,popwatch_src.zip
A freeware application to monitor your POP3 mailbox. (17KB)
40,remotecontrolclient.zip
Two projects that work together to remote control PCs across a LAN (158KB)
41,offlinebrowser_demo.zip
A useful application to download only selected files for offline browsing (54KB)
42,socketserver.zip
A set of classes written in STL that implement a web server (77KB)
43,urldownload_demo.zip
This article presents two methods of using the URLDownloadToFile function in IE3+ to download files(23KB)
44,w3mfc_src.zip
A collection of freeware MFC classes to implement a simple Web server. (34KB)
45,whois_demo.zip
A simple MFC class for WhoIS processing for the Internet. (44KB)
46,mapadmin.zip
A class to encapsulate extended MAPI functions. (503KB)
47,httptunneling.zip
This article describes how to open arbitrary TCP connections through proxy servers (112KB)
48,awarenetsdk.zip
A third party library that adds person-to-person connectivity to your applications(638KB)
49,ff100.zip
A file sharing environment using the AwareNet library(1898KB)
50,ftcode.zip
A chat program using the AwareNet library(1345KB)
51,pwcode.zip
An instant messenger program using the AwareNet library (1150KB)
52,voicetalk.zip
Voice communication(253KB)
53,ndk.zip
Network Development Kit is a set of simple classes for a client-server architecture.(250KB)
54,zsmtp.zip
Simple Win32 SMTP Class (35KB)
55,frames.zip
An ISAPI project to show frames (28KB)
56,img.zip
An ISAPI project to send a page with an image to the browser (74KB)
57,imgdb.zip
An ISAPI project to show database information (including images) (496KB)
58,imgdbfrm.zip
An ISAPI project to show database information (including images) in frames (492KB)
59,authfilt.zip
ISAPI authentication filter (18KB)
60,ipaddressfilt.zip
ISAPI filter to allow access only to hosts with selected IP addresses (17KB)
61,hostnamefilt.zip
ISAPI filter to allow access only to hosts with selected names (18KB)
62,manipulation.zip
Template class to manipulate bits of undefined type (3KB)
63,goodtime.zip
CGoodTime -- A Y2.038K-Safe Replacement for CTime (25KB)
64,numfrm.zip
Custom Numeric Formatting (33KB)
65,mfciterator.zip
STL Iterators and the MFC (29KB)
66,atldatetime.zip
An ATL replacement for COleDateTime (7KB)
67,excoll.zip
Enhanced collection template classes: CArrayEx, CMapEx and CSortedArray (16KB)
68,templ_coll.zip
Template Classes to Manage Collections of Objects (22KB)
69,comprlib_src.zip
ComprLib - A Data Compression Library (69KB)
70,parser.zip
A Generalized Parsing Class for MFC (58KB)
71,lexical.zip
Lexical Analyser (5KB)
72,tokenizer.zip
String Tokenizer(47KB)
73,strategy.zip
Applying Strategy Pattern in C++ Applications (36KB)
74,observer.zip
Applying Observer Pattern in C++ Applications (65KB)
75,bridge.zip
Bridge Pattern - Bridging the gap between Interface and Implementation (40KB)
76,method.zip
Function Pointers to Non-Static Object Methods(24KB)
77,singleton.zip
Creating Singleton Objects using Visual C++ (59KB)
78,01.zip
Connecting to a running instance of Internet Explorer
通过运行对象表(ROT)连接到IE运行的一个实例(6KB)
79,02.zip
Class for Displaying Modal HTML Dialogs
一个显示模式HTML对话框的类(7KB)
80,03.zip
Implementing "Internet Options" in Internet Explorer
在IE中实现"网络设置"(11KB)
81,04.zip
Asynchronous full-duplex connection class
有关异步连接的类(12KB)
82,05.zip
Implementing the "Font" feature like the one in INTERNET EXPLORER
在浏览器中改变字体(4KB)
83,06.zip
An ICMP Class For MFC
用MFC写的ICMP类(9KB)
84,07.zip
Extending the IE Context Menu in your App using the Registry
在应用程序中扩展IE的上下文菜单(5KB)
85,08.zip
Disconnect Dialup Connection(5KB)
86,09.zip
Get web page using WinInet class wrapper(6KB)
87,10.zip
HTTP Service Monitor
HTTP服务监控器(4KB)
88,11.zip
Class for simple MAPI email
一个实现MAPI邮件的类(5KB)
89,12.zip
Winsock2 Internet functions
Winsock 2.0网络函数(5KB)
90,13.zip
Get hostname and ip address of local computer
得到本地计算机的主机名和IP地址(4KB)
91,14.zip
Mail Checker
检测邮件的程序(4KB)
92,15.zip
Internet Mail Look
网络邮件浏览(4KB)
93,16.zip
E-Mail file attachment using MIME
使用MINE实现邮件附带文件(10KB)
94,17.zip
A simple web browser using the IE4 components
使用IE4的组件完成一个简单的网页浏览器(4KB)
95,18.zip
Net Tools
网络工具(7KB)
96,19.zip
Network Enumeration
列举网络(7KB)
97,20.zip
POP3 Protocol wrapper class
支持POP3协议的类(7KB)
98,21.zip
Posting Files to the Web
发送文件到Web上(5KB)
99,22.zip
Printing Web Pages like Internet Explorer
实现类似IE的打印网页功能(5KB)
100,23.zip
SMTP Protocol wrapper class
SMTP协议类(9KB)
101,24.zip
SMTP/POP3 MFC classes
SMTP/POP3类(4KB)
102,25.zip
SMTP MFC Classes
SMTP协议类(6KB)
103,26.zip
Pre-emptive Multithreading Web Spider
多线程的网络蜘蛛(7KB)
104,27.zip
Updated SMTP Class
更新的SMTP类(5KB)
105,28.zip
Updated POP3 Wrapper Class
更新的POP3类(6KB)
106,29.zip
Code for "View Source" option in Internet Explorer 1K 实现类似IE的"浏览源代码"功能(4KB)
107,30.zip
Using the Web Browser control (IE3)
使用Web浏览器控件(5KB)
108,31.zip
Novell Netware Send
Netware网络间的信息发送(4KB)
109,32.zip
Winsock API Wrapper Classes
Winsock API包装类(5KB)
110,33.zip
ISAPI authentication filter
ISAPI身份鉴定过滤器(5KB)
111,34.zip
An ISAPI project to show frames
一个显示frame的ISAPI项目(4KB)
112,35.zip
ISAPI filter to allow access only to hosts with selected names
ISAPI对指定名称的主机进行过滤(5KB)
113,36.zip
An ISAPI project to send a page with an image to the browser
发送一个带有图象的主页给浏览器(4KB)
114,37.zip
An ISAPI project to show database information (including images)
显示数据库信息(包含图象)(5KB)
115,38.zip
An ISAPI project to show database information (including images) in frames
在frames中显示数据库信息(包含图象)(5KB)
116,39.zip
Ping a computer using TCP stacks
使用TCP堆栈Ping一台计算机(6KB)
117,40.zip
Client/Server interprocess communication via shared memory
在客户/服务器处理中通过共享内存通讯(7KB)
118,41.zip
CConsole: A wrapper for Console APIs
一个提供控制台API的类(5KB)
119,42.zip
Console app using MFC
使用MFC写的控制台程序(6KB)
120,43.zip
Enumerate NT services
列举所有的NT服务器(6KB)
121,44.zip
Retrieving the version of Internet Explorer
得到IE的版本号(7KB)
122,45.zip
Getting messages from the IntelliMouse
从IntelliMouse得到消息(5KB)
123,46.zip
Graph Marker with Hit-Testing
一个标记图形的程序(6KB)
124,47.zip
A Class For Building An NT Service
构建一个NT服务器的类(7KB)
125,48.zip
一个端口通讯类(5KB)
126,browser.zip
Extending the IE Context Menu in your App using the Registry
在应用程序中扩展IE的上下文菜单(27KB)
127,MyBrowser.zip
A simple web browser using the IE4 components
另外一个使用WEB浏览控件的例子(60KB)
128,imapi.zip
Class for simple MAPI email
一个实现简单的MAPI邮件的类(3KB)
129,smtp2_source.zip
SMTP MFC Classes
SMTP协议MFC类库(48KB)
130,ZapMail.zip
E-Mail file attachment using MIME
使用MINE实现邮件附件(88KB)
131,updatepop3wrapper.zip
Updated POP3 Wrapper Class
更新的POP3协议封装类(4KB)
132,simple_mapi_demo.zip
MAPI Class & Simple MAPI Project
MAPI类和例子(33KB)
133,SMTP_POP3.zip
SMTP/POP3 MFC classes
SMTP/POP3 MFC类库(19KB)
134,update_smtp.zip
Updated SMTP Class
更新SMTP协议类(16KB)
135,update_smtp1.zip
Update SMTP class part II
更新SMTP协议类-第二部分(94KB)
136,ftp_download.zip
Downloading files via FTP
通过FTP下载文件(22KB)
137,URLChecker.ZIP
HTTP Service Monitor
HTTP服务监视器(36KB)
138,RawSocketServerExample.zip
Winsock API Wrapper Classes
Winsock API封装类(37KB)
139,async_full_duplex.zip
Asynchronous full-duplex connection class(11KB)
140,InterFunc_source.zip
Winsock2 Internet functions
Winsock 2.0网络函数(5KB)
141,nettools.zip
Net Tools
Internet工具(88KB)
142,spider.zip
Pre-emptive Multithreading Web Spider
多线程的网络蜘蛛(65KB)
143,win32send.zip
Novell Netware Send(23KB)

立即下载
zip文件
Android系统日历日程操作-IT计算机-毕业设计.zip

Android应用源码开发Demo,主要用于毕业设计学习。

立即下载
zip文件
使用express和mongodb开发一套使用RESTful架构的博客系统增删改查API.zip

使用express和mongodb开发一套使用RESTful架构的博客系统增删改查API.zip

立即下载
zip文件
AppUpdate-一个简单、轻量、可随意定制 的Android版本更新库 .zip

框架内部支持中/英文(其他语言只需要在对应的string.xml中取相同的名字即可)内部对话框背景图片、按钮支持自定义了查看版本中的Log只需要过滤AppUpdate开头的Tag重点: 如果没有设置downloadPath则默认为getExternalCacheDir()目录,同时不会申请[存储]权限!目录编译问题效果图功能介绍DownloadManagerUpdateConfiguration使用步骤Demo下载体验版本更新记录结语编译问题因为适配了Android O的通知栏,所以依赖的v7包版本比较高appcompat-v7:26.1.0使用的gradle版本为gradle-4.1-all,所以建议使用Android Studio 3.0及以上的版本打开此项目效果图     功能介绍 支持断点下载 支持后台下载 支持自定义下载过程 支持 设备 >= Android M 动态权限的申请 支持通知栏进度条展示(或者自定义显示进度) 支持Android N 支持Android O 支持中/英文双语 支持自定内置对话框的样式 使用HttpURLConnection下载,未集成其他第三方框架更加详细的文档参阅此处《AppUpdate API文档》DownloadManager:配置文档初始化使用DownloadManager.getInstance(this)属性描述默认值是否必须设置context上下文nulltrueapkUrlapk的下载地址nulltrueapkNameapk下载好的名字nulltruedownloadPathapk下载的位置getExternalCacheDir()falseshowNewerToast是否提示用户 "当前已是最新版本"falsefalsesmallIcon通知栏的图标(资源id)-1trueconfiguration这个库的额外配置nullfalseapkVersionCode更新apk的versionCode (如果设置了那么库中将会进行版本判断下面的属性也就需要设置了)1falseapkVersionName更新apk的versionNamenullfalseapkDescription更新描述nullfalseapkSize新版本的安装包大小(单位M)nullfalseauthorities兼容Android N uri授权应用包名falseUpdateConfiguration:配置文档属性描述默认值notifyId通知栏消息id1011notificationChannel适配Android O的渠道通知详情查阅源码httpManager设置自己的下载过程nullbreakpointDownload是否需要支持断点下载trueenableLog是否需要日志输出trueonDownloadListener下载过程的回调nulljumpInstallPage下载完成是否自动弹出安装页面trueshowNotification是否显示通知栏进度(后台下载提示)trueforcedUpgrade是否强制升级falseonButtonClickListener按钮点击事件回调nulldialogImage对话框背景图片资源(图片规范参考demo)-1dialogButtonColor对话框按钮的颜色-1dialogButtonTextColor对话框按钮的文字颜色-1所有版本:点击查看使用步骤第一步: app/build.gradle进行依赖implementation 'com.azhon:appupdate:1.7.3'第二步:创建DownloadManager,更多用法请查看这里示例代码DownloadManager manager = DownloadManager.getInstance(this); manager.setApkName("appupdate.apk")         .setApkUrl("https://raw.githubusercontent.com/azhon/AppUpdate/master/apk/appupdate.apk")         .setSmallIcon(R.mipmap.ic_launcher)         //可设置,可不设置         .setConfiguration(configuration)         .download();第三步:兼容Android N 及以上版本,在你应用的Manifest.xml添加如下代码<--! android:authorities="${applicationId}"  这个值必须与DownloadManager中的authorities一致(不设置则为应用包名)-->     <meta-data         android:name="android.support.FILE_PROVIDER_PATHS"         android:resource="@xml/file_paths_public" /> 第四步:资源文件res/xml/file_paths_public.xml内容<?xml version="1.0" encoding="utf-8"?>           兼容Android O及以上版本,需要设置NotificationChannel(通知渠道);库中已经写好可以前往查阅NotificationUtil.java温馨提示:升级对话框中的内容是可以上下滑动的哦!如果需要实现自己一套下载过程,只需要继承BaseHttpDownloadManager 并使用listener更新进度public class MyDownload extends BaseHttpDownloadManager {}

立即下载
zip文件
ApkUpdate.zip

apk自动更新demo,注释详细,可以用于项目中去

立即下载
rar文件
VB编程资源大全(英文源码 API)

1 , docudel.zip
This example shows how to clear the document history on the start menu.
2 , BatteryAPIdemo.zip
This example demonstrates how to "To get information about the battery status with out having to use the SysInfo.ocx from MS"
3 , DisableXexam.zip
This example easily demonstrates how to remove the "X" from your forms.
4 , manc-sleep.zip
This example demonstrates how to pause for a specified duration in seconds using the 'Sleep' win32 API function.
5 , camp-api.zip
An example of editing the "win.ini" file to execute programs when Windows loads.
6 , win32api.exe
This will install the Win32API.txt on your system. This file holds all API declarations for Windows. Must 下载.
7 , transparentblt.zip
This demonstrates how to display an image transparently on the form. An excellent example.
8 , MessageBoxDemo.zip
Manipulate Message Boxes using API. These include a self-closing message box, and a form-centered message box.
9 , menucol.zip
This shows how to add "columns" to your menus. An excellent example.
10 , changeborder.zip
Have you ever wanted to change the border style during runtime? Now you can using SetWindowLong. This example demonstrates greatly how you can accomplish this.
11 , capmousedemo.zip
This example demonstrates how to Set capture on the mouse to detect when it enters and leaves a specific portion of your form.
12 , apilines.zip
This example demonstrates how to draw lines using API.
13 , killapp.zip
This is a bas file to close any window with just it's caption.
14 , combohgt.zip
This demonstrates how to change the height of a combobox's drop-down height using API.
15 , bat-os.zip
This demonstrates how to retrieve information about Battery Powered machines.
16 , display.zip
This will open the Screen Resolution Dialog so you can manipulate it.
17 , ciasystray.zip
This shows you how to add your icon to the system tray without any third-party controls.
18 , taskbar.zip
This demonstrates how to Hide and Show the taskbar.
19 , wpchanger.zip
This shows how to change Windows' Desktop Wallpaper
20 , discad.zip
This shows how to disable control alt and delete by tricking the computer into thinking that the screensaver is running.
21 , windowfrompoint.zip
Get a window's handle from the current cursor position.
22 , api.zip
api function collection
23 , benchmark.zip
This program is very usefull program which gets the details of your computer and have an ability of changing some system details.
24 , menustructure.zip
This program will retrieve the full menu structure of a Form, up to three levels, and allow the user to modify it.
25 , crackPassword.zip
This is a very unusual program which will let you read behind those ******* in password fields and recover captions from Dialogs, Labels, Command Buttons, TextBoxes...
26 , hotkey_source.zip
Hotkey Manager Beta Version: Manages and implements hotkey in Windows 95/98/NT.
27 , rjsoftapisamples.zip
The samples included in this project use the few API
28,sysmetrics.zip
This is a windows information viewer. You can use this sample to find or select an open window, and view information about the window, such as its hwnd, size, and parent window.
29,launcher.zip
This is an ActiveX DLL that causes a client app to wait for another app to finish. The library takes care of launching the new app and doing all of the synchronization. It also returns the exit code for the process.
30,servcont.zip
It enables you to start and stop NT Services through the Win32 API, change the startup type and the security account associated with it. Included is a test harness so that people can see how it works. The code has been tested under NT4 SP6a
31,passdemo.zip
This is a very good example of how to use the registry to save data. It shows how to create, store and save a password to the registry and also encrypts it to keep out prying eyes.
32,delay.zip
This is a rough translation of the GetTickCount API and includes three different ways to pause an application.
33,cdromsystray.zip
This excellent program which was sent to us annoymously adds an icon to the systray (bottom right on the start menu bar) and allows you to control the opening and closing of the CDROM.. Easily adaptable, and if you wrote this and want to be credited
34,rgbdemo.zip
Very small, very fast. Complete source included to demonstrate how to translate a long to red, green and blue values
35,sleep2.zip
This is a small project showing how to use the Sleep API call from within your program to pause for a set period of time. Its much better than looping round as it uses very little CPU time
36,threads.zip
This application is only used to show how a multithreaded program is structured through the 'eyes' of VB. If you follow the logic of the program it does teach a lot about multithreading and the necessary techniques to do this in a 'Thread Safe environmen
37,callback.zip
This small project is for the more advanced VB users and shows an undocumented VB function and an undocumented Win32 API function. Demonstrated in the project how to use these two functions in order to raise events in a class from a module
38,ctaskmanager.zip
This application contains the same basic functionality as the task manager in Windows. It allows you to see the loaded windows on your system as well as the class, position and process ID for each window. Remember that every process running on a system
39,cprocessfinished.zip
This little routine will test if a shelled process has finished executing and return true or false. Its bits of code like that we would like more of, so please send them.
40,apimsg.zip
API Message Box
41,freespc.zip
Get a Drive's Free Space
42,drvinfo.zip
Get Drive Information (S/N, Label, Format)
43,nodisk.zip
Show Message When There is No Disk in a Drive
44,fullpath.zip
Add Full Paths to a TreeView
45,disksrch.zip
Search for Disk in a Removable Drive
46,drvtype.zip
Determine Drive Type
47,findcd1.zip
Find the First CD-ROM
48,xxsShell32.zip
Shell32 functions and subs wrapper for VB developers.
49,api2.zip
This application is designed to help VB Developer to find Windows API Easely.
50,qsvb.zip
QuickSilver for Visual Basic, aims to provide a wrapper for all important Windows API functions by a simple class. All the operations are included as properties and methods that can used with the same ease as any other part of your dream project.
51,CPUInfo.zip
This code will quickly tell you a lot of your system information like computer name, IP address, OS, Service Pack, Processor Vendor, Processor Type, Processor Speed (Raw and Normal), RAM (Total and Available).
52,Callbacks.zip
It is nice little application, which demonstrates WinAPI Callbacks. It hides and restors all Yahoo chatting window in a single click.
53,ShellTrayIcon.zip
The CShellTrayIcon class allows your VB application to set, change and delete icons in the system's tray (note: the official term for the tray is the taskbar notification area). The class raises an event in your application when the user clicks an icon in the tray.
54,EventCtl.zip
This little control greatly simplifies the business of subclassing a form to get at the extra events that the Visual basic designers left out. i.e.:
55,EuroCalc2.zip
In place conversion between every one of the European Monetary Union member currencies and the Euro.
56,Edge.zip
In my program i have used few API functions to set 3D,Sunken,etched effects to the images of your image control.Another example shows how to change your label control to a 3D command button almost functionally.
57,Prjfloat.zip
I have used two APIFuctions 'Setwindowword' and 'Setparent' to make the child window float
freely and with in the parent window. Open with vb5 and vb6.
58,FilterTextBox.zip
This program shows how to filter out characters from TextBox control.Uses GetWindowLong and SetWindowLong APIs.
59,SysControl.zip
This is a program that will let you show, hide, alter text, capture a picture, change the parent, kill, close, enable, disable, get info on, minimize, maximize, restore, capture a picture of, make them stay-on-top, send a message to, edit the window style, and flash the title bar on almost any target!
60,LBApi.zip
This program uses Sendmessage API function for additem,removeitem,clear,selcount,listcount etc, with a horizontal scroll bar.(List/combo)
61,winnanny.zip
U can use Winnanny to restrict unauthorised people from running programs u don't want them to on your pc .It Uses simple api functions to do this.
62,ReadWriteIni.zip
Creates .ini file, writes to it and reads from it. Demo project shows how to write usernames and passwords. For clarity's sake I made it write user color preferences.
63,capture.zip
This program captures the active window and displays it to a Picture box.
64,TransIco.zip
An update to my previous code : Added a couple of features some ppl asked me for...like the ability to change the text colour of the icon and also keep the background transparent after a desktop refresh.
65,shutdown.zip
Shut Down Windows with Windows Shutdown Dialog.This is the real thing , not Kill , It is a real API Call, I hope you find it useful.
66,alarm.zip
A VB alarm clock.
67,clcViewWinInfo.zip
ViewWinInfo is a windows information viewer. You can use this sample to find or select an open window, and view information about the window, such as its hwnd, size, and parent window.
68,ptinrect.zip
Use the PtInRect API function to create an annoying program.
69,fliphorizvert.zip
Flips a picture using the StretchBlt API function.
70,animation.zip
Use BitBlt to crate flickerless animation

立即下载
热门资源标签
Global site tag (gtag.js) - Google Analytics