码迷,mamicode.com
首页 >  
搜索关键字:hinstance    ( 198个结果
Win32+API学习笔记:创建基本的窗口控件
创建一个标签CreateWindowEx(0,"static","姓名:",WS_CHILD|WS_VISIBLE|SS_NOTIFY,12,//xpos414,//ypos90,//width21,//heighthwnd_frame,(HMENU)id_lbl_name,g_hInstance,...
分类:Windows程序   时间:2015-06-18 08:11:55    阅读次数:178
LARGE_INTEGER
#include int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR ipCmdLine,int nShowCmd){LARGE_INTEGER a,b; a.QuadPart = 100; a.QuadPart ...
分类:其他好文   时间:2015-06-12 11:34:47    阅读次数:94
自己写着玩
1 #include "stdafx.h" 2 3 int APIENTRY WinMain(HINSTANCE hInstance, 4 HINSTANCE hPrevInstance, 5 LPSTR ...
分类:其他好文   时间:2015-06-11 00:04:41    阅读次数:189
1.2. chromium源代码分析 - chromiumframe - 入口函数
ChromiumFrame的入口函数在main.cpp中,打开main.cpp.中包含3个类和_tWinMain函数。_tWinMain就是我们要找的入口函数。我做了部分注释: 1 int APIENTRY _tWinMain(HINSTANCE hInstance, 2 ...
分类:其他好文   时间:2015-06-08 13:17:27    阅读次数:149
OpenCSP开源程序解析之OPENCSP_AuthUI.cpp
#include ".\opencsp_authui.h" #include ".\resource.h"extern HINSTANCE g_hModule; // 当前实例MY_DATA_BLOB OPENCSP_AuthUI::_authData; //MY_DATA_BLOB二进制容器INT_PTR OPENCSP_AuthUI::showAuthUI() {//在3...
分类:其他好文   时间:2015-06-06 09:16:10    阅读次数:134
【深入了解cocos2d-x 3.x】定时器(scheduler)的使用和原理探究(3)
上篇文章分析到了定时器的定义,这篇的重点就是定时器是如何运行起来的。 1.从main中寻找定时器的回调 讲定时器的运行,就不得不触及到cocos2dx的main函数了,因为定时器是主线程上运行的,并不是单独线程的,所以它的调用必然会在main函数中,每帧调用。 以下代码就是win32平台下的main函数 int APIENTRY _tWinMain(HINSTANCE hInstance,...
分类:其他好文   时间:2015-06-05 21:18:17    阅读次数:140
【MFC】程序框架及基础知识
1. 首先,贴一个简单的Win32的Hello World程序,这是学MFC的基础。 #include LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,...
分类:编程语言   时间:2015-05-27 08:38:30    阅读次数:261
Windows编程——万花筒绘制
#include #include #include #include #define Pi 3.1415926 long WINAPI WndProc(HWND hWnd, UINT iMessage, UINT wParam, LONG lParam); BOOL InitWindowsClass(HINSTANCE hInstance); BOOL InitWindows(HINSTANCE...
分类:Windows程序   时间:2015-05-10 09:54:44    阅读次数:245
Windows窗口的创建
Windows窗口创建的基本代码:#include LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);int WINAPI WinMain( __in HINSTANCE hInstance, __in_opt HINSTANC...
分类:Windows程序   时间:2015-05-04 23:57:52    阅读次数:370
n第一个参数hInstance就是DLL模块局并,而GetModuleFileName()只有传入DLL模块句柄才能获取DLL路径(壹)
http://bbs.a9vg.com/thread-4519306-1-1.html http://bbs.a9vg.com/thread-4519311-1-1.html http://bbs.a9vg.com/thread-4519312-1-1.html http://bbs.3dmgame.com/thread-4780495-1-1.html http://bbs.3dmgam...
分类:其他好文   时间:2015-05-01 07:11:04    阅读次数:113
198条   上一页 1 ... 10 11 12 13 14 ... 20 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!