码迷,mamicode.com
首页 >  
搜索关键字:winapi    ( 488个结果
Handbook之010:函数重载
可以修改如下: 或者如下: 代码如下: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Co...
分类:数据库   时间:2015-10-23 18:31:45    阅读次数:263
Handbook之008:按值传递 与 按址传递
按值传递,会在函数内复制一个变量,不会改变外部参数的值。 按址传递,需要在参数上写var标识符,会改变外部传入参数的值。 如下图: 代码如下: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, S...
分类:数据库   时间:2015-10-23 18:22:13    阅读次数:188
网友分享 调用dll的语音朗读 不能变速,不好
调用 speeker.dll 这个文件被本人 放在文件里面,若有人需要可以 联系我需要 mfc100ud.dll msvcr100d.dll注:可以用D7 自带的ActiveX 里面的控件,可以调速,需要安装语音包。unit Unit1;interfaceuses Winapi.Windows...
分类:其他好文   时间:2015-10-22 16:55:49    阅读次数:173
doom3进游戏之前的流程展开
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { // win_main.cpp Sys_CreateConsole(); commo...
分类:其他好文   时间:2015-10-19 12:15:16    阅读次数:169
Doom3 execution unrolled by Fabien Sanglard
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { Sys_SetPhysicalWorkMemory( 192 Init( 0, NULL, l...
分类:其他好文   时间:2015-10-19 09:24:53    阅读次数:166
WinMain与WndProc以及窗口诞生过程总结
一、int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int nCmdShow)四个参数:hInstance:程序当前实例的句柄(handle to current instance),...
分类:Windows程序   时间:2015-10-10 18:33:49    阅读次数:230
MinGW setup
为了便于在Windows系统下进行轻量级的C/C++编程;1.安装MinGW (自动下载gcc);2.写代码 main.cpp/*#includeusing namespace std;int main(int argc, char* argv[]){ coutint WINAPI WinMain ...
分类:其他好文   时间:2015-09-28 13:11:03    阅读次数:134
c++线程创建传递的参数发生改变
看看如下代码,觉得输出会是什么? 1 #include "stdafx.h" 2 #include 3 #include 4 using namespace std; 5 6 DWORD WINAPI Func(LPVOID p); 7 typedef struct 8 { 9 in...
分类:编程语言   时间:2015-09-24 12:38:51    阅读次数:130
winAPI 检查系统设备拔插使用 WM_DEVICECHANGE 消息
if(message->message == WM_DEVICECHANGE) { /*if (message->wParam == DBT_DEVICEARRIVAL || message->wParam == DBT_DEVICEREMOVECOMPLETE) { PDEV_BROADC...
分类:Windows程序   时间:2015-09-23 16:22:57    阅读次数:234
获取屏幕分辨率
方法一、使用GetSystemMetrics函数GetSystemMetrics函数原型如下:int WINAPI GetSystemMetrics( __in int nIndex);每一个想要获取的信息对应着一个索引值,把索引值作为参数传递给GetSystemMetrics,将获得对应的信息.....
分类:其他好文   时间:2015-09-22 16:21:16    阅读次数:164
488条   上一页 1 ... 24 25 26 27 28 ... 49 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!