Direct3DCreate9 from static library?

dickl dick221z at yahoo.com
Fri Oct 20 13:06:52 PDT 2006


LW wrote:
> I did the following:
> I made an import library for d3d9.dll with one export
> _Direct3DCreate9 at 4 = Direct3DCreate9
> 
> Now, every time I call the function, I get a Win32 exeption.
> I just want to know why.

Did you call CoInitialize before calling the DirectX function ?



More information about the Digitalmars-d mailing list