expanding phobos

Justin C Calvarese technocrat7 at gmail.com
Wed Jul 12 21:18:47 PDT 2006


llee wrote:
> I'm trying to access the following functions:
> GetKeyboardState () and SetTimer ()
> Neither of these functions are defined within phobos.
> Trying to access these functions using std.c.windows.windows fails.
> I tried searching Dsource.org to extend the libraries that come with 
> the standard D implementation. On the site I only found D file wrappers
> replacing C header files. The problem is that many of these files depend on
> others. Tracking these down in turn is proving tedious. Since I might have to do
> this often, I'm asking for help. 
> Specifically I'm wondering if there is a way to update phobos itself.

You shouldn't need to update phobos. You should be able to use a 
separate header port instead, such as the "Windows API" project:
http://www.prowiki.org/wiki4d/wiki.cgi?WindowsAPI

-- 
jcc7



More information about the Digitalmars-d mailing list