2010-12-06から1日間の記事一覧
import win32.windows; import core.thread; import std.stdio; class A { this() { EnumWindows(&A.enumWindowsProc, 0); // ここではコンパイルエラーになるのに } /*static*/ BOOL enumWindowsProc(HWND hwnd, LPARAM lparam) { return TRUE; } } void ma…
import win32.windows; import core.thread; import std.stdio; class A { this() { EnumWindows(&A.enumWindowsProc, 0); // ここではコンパイルエラーになるのに } /*static*/ BOOL enumWindowsProc(HWND hwnd, LPARAM lparam) { return TRUE; } } void ma…