Welcome![Sign In][Sign Up]
Location:
Search - id make

Search list

[Windows Developsf_200562516252

Description: 一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below: struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //here you can do something about connection session,such as find a unique id. SetIoCompletionPort(socket, s) // make connection socket associate with a custom structure } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // return received message to client void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) //start listenning net port,wait for client connect.
Platform: | Size: 2701 | Author: boxu | Hits:

[Windows DevelopMayVote10

Description: 功能: 1.使用JS调用 2.方便的后台管理,可自由添加/删除 管理员 3.可以自定义投票项目为 单/多 选 4.可以自定义投票 选项的排列顺序 5.每个投票项目下的选项不做任何数量限制,支持无限 6.每个投票项目使用独立的防刷新限制,可以自由设置投票间隔时间 7.支持数据库 备份/恢复/压缩 后台登陆:MayVoteAdmin/Admin_Login.asp 管理员ID:admin 密码:admin-functions : 1. Calling the use of JS 2. The background to facilitate management, free Add / Remove Manager 3. You can define items to vote for single / multiple select four. You can define voting options row order out five. each vote under the option to make any quantitative restrictions. support for unlimited 6. each item to vote against the use of an independent set of restrictions, free time interval set to vote 7. support for database backup / recovery / compression background landing : MayVoteAdmin / Admin_Login.asp administrator ID : admin Password : admin
Platform: | Size: 85501 | Author: 王洋 | Hits:

[WEB Codexp_ie

Description: context.htc /mbar.htc 属性说明(仿xp多级菜单 不限级) 属性 说明 默认值 备注 xmlsrc : xml文档路径 无 必须指定,xml文档不能出错 text :显示的文本 无 id :选项的id 无 onclick :选择时执行的脚本 无 accessKey:快捷键 无 check :是否选定(yes/no) no enable :使能(yes/no) yes type :类型(line/选项) 选项 img :图片 无 NOTE: 请在 MSIE 5.5 以上版本浏览 xp_IE 尚未完成-context.htc / mbar.htc attributes (imitation xp multi-level open-level menu) Note default attribute values xmlsrc Remarks : xml files must be no designated trails. xml text files can not make any mistake : the text shows no id : options without onclick id : choose the script without accessKey : no shortcuts check : if selected (yes / no) no enable : enable (yes / no) yes type : Category (line / option) options img : Photo-NOTE : please MSIE 5.5 versions View xp_IE yet to be completed
Platform: | Size: 37742 | Author: 可爱的中国 | Hits:

[JSP/Javafilemag

Description: 一个关于文件管理的小程序,使用main.jsp?id=就可以看到文件列表 仅做交流使用,用做商业用途,请保留此说明。 文件管理可以更改,删除文件,修改文件内容,修改文件名。-a document on the management of small programs, use id = main.jsp can see the list of files used only in exchanges, used to make commercial use, this note should be retained. Document management can change, and delete files, modify the contents of the documents, modify the file.
Platform: | Size: 12934 | Author: 贝贝 | Hits:

[WinSock-NDISj_7073_tee5_mir2

Description: 1:布局重新整理,使其更合理,修正慢的问题! 2:首页增加留言显示! 3:修正本地软件无法下载问题! 4:修正装备展示内容限制问题,可以无限添加! 5:删除合作资源,增加了新手指南! **************************************************** 保持3.3所有功能 V3.4更新内容 1:解决后台网站设置问题 2:增加菜单管理功能!(分顶部导航,顶部版权) 3:客服部分,电话,QQ采用无限制! 4:增加在线统计修改功能! 5:修正新手指南首页不显示错误! 6:修正了新手指南内容不换行错误! 7:修正新闻公告注入BUG! 8:修正首页只能显示一张照片的错误! 由于时间匆忙,请各位手动升级 V3.4最新功能,导航菜单添加管理, 升级方法: 新建表:Gq_menu 字段:id 自动编号 字段:menuid 长整型 字段:title 字符型 50 字段:url 字符型 随意 字段:open 逻辑型 字段:foot 逻辑型 字段:pass 逻辑型 新建表:Gq_config 字段分别为:qq dh sf RMB bbs 全部为备注型 -1 : layout re-organized to make it more reasonable, that the problem of slow! 2 : Home show increased voice! 3 : Amendments to the local software can not be downloaded! 4 : Amendments equipment display content restrictions, can add unlimited! 5 : delete cooperation resources, the increase is coming! **************************************** ************ maintain all the functions SP 3.3 update 1 : background website set up to solve two problems : increasing menu management functions! (Sub-Top navigation, top copyright) 3 : customer service, telephone, unlimited use QQ! 4 : increase online statistical change the functional! 5 : Home Guide that newcomers do not show wrong! 6 : Amendments to the novice Guide content is not wrong for OK! 7 : Amendment to a press release into BUG! 8 : Home amend
Platform: | Size: 1413605 | Author: bayygyib | Hits:

[ASP9yxw---9yiyiyiyi

Description: 使用说明: --- --- --- --- --- --- ---- 1:这是本人最早用过的,比较简单,便于修改,适合初学做网站的参考。 2:本系统是一个小型新闻发布系统。可以做为一个新闻频道,也可以做一个小型的新闻网站。 3:后台添加1~2级导航菜单 4:为了加快首页显示速度,LOGO链接将只在内页显示,首页只显示文字链接。 5:数据库已经做了防下载处理 6:你可以做任何修改,本人不保留版权。希望使用本系统的,能够保留本站的链接。 7:本系统免费提供给你使用,因此本人不对使用本系统造成的一切后果负责。 ----------------------------------------------------------------------------- 演示地址:http://www.9y.com.cn/ph/ 后台登陆地址:admin.login.asp 管理ID:admin 管理密码:www.9y.com.cn 如果有什么问题,请到www.9y.com.cn/bbs留言 ------------------------------------------------------------------------------ 如果你要转载,请保留以上信息,谢谢。-use : --- --- --- --- --- --- ---- --- --- --- --- --- --- 1 : This the first I used, more simple and easy to change, so for a novice website reference. 2 : The system is a small press publishing system. Can be used as a news channel, but also can do a small news website. 3 : Background to add a two-navigation menu 4 : In order to accelerate the pace of the homepage shows, LOGO will only link, page, the homepage only display text link. 5 : database has been done to deal with anti - Download 6 : You can make any changes, I do not retain copyright. Wish to use the system, to retain the link to the site. 7 : The system is free for you to use, so I use the system not all the consequences of responsibility. ----------------------------------------
Platform: | Size: 92620 | Author: ch | Hits:

[Modem programkdtele3

Description: Make and answer phone calls Detect tone and pulse digit from the phone line Capture Caller ID Support blind transfer, single-step transfer/conference, consultation transfer/conference, hold, unhold. Control of the local phone handset, microphone and speaker of the modem Send and receive faxes Play and record on the phone line or sound card Play music in background mode Silence detection VU Meter Wave sound editor that allows your end-users to edit their own sound files. Voice recognition and voice synthesis. Full control over the serial port device ZModem file transfer utility File compression and encryption utility
Platform: | Size: 7383819 | Author: 吴柳 | Hits:

[ActiveX/DCOM/ATLLabVIEW

Description: The,agonthm solution of virtllal instrument based on Izb lE is investigated.Th is involved use of Izb lE function libraries ,Dyna/nie Data Exchange(DDE)communication,ActiveX technology,etc.In addition,to make use ofperfect aIgori in MA TLAB,three approaches ofhyb,id pwgrmmning betweenIzb lE andMA TLAB areintroduced .Th e alg0ri solution provides an efective pathto buildtheme.asttl~wtent and control sys· tem and it is bupetuUy to develop virtl~ instrument with more intelligence
Platform: | Size: 175841 | Author: DUDU | Hits:

[Video Captureh.263开发

Description: 本次专题的目标 因为在视讯会议透过网络的传输 ,会因为音讯(Audio)以及视讯(Video)的压缩以及解 压缩的速率的不同 ,音讯讯的解压快 , 因此使将其经网络传输后,载另一方也能把声音以 及影像同步(Synchronization),而本组的目标即是将音讯以及视讯的讯号不但能够加以压 , 缩再经由ATM来传输,并能加以整合使 其能同步化,以能达到real time 的传输 来自: http://vk100.com/oblog/more.asp?name=tucket&id=80-this topic in the meeting via video transmission network, because audio (Audio), and video (Video) compression and decompression of the different rate, the audio decompression -- fast, it will make its transmission via the Internet, can also contain other voice and video synchronization ( Synchronization), and the goal of the group is to audio and video signals not only to be suppressed, and then reduction to ATM transmission, and can be integrated to enable it to synchronize to achieve real-time transmission from : http://vk100.com/oblog/more.asp name = 80 = tucketid
Platform: | Size: 407247 | Author: 王凡 | Hits:

[File Operatejsp文件管理

Description: 使用main.jsp?id=就可以看到文件列表 仅做交流使用,用做商业用途,请保留此说明。 文件管理可以更改,删除文件,修改文件内容,修改文件名。-use id = main.jsp can see the list of files used only in exchanges, used to make commercial use, please retain this note. Document management can change, and delete files, modify the contents of the documents, modify the file.
Platform: | Size: 17294 | Author: 成军 | Hits:

[Applications简单的用户密码管理系统(部分)

Description: 提供软件的一般用户管理系统 建立的表:以下表在建立时应该先加密码,程序打开时才由程序传递密码。以 避免直接用工具可打开DB文件。 ① 用户资料表 用户ID: 用户登录时输入的用户名。 用户姓名: 用户的真实姓名。 密码: 用户密码(在存入前应该进行必要的加密) 权限: 用户级别。 有效期开始:该帐号从何时开始有效(下面程序没利用该功能) 有效期截止:何时该帐号不能用。 是否有效: 可以让该用户暂时为不可用。 出错次数: 用户连续输错密码次数(当有正确输入时复位) 出错限度: 允许输错密码次数,如果超过该限度,该用户置为不可用,必须找管理员为其复位。 备注: 必要的说明。 -provide software to the general user management system established by the table below : in the following table should first establish password, procedures to open only from the transfer procedure code. In order to avoid the direct use of tools to open DB documents. user information table user ID : users log input by the user. User Name : user's real name. Password : user password (deposited in the former should undertake the necessary encryption) competence : user-level. Valid beginning : the account from the effective date (the following program does not make use of the function) is valid deadline : When the account can not be used. Effective : the user can temporarily unavailable. Wrong number : user password for the wrong number (when a correct entry reset) limit mistakes : Allow t
Platform: | Size: 2309 | Author: 才才 | Hits:

[GUI Developbrew window manager

Description:

 

Objective
This topic describes how to create a windowed application that will share the display with other applications.
Brew® MP windowed applications need to be written differently than traditional Brew MP applications. Traditional Brew MP applications, when running in the foreground, occupy full screen space and can modify the display at any time. In the windowing framework, multiple applications share the display at the same time and are not allowed to modify the display arbitrarily. A windowed application also needs to create one or more widgets to be used to create the windows.
A windowed application needs to:
·                  Create and initialize one or more widgets to be passed to IWindowMgr_CreateWindow().
The application can implement its own IWidget, or it can make use of an existing IWidget.
·                  Handle the EVT_APP_START_WINDOW event (and create a window).
·                  Implement handlers for visibility changes, focus changes, and extent changes. The implementation of these handlers is dependent on the details of the application.
·                  Draw in two stages:
·                                  Tell the container that drawing is necessary (ICONTAINER_Invalidate()).
·                                  Draw only when told to draw by the container (IWIDGET_Draw()).
Note: A windowed application should not call any functions that modify IDisplay directly. This includes explicit IDisplay function calls or implicit updates, such as calls to IIMAGE_Draw() or ICONTROL_Redraw(). Drawing should happen only on demand, for example, when IWIDGET_Draw() is called for the widget used to create the window. Existing Widget based applications follow these guidelines and, with minor modifications, can be ported to the windowing framework.
Event handling
A windowed application must respond to these events:
EVT_APP_START_WINDOW and EVT_APP_START
A window-based application receives EVT_APP_START_WINDOW first. If the application returns TRUE for this event, the application does not receive EVT_APP_START. If an application needs to support both the environments (window based and non-window based), it should handle both events.
When the application receives EVT_APP_START_WINDOW, it should create one or more windows.
If creation of IWindowMgr0 fails while handling EVT_APP_START_WINDOW, the application should assume that the platform does not support window-based applications. In this case, the application should return FALSE and continue the application logic in the code for EVT_APP_START.
EVT_APP_SUSPEND and EVT_APP_RESUME
After an application returns TRUE for EVT_APP_START_WINDOW, it will not receive EVT_APP_SUSPEND and EVT_APP_RESUME as non-windowed Brew MP applications do. Instead, the application must check for window status events that are sent to the widget through EVT_WDG_SETPROPERTY events. For EVT_WDG_SETPROPERTY events, wParam indicates which property was set, and dwParam specifies the value of the property. When the AEEWindowMgrExt_PROPEX_STATE property has a value of AEEWindowMgrExt_STATE_VISIBLE, the window is visible.
EVT_WDG_WINDOWSTATUS
The EVT_WDG_WINDOWSTATUS event is sent to a widget to notify it about various window related status messages. AEEWindowStatus.h contains information on the meaning of various status messages.
Sample code location

ZIP filename
Location
Run app
hellowindowapp
Brew MP Library
·                       Download and extract the ZIP file.
·                       Compile the app.
·                       Run it on the Brew MP Simulator.

Example of a windowed application
In the hellowindowapp sample, HelloWindowApp_HandleEvent handles the EVT_APP_START_WINDOW event and creates soft key and pop-up windows:
   case EVT_APP_START_WINDOW:   
      DBGPRINTF("EVT_APP_START_WINDOW");
 
      // Create the softkey and popup windows
      HelloWindowApp_CreateSoftkey(pMe);
      HelloWindowApp_CreateOrActivatePopup(pMe);
 
      // Handling this event tells Brew that we are a windowing
      // application.
      return TRUE;  
HelloWindowApp_CreateSoftkey() creates the soft key widget, sets the color text of the widget, then calls HelloWindowApp_CreateWindow() to create the window.
   WidgetWindow *pWindow = &pMe->softkeyWindow;
  
   if (pWindow->piWindowWidget != NULL) return;
   pWindow->pszDbgName = "Softkey";
   pWindow->pMe = pMe;
  
   (void) ISHELL_CreateInstance(pMe->applet.m_pIShell, AEECLSID_SoftkeyWidget,
            (void **) &pWindow->piWindowWidget);
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WidgetExtent extent = {0, HWA_SOFTKEY_HEIGHT};
      IWidget_SetExtent(pWindow->piWindowWidget, &extent);
   }
  
   (void) IWidget_SetBGColor(pWindow->piWindowWidget, MAKE_RGBA(200,200,200,255));
  
   // Now set the softkeys text
   {
      IWidget *piTextWidget = NULL;
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY1, &piTextWidget);
     
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Hover", TRUE);
      }
      RELEASEIF(piTextWidget);
 
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY2, &piTextWidget);
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Close", TRUE);
      }
      RELEASEIF(piTextWidget);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Softkey);  
HelloWindowApp_CreateWindow() creates the soft key window, as follows:
   int result;
   uint32 winId;
   AEEWindowProp propList[1];
  
   // Set custom window handler
   HANDLERDESC_Init(&pWindow->hdHandler, HelloWindowApp_WindowHandler, pWindow, NULL);
   IWIDGET_SetHandler(pWindow->piWindowWidget, &pWindow->hdHandler);
        
   propList[0].id = AEEWindowMgrExtProp_CLASS;
   propList[0].pbyLen = sizeof(winClass);
   propList[0].pby = (void *) &winClass;
     
   result = IWindowMgr_CreateWindow(pMe->piWindowMgr, (IQI*) (void *) pWindow->piWindowWidget,
      propList, ARR_SIZE(propList), &winId);
 
   if (result != SUCCESS) {
      DBGPRINTF("Window creation failed for %s: %d", pWindow->pszDbgName, result);
      HelloWindowApp_DestroyWindow(pWindow);
   } else {
      DBGPRINTF("Window %s created: id=%d", pWindow->pszDbgName, winId);
   }
HelloWindowApp_CreateOrActivatePopup() creates the widget for the pop-up window, then calls HelloWindowApp_CreateWindow() to create the pop-up window.
   pWindow->piWindowWidget = HelloWindowApp_CreateAndInitImageWidget(
                                pMe,
                                "popups.main" // Image as defined in appinfo.ini
                             );
 
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WExtent extent = {HWA_POPUP_WIDTH, HWA_POPUP_HEIGHT};
      IWIDGET_SetExtent(pWindow->piWindowWidget, &extent);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Popup);
Related information
·                  See Brew MP Widgets Technology Guide: Creating a Widgets application
·                  See Brew MP API Reference

Base version:
Brew MP 1.0
Tested version:
Brew MP 1.0
Phone tested:
No

 

Platform: | Size: 439828 | Author: bluecrest | Hits:

[Communication-Mobilekdvp16

Description: KDVoicePhone Toolkit开发工具可以使你的应用程序获得声音和电话方面的特性,如:a.. 打电话或回电话;b.. 如果对话已经在进行,可以中途接听;c.. 在电话线或声卡中回放和记录音频;d.. 从电话线中检测音频信号和脉冲信号;e.. 捕获呼叫方ID;f.. 可控制本机听筒,外部的麦克风和MODEM的外部喇叭;g.. 定时事件来跟踪回放和录音的过程;h.. 录音时可检测静音;-KDVoicePhone Toolkit development tools can make your application access to voice and telephone features, such as: a.. Call or return phone calls b.. If the dialogue already under way, you can receive half-way c.. In a telephone line or sound card in audio playback and recording d.. from the telephone line in the detection of audio signals and pulse signal e.. capture caller ID f.. can control the local handset, external microphones and MODEM external speakers g. . timing incident to track the process of playback and recording h.. recording can detect mute
Platform: | Size: 1662976 | Author: 站长 | Hits:

[OtherBiosId

Description: 从Windows98/NT/Me/2000/XP中取Bios序列号等信息,可供软件开发者作注册源使用-Bios from Windows98/NT/Me/2000/XP in check information such as serial numbers for software developers to make use of the source register
Platform: | Size: 26624 | Author: booksir | Hits:

[RFIDID

Description: 本程序RFID卡读卡器的源程序,希望能给大家做RFID时有帮助-This procedure RFID card reader of the source code, hope that they will be when everyone has to help make RFID
Platform: | Size: 3072 | Author: longagef | Hits:

[Program docCIDbook

Description: 演示怎样取电话来电显示号码,拨出号码,摘挂机状态,震铃状态,以及怎么进行电话录音。同时硬件系统提供一定的软件加密措施,通过得到硬件的序列号可以有效的保护你的软件。相信加入来电后的系统可以使你的软件功能成倍增加。-Demonstration of how to get caller ID phone number, allocated numbers, pick onhook state, Chun-ling state, as well as how to conduct telephone recording. At the same time, the hardware system to provide a software encryption measures to get the hardware through the serial number can effectively protect your software. Believe that after the call to join the system can make your software doubled.
Platform: | Size: 283648 | Author: yangzi | Hits:

[JSP/Javaid_make

Description: 這是我近一個星期所學的 JAVA awt 套件,寫出來的身分證工具。 -This is what I have learned a week near the JAVA awt package, written in the identity card tool.
Platform: | Size: 9216 | Author: chan ming | Hits:

[CSharpdaila

Description: 本系统运用现代化的技术,为中小型企业提供现代化的管理手段,提高企业产品信息的收集、处理能力,联动及反映能力,为各级领导和管理人员提供准确、及时的分析数据,提高管理的科学性和工作效率,促进企业管理工作合理化、规范化、系统化。本系统主要实现以下目标: ? 系统采用人机交互的方式,界面美观友好,信息查询灵活、方便,数据存储安全可靠。 ? 对用户输入的数据,进行严格的数据检验,尽可能的避免人为错误。 ? 客户在拨打企业电话客服时,系统会自动接收、识别并记录来电的主叫号码并显示相应的客户信息。 ? 客户电话打入时系统自动播放已设定好的欢迎词。 ? 用户在拨打企业电话客服后,系统会进行自动语音引导,客户通过按键选择,从而可以听到预先设置好的语音咨讯,如企业简介、信息、最新产品等……。所有咨讯信息通过按键即可获得。 ? 外线电话转接到座席电话功能,使来电者可以根据系统提示,转入人工服务,与座席人员直接进行交流。 ? 座席电话转接到座席电话功能。 -The system uses modern technology to provide SMEs with modern management tools, and improving product information collection, processing, interaction, and reflect the ability of leaders and managers at all levels to provide accurate and timely analysis of data, improve the management science and efficiency, promote enterprise management rationalization, standardization, systematic. The system is mainly to achieve the following objectives: ? system uses interactive manner, friendly and beautiful interface, information inquiry flexible, convenient, safe and reliable data storage. ? on the user input data, strict data validation, as much as possible to avoid human error. ? customers call customer service business phone, the system will automatically receive, identify and record the caller s Caller ID and displays the corresponding customer information. ? customer calls into play automatically when the system has set a good welcome. ? users to make telephone customer service busi
Platform: | Size: 617472 | Author: | Hits:

[Linux-Unixmmu_context_hash32

Description: Free a context ID. Make sure to call this with preempt disabled!.
Platform: | Size: 2048 | Author: yingdmbj | Hits:

[OtherVB验证码制作

Description: VB6 利用CPUIP硬盘ID制作验证码(VB6 uses the CPUIP hard disk ID to make the verification code)
Platform: | Size: 3072 | Author: dssq | Hits:
« 12 3 4 5 6 »

CodeBus www.codebus.net