DirectX, COM and Access Violation

Don Clugston dac at
Mon Feb 5 07:05:04 PST 2007

Henrik Eneroth wrote:
> Hello there,
> I've been trying to get Direct3D to work with D (or vice versa if you will) and keep running into some problems.

> By the way, I include these libs:
> pragma (lib, "devrun\\x86\\d3d9d.lib"); // implib'd from d3d9d.dll
> pragma (lib, "\\dm\\lib\\gdi32.lib");
> pragma (lib, "\\dm\\lib\\uuid.lib");;

FYI: This _could_ be a problem. The libs that come with DMD are 
*ancient*. You should run coffimplib on the latest Microsoft libs to 
create up-to-date ones.

More information about the Digitalmars-d-learn mailing list