![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
d语言
文章平均质量分 73
泽特253
这个作者很懒,什么都没留下…
展开
-
D语言配置 DirectX 环境
此篇所言 只针对windows 32 bit 版本 Linux/Unix/Mac/Win64 无关... Win32 下 里面的那个makefile窝用了 无法编译成功 .. 如果你可以编译成功的话 可以无视这篇文章 1. [color=red]下载[/color] 首先 需要在官网下载d语言的编译器 ... http://dlang.org/download.html 然后 下载 ...原创 2015-04-07 11:05:21 · 153 阅读 · 0 评论 -
D语言的函数修饰
D语言的函数修饰 = _D + 函数模块字串的字符个数 + 模块名(默认为文件名) + 函数字符串字符个数 + 函数字符串 + F(Function) + 虚参类型名 + Z + 返回值类型 示例: module mainXASDA; void funwq(int,int,int); 修饰名 : _D9mainXASDA5funwqFiiiZv 成员函数修饰 = _D + 函...2015-04-08 23:06:04 · 83 阅读 · 0 评论 -
D语言 GetProcAddress 向 function 转化
cast(typeof(Function Poiner Name)) sample /*========================================== NtCreateFile ==========================================*/ extern(Windows) NTSTATUS fun...2015-04-13 21:26:37 · 148 阅读 · 0 评论 -
D语言 引用外部变量
跟 c 语言一样 ... 唯一注意的是 要用 extern (C) 默认的d风格修饰的变量 没有 linkage attribute ////////////////////////////// kl.d module kl; extern (C) int d; ////////////////////////// main.d import kl; extern ex...2015-04-13 21:38:15 · 110 阅读 · 0 评论