Windows interface

Karl Bochert Karl_member at pathlink.com
Sun Jul 2 12:27:12 PDT 2006


I have been attempting to access the windows api from D, and there seem to be
api calls missing from std.windows.windows.

I have added to phobos:
export   HANDLE GetStdHandle(DWORD dev);
export   DWORD GetConsoleTitle(LPSTR buf, DWORD len);
export   BOOL AllocConsole();

but when I compile a program using them, I get from the linker:
winapp.obj(winapp)
Error 42: Symbol Undefined _GetConsoleTitle at 8

Why does GetConsoleTitle() fail when the other 2 don't??





More information about the Digitalmars-d-learn mailing list