Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 工程代码
Search - 工程代码 - List
DL : 0
使用CMemDC类解决应用程序的闪烁问题 在你的MFC程序中解决闪烁问题是个烦心的工作。你可以在书上或者网上找到关于这方面的介绍,但是介绍的技术一般都是很复杂的或者是很难应用到已经存在的程序中去。 一个京城使用的技术叫做双缓冲。双缓冲使用一个新的缓冲来画屏幕,然后把整个的屏幕显示在真正的屏幕上。 这篇文章使用了叫做CMemDC的类,这个类封装了绝大部分写入off-screen缓冲区的方法。在已经存在的MFC或者是ActiveX控件中加入CMemDC类是非常方便的。 怎样在你的MFC程序中使用CMemDC 1.在你的工程中加入memdc.h文件。 2.在stdafx.h中加入代码#include \"memdc.h\" 3.为窗口做WM_ERASEBKGND的消息映射 4.象下面那样改变处理消息的代码:-use CMemDC category of applications to solve the problem flashing in your MFC process is resolved Flicker 000 bother work. You can book online or find this regard, But introducing the technology in general are very complex or difficult to apply to already existing programs. Beijing used a technique called double buffering. Double buffer using a new buffer to paint a screen, then the screen shows that the whole of the real on the screen. This article called CMemDC use of the category, this category included the majority of package off-screen buffer method. The existence of MFC or ActiveX add CMemDC category is very convenient. What in your MFC procedures used CMemDC one. In your works into memdc.h document. 2. In addition stdafx.h code # include "memdc.h" 3. For window W M_ERASEBK
Date : 2008-10-13 Size : 2.39kb User : 罗成

DL : 1
一款VB程序反编译工具,能够反编译VB5/VB6的部分程序代码。 主要功能如下: 1、分析程序所用窗体,模块,类模块API,图标,图像; 2、反编译P-CodeExe代码; 3、重建VB工程; 4、加密模块,防止其它软件反编译; 5、抓取内存映射文件。 -new anti-VB compiler tool that can decompile VB5/VB6 part of the code. The main functions are as follows : a, analytical procedures used forms, modules, API module type, icons, images; 2. anti-P compiler - CodeExe code; 3, reconstruction VB; 4, encryption module, prevent other anti-software compiler; 5, crawls memory mapping document.
Date : 2008-10-13 Size : 2.21mb User : 魏存庆

实现汉字与拼音的转换。有实例和代码。可引用在自己的工程中。-achieve with the Chinese phonetic conversion. There are examples, and code. Can be used in their projects.
Date : 2008-10-13 Size : 535.74kb User : dssdf

国防工业部VB代码QICQ (1)Server所需环境: 在..\\windows\\system\\下有: msvbvm60.dll mswinsck.ocx 在..\\commonfiles\\designer\\下有 msderun.dll 在..\\commonfiles\\system\\ado\\下有 msado20.tlb 工程文件:server.vbp 数据库文件:QICQ.mdb已经有用户: flyer(密码:1),huang(密码:1) 服务器的端口为716 (2)Client所需环境: 在..\\windows\\system\\下有: msvbvm60.dll mswinsck.ocx mscomctl.ocx mscomct2.ocx 工程文件:Client.vbp-defense industry VB code Diego (1) Server for the environment : in .. \\ windows \\ system \\ under : in msvbvm60.dll mswinsck.ocx .. \\ commonfiles \\ designer \\ under the msderun.dll .. \\ commonfiles \\ sy stem \\ ado \\ under msado20.tlb project documents : server.vbp database files : QICQ.mdb have users : flyer (Password : 1), huang (Password : 1) server port 716 (2) Client for the environment : in .. \\ windows \\ system \\ under : msvbvm60.dll mswinsck.ocx mscomctl.ocx msco mct2.ocx project documents : Client.vbp
Date : 2008-10-13 Size : 51.62kb User : kingpwf

DL : 0
欢迎使用月影飞狐游戏修改器--内存修改 v1.0 (目前只支持 win 2k/xp/2003 系统) 本程序包含3个可执行文件, Gamer.exe Gamerdll.dll GameRun.exe .Gamer.exe的源 代码在Gamer目录下,Gamerdll.dll的源代码在Gamerdll目录下,GameRun.exe的源代码在GameRun 目录下,其中Gamer.exe为主程序文件,Gamerdll.dll是动态连接库,GameRun.exe为游戏自修改补 丁,支持游戏Directx模式下直接弹出,热键是小键盘的 * 键,对于不能在directx模式下弹出的游戏, 可以按小键盘的 - 键弹出主程序界面,然后选择游戏进程进行修改.在源代码目录中.rap文件为 RadAsm集成开发环境的工程文件. 程序使用 100% Win32 汇编语言程序设计,3个执行文件合起来才42K的大小,共4451行汇编源 代码(不算资源文件). 月影飞狐游戏修改器以windows进程和线程环境知识为基础,以完全独创的搜索算法为 手段,其中使用了PE(可执行文件)文件结构,windows结构化异常处理(SEH)技术,使得其搜索 速度和金山公司的金山游侠相差无几,而且搜索的精度高于金山游侠,支持模糊搜索,可以生成 游戏自修改补丁程序. 目前月影飞狐游戏修改器已经在星际争霸等游戏上测试通过.但在内存占用超过100M的游戏 中不够稳定. -welcomed the use of video on flying fox-game changes -- changes v1.0 memory (currently only supports the win 2k / x p/2003 system) the procedures contained three executable files, Gamer.exe Gamerdll.dll GameRun.exe. Gamer.e xe in the source code directory Gamer, Gamerdll.dll the source code in Gamerdll directory, GameRun.exe the source code in GameRun directory, which Gamer.exe main program file Gamerdll.dll is a dynamic link library, GameRun.exe game since patches, support DirectX games directly pop mode, hotkey is a small keyboard * key, not pop DirectX mode of the game, according to the small keyboard-key pop main program interface, then the process of selecting the game changes. the source code directory. rap document RadAsm Integrated Development Environment works documents. procedure
Date : 2008-10-13 Size : 266.66kb User : vro0

DL : 0
计算文件或工程中代码的行数,包括Code的行数、注释的行数、混合行的行数等。
Date : 2008-10-13 Size : 659.86kb User : Yan

这里是OpenCSP 0.1版的工程代码,相当的不错,对开发csp很有帮助
Date : 2008-10-13 Size : 147.07kb User : 赫赫

DL : 0
本文介绍了在VB环境下采用结合本系统需求及开发特点,以Windows XP 为开发平台,采用Access 2003作为后台数据库管理系统,同时选择了比较简单,且功能强大的Visual Basic。实现提取和保存信息,同时运用多种手段对信息进行添加、删除、修改、和查询。应用软件工程的思想和方法,总体上采用结构化生命周期法进行系统分析和设计,然后采用快速原型法来实现系统。文章介绍了学生课程管理系统的系统分析部分,包括可行性分析、业务流程分析等;系统设计部分主要介绍了系统功能设计和数据库设计及代码设计;系统实现部分说明了几个主要模块的算法,本系统界面友好,操作简单,比较实用。
Date : 2008-10-13 Size : 20.9kb User : gssdxjx

DL : 0
vb2005写的串口读写类。把Txt文件中的代码copy到工程中就可以用了。
Date : 2008-10-13 Size : 6.55kb User :

DL : 0
此代码是用C++编写的,通过建立工程的方法来求一个数的阶乘。适合初学c++者!
Date : 2008-10-13 Size : 5.72kb User : xl

DL : 21
、 先在microchip网站上找到00738.zip,这个包中有 can18xx8.h,can18xx8.c,将其复制到一个你要编写程度的子目录中,例如C:\testcan下,这个时候这个东东是不能直接用的。 2、 下载一个MPLAB 7.10,直接安装(要求直接下载) 3、 再下载一个PICC18 (HI-TECH的),要正版哦(支持正版,买不起的想其它办法吧) 4、在你的头文件上写上如下的样式: #include "stdio.h" #include "can18xx8.h" #include "pic18fxx8.h"//可能是“pic.h”不太好包含,因此常会报错,直接包含克服之 5、然后设置好PICC和MPLAB,如果MPLAB上没有PICC18,则到PICC的网上下一个安装软件,可以直接运行安装就有了。 6、按照工程的基本要求把你的源代码、添加上两个库(不加也可以) 然后就可以写如下代码了:下面是一个完整版,可以直接使用microchip的库函数,本程序只是仿真调试过,未在多个芯片通信过,仍在制作中。 #include "stdio.h" #include "can18xx8.h" #include "pic18fxx8.h" unsigned long NewMessage; BYTE NewMessageData[8]; BYTE MessageData[8]; BYTE NewMessageLen; enum CAN_RX_MSG_FLAGS NewMessageFlags=1; BYTE RxFilterMatch; void main() { //int a; //int b; CANInitialize(1, 5, 7, 6, 2, CAN_CONFIG_VALID_XTD_MSG); while(1) { // Application specific logic here // Check for CAN message if ( CANIsRxReady() ) { CANReceiveMessage(&NewMessage,NewMessageData,&NewMessageLen,&NewMessageFlags); if ( NewMessageFlags & CAN_RX_OVERFLOW ) { // Rx overflow occurred; handle it } if ( NewMessageFlags & CAN_RX_INVALID_MSG ) { // Invalid message received; handle it } if ( NewMessageFlags & CAN_RX_XTD_FRAME ) { // Extended Identifier received; handle it } else { // Standard Identifier received. } if ( NewMessageFlags & CAN_RX_RTR_FRAME ) { // RTR frame received } else { // Regular frame received. } // Extract receiver filter match, if it is to be used RxFilterMatch = NewMessageFlags & CAN_RX_FILTER_BITS; } // Process received message // Transmit a message due to previously received message or // due to application logic itself. if ( CANIsTxReady() ) { MessageData[0] = 0x01; CANSendMessage( 0x02,MessageData,1,CAN_TX_PRIORITY_0 &CAN_TX_STD_FRAME & CAN_TX_NO_RTR_FRAME); } // Other application specific logic } // Do this forever // End of program } 以上均是参考文档并进行了修正,由于中间总是报错,为了大家让CAN更容易,谢谢大家!
Date : 2009-05-25 Size : 10.43kb User : lovelzs2008@126.com
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.