登录
首页 » Windows开发 » 用VC环境和DirectX写的一个天蚕变一样的游戏

用VC环境和DirectX写的一个天蚕变一样的游戏

于 2022-08-07 发布 文件大小:44.42 kB
0 160
下载积分: 2 下载次数: 1

代码说明:

用VC环境和DirectX写的一个天蚕变一样的游戏-VC environment and DirectX was a necessity of the same game

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这个小程序会C的人应该都知道的
    这个小程序会C的人应该都知道的-small procedures C should know
    2022-03-13 10:14:01下载
    积分:1
  • 获得焦点的窗口和窗口的句柄
    应用背景通过使用这个应用程序,您可以轻松地获得标题和当前焦点的窗口句柄的句柄。在这个项目中我们必须使函数调用user32.dll是Windows的API的一部分。两种功能,我们将使用:getforegroundwindow() -得到处理和了解处理我们可以称getwindowtext()获得窗口的标题。关键技术在我们进入代码之前,让我们先添加2个标签,2个文本框和一个计时器。相应地将所有这些名称命名,设置定时器的时间间隔,当然,允许它。现在的代码。首先,我们定义我们的使用报表:使用系统;使用系统;使用system.windows.forms;使用system.runtime.interopservices;我们需要一个命名空间,所以我们可以使用dllimport。然后我们宣布我们的Windows API函数使用dllimport: ; ; ; ; ; ; ;[ dllimport(“user32。dll”)]静态extern int getforegroundwindow();【dllimport(“user32。dll”)]静态extern int GetWindowText(int HWND,StringBuilder文本,int数);最后,我们插入下面的代码,在计时器的滴答声(双按您的定时器在设计视图)事件: ; ; ; ; ; ; ; ; ; ; ; ;const int CHR = 256; ; ; ; ; ; ; ; ; ; ; ;int处理= 0; ; ; ; ; ; ; ; ; ; ; ;StringBuilder缓冲=新的StringBuilder(CHR); ; ; ; ; ; ; ; ; ; ; ;getforegroundwindow()处理=;&n
    2023-04-09 00:00:03下载
    积分:1
  • ODBC封装类操作数据库
    ODBC封装类操作数据库-ODBC database operation
    2023-01-18 23:25:04下载
    积分:1
  • 等待另一个程序运行结束
    wait another program to run end
    2022-01-26 03:12:49下载
    积分:1
  • 一个类Spy++的搜索窗口程序
    一个类Spy++的搜索窗口程序 -a category search window procedure
    2022-08-19 10:38:59下载
    积分:1
  • XML解析工具封装
    此工程为对tinyxml库的封装,封装接口全部在XML.h中提供,支持从.xml文件中读取字段属性,新增了从内存读取字段属性和写XML文件功能,方便操作xml文件。该工程已用在项目开发中,亲测稳定。
    2022-02-10 08:09:38下载
    积分:1
  • 缩小在桌面的右下角,在一定条件的触下,以右下角为基点,向左方,上方放大出一个正方形框,里面可以包含一些字或者图片。
    缩小在桌面的右下角,在一定条件的触发下,以右下角为基点,向左方,上方放大出一个正方形框,里面可以包含一些字或者图片。-Narrowing in the lower right corner of the desktop, under certain conditions under the trigger to the bottom right corner of the base, the left side, top to enlarge a square box, which can contain some of the words or pictures.
    2022-02-01 17:36:54下载
    积分:1
  • 本示例使用FTP客户端配置库(ftpc)实现简单…
    This example uses the FTP Client Profile library (ftpc) to implement the simple FTP PUT and GET operations to a known Bluetooth device that supports the File Transfer Protocol service as a server. This ReadMe is not intended to describe procedures that are covered in the xIDE user guide such as building projects in xIDE etc.
    2023-05-19 09:05:04下载
    积分:1
  • 根据输入日期求星期几的小程序源码。使用VC++6.0中文环境
    根据输入日期求星期几的小程序源码。使用VC++6.0中文环境-According to enter a date for a few weeks a small program source. Use VC++ 6.0 Chinese environment
    2022-02-09 22:42:08下载
    积分:1
  • C/C++应用编程200例
    C/C++应用编程200例-C/C Application Programming 200 cases
    2022-05-10 17:12:22下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载