i tried you code .. (recompiled dwin.lib r85 from the stable 0.3 release as is)
the error is the same .. there is something going wrong in the HANDLE
it just work if i define it like i posted before ...
i got this error everytime i'm trying to use Dwin .. all compiles fine
but the linker sais
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved. ...