IUnknown Error
Jarrett Billingsley
kb3ctd2 at yahoo.com
Thu Mar 13 16:41:24 PDT 2008
"Heinz" <malagana15 at yahoo.es> wrote in message
news:frcdcj$1u76$1 at digitalmars.com...
> Hi,
>
> Why do i get this error when compiling a specific dll of mine?
>
>
> C:\Documents and
> Settings\Administrador\Escritorio\Olave\d3dlib>dmd -O -release
> -ofd3dlib.dll -I..\support -I..\engine d3dlib.d d3ddriver.d gfxdriver.d
> d3d9d.d
> engine.lib gcstub.obj d3dlib.def
> OPTLINK (R) for Win32 Release 8.00.1
> Copyright (C) Digital Mars 1989-2004 All rights reserved.
> D:\Dev\dmd\bin\..\lib\phobos.lib(com)
> Error 42: Symbol Undefined _IID_IUnknown
> --- errorlevel 1
>
> Thanx
You have to link to UUID.lib when using most COM stuff (DirectX included).
Just put it on the commandline and it should link it in.
More information about the Digitalmars-d-learn
mailing list