D言語 Part31
■ このスレッドは過去ログ倉庫に格納されています
0683デフォルトの名無しさん
2013/06/09(日) 13:21:51.61phobos ? のみ import std.c.windows.windows; だけの方で
W系の関数を自分で extern(Windows) でダラダラ書いていけば
Win32API を使えることは確認できました
しかし激しく面倒なので >671 さんのおっしゃるように phobos ? は無視して
import win32.core; で行くことにしたのですが
今度はコンパイルすら通らなくなってしまいました><
>676 と同じなのですが
>Bindings for the Windows API はこちらのもの
>http://www.dsource.org/projects/bindings/wiki/WindowsApi
>http://www.dsource.org/projects/bindings/browser/trunk
>から
↑
これ最新版ですよね?
dmd 2.063
にしてからは
test_main.d(107): Error: BeginPaint is not nothrow
test_main.d(108): Error: GetClientRect is not nothrow
test_main.d(109): Error: EndPaint is not nothrow
test_main.d(113): Error: PostQuitMessage is not nothrow
test_main.d(117): Error: DefWindowProcW is not nothrow
test_main.d(90): Error: function test_main.WndProc 'WndProc' is nothrow yet may throw
がいっぱい出てきて
余計に面倒になったのですが
Bindings for the Windows API の nothrow になってるやつはまだないんですか?
■ このスレッドは過去ログ倉庫に格納されています