随笔分类 -  windows

DLL文件的引用
摘要:首先我们先要写一个DLL文件: 我先创建一个win32的DLL工程,在工程中添加了Math.h和Math.cpp文件,具体内容如下:Math.h:#pragma once#include "stdafx.h"#ifdef API_EXPORT#define DLL_EXPORT _decl... 阅读全文

posted @ 2015-05-04 23:17 进击的Ray_xujianguo 阅读(316) 评论(0) 推荐(0)

Windows窗口的创建
摘要:Windows窗口创建的基本代码:#include LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);int WINAPI WinMain( __in HINSTANCE hInstance, __in_opt HINSTANC... 阅读全文

posted @ 2015-05-04 23:15 进击的Ray_xujianguo 阅读(231) 评论(0) 推荐(0)

导航