Undefined function, even though imported

Loopback elliott.darfink at gmail.com
Tue Jun 14 13:47:59 PDT 2011


Well, I solved the linker error by specifying imports in the
.def file. The pathetic thing was that the def file was invalid
just because I had a newline, or at least it worked without it.

So my final .def file looks like this:

EXETYPE NT
SUBSYSTEM WINDOWS
IMPORTS
_Direct3DCreate9 at 4 = d3d9.Direct3DCreate9

Thanks for all help!


More information about the Digitalmars-d-learn mailing list