-
有源码事例,还有说明.一看就明白,
一,把"HGB.dll"和"hgbguanligongcheng.dll"复制到系统文件夹"WINDOWSsystem3...
有源码事例,还有说明.一看就明白,
一,把"HGB.dll"和"hgbguanligongcheng.dll"复制到系统文件夹"WINDOWSsystem32"下.
二,新建一VB标准EXE,在"工程引用"下点击浏览把"WINDOWSsystem32"下的"hgbguanligongcheng.dll"
引用进来.
三,在窗体里声明一个对象变量yy
Dim yy As New hgbguanlimokuai
再在任一事件下引用YY里的函数过程
i = yy.chongqi() 本过程执行重启动计算机,无返回值
ii=yy.guanji() 本过程执行关闭计算机,无返回值
iii=yyy.huoquan() 本过程执行获得计算机管理权,成功返回1,失败返回0
注意: 生成exe文件在别的机上运行时要把两个DLL文件复制到系统文件夹"WINDOWSsystem32"下,.因为exe
文件在运行时会用到那两个DLL.
解释:
"hgbguanligongcheng.dll"文件里面有"hgbguanlimokuai"模块
"hgbguanlimokuai"模块里面有三个函数过程chongqi(),guanji(),huoquan()
我们声明YY为"hgbguanlimokuai"模块就等于在工程里加入了一个模块当然就能
在任何其他事件引用模块里的函数过程.-a source examples, there are shows. See at a, a, "HGB.dll" and "hgbguanligongcheng.dll" copied to the System folder " WINDOWS system32". 2, a new standard EXE VB. "works quote" Click here " WINDOWS system32" under the "hgbg uanligongcheng.dll
- 2022-02-02 07:16:06下载
- 积分:1
-
C++开发的推箱子游戏
1.类的划分
Cdraw类
绘画加载地图(包括围墙、人、箱子等等)
Cman类
是否完成(过关)
即时更新...
C++开发的推箱子游戏
1.类的划分
Cdraw类
绘画加载地图(包括围墙、人、箱子等等)
Cman类
是否完成(过关)
即时更新地图
2.设计思想
从文件map.txt里读取地图信息,然后通过Cdraw类加载地图,通过keydown事件调用Cman里的重载函数updatemap,
单参数updateMap(UINT nChar)是用于更改当前小人以及箱子的坐标,记录下来后传给updateMap(int x1, int y1, int x2, int y2, int x3, int y3)
从而改变地图。-C development Tuixiangzi a game. Class division Cdraw painting category loaded maps (including the wall, boxes, etc.) if the class completed Cman (clearance) updated maps 2. Design ideas from the paper map.txt Lane read map information, then pass Cdraw Class Loading maps, Calling the incident through keydown Cman Lane updatemap of overloading functions, updateMap single parameter (UINT nChar) is used to change the current villains and the coordinates of the boxes, After record pass updateMap (int x1, y1 int, int x2, int y2, x3 int, int y3), thus changing map.
- 2022-01-25 13:53:04下载
- 积分:1
-
Beautiful Code is a useful book for programming.
代码之美,对于编程的学习非常有帮助。能够规范代码的编写,是一本值得一看的好书。-Beautiful Code is a useful book for programming.
- 2022-03-02 22:06:25下载
- 积分:1
-
code of a classical statistical tools that can help you clear out your search fo...
一个经典的代码统计工具,可以帮助你清晰的查找出您的代码行数、注释行数、空格行数,希望能有所帮助!-code of a classical statistical tools that can help you clear out your search for the source line number, a few notes. a few spaces, hopes to have help!
- 2023-01-05 16:30:04下载
- 积分:1
-
实现16X16的点阵滚动显示。采用c语言编程,并在protuse上仿真通过...
实现16X16的点阵滚动显示。采用c语言编程,并在protuse上仿真通过-Achieve 16X16 dot matrix scrolling display. Using c language programming and emulation through on protuse
- 2022-03-16 13:38:08下载
- 积分:1
-
automation control for learning
automation control for learning
- 2022-08-23 10:50:30下载
- 积分:1
-
Pontoon, English
浮舟英汉词典,袖珍型词典,喜欢就拿去吧。-Pontoon, English-Chinese dictionary, pocket dictionary, like to take it.
- 2022-04-21 15:28:37下载
- 积分:1
-
发射部分采用锁相环式频率合成器技术, MC145152和MC12022芯片组成锁相环,将载波频率精确锁定在35MHz,输出载波的稳定度达到4×10...
发射部分采用锁相环式频率合成器技术, MC145152和MC12022芯片组成锁相环,将载波频率精确锁定在35MHz,输出载波的稳定度达到4×10-5,准确度达到3×10-5,由变容二极管V149和集成压控振荡器芯片MC1648实现对载波的调频调制;末级功放选用三极管2SC1970,使其工作在丙类放大状态,提高了放大器的效率,输出功率达到设计要求。-Part of the launch phase-locked loop frequency synthesizer using technology, MC145152 and MC12022 PLL chips to lock in the exact carrier frequency 35MHz, the output carrier to achieve the stability of 4 × 10-5, reaching the accuracy of 3 × 10-5 by the varactor diode V149 and integration to achieve MC1648 chip VCO FM modulation on the carrier selection transistor amplifier at the end of class 2SC1970, to work in the C state to enlarge and improve the efficiency of the amplifier output power to meet the design requirements.
- 2022-08-18 16:37:11下载
- 积分:1
-
本软件能够用来简单地计算GPA(加权平均成绩绩点)值
本软件能够用来简单地计算GPA(加权平均成绩绩点)值-Calculale GPA
- 2022-03-29 15:50:51下载
- 积分:1
-
ATA
ATA-PC-card(PCMCIA)卡的规范,对开发PCMCIA接口驱动的同志很有用的。-ATA-PC-card (PCMCIA) card specification, the PCMCIA interface driver development comrades very useful.
- 2022-04-12 14:10:52下载
- 积分:1