IUnknown Error

Heinz malagana15 at yahoo.es
Sun Mar 16 17:34:56 PDT 2008


Jarrett Billingsley Wrote:

> "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. 
> 
> 

Hahahaha...cool man, it worked just fine!
What uuid.lib contains, why is it needed for com and directx? I just want to understand the problem.


More information about the Digitalmars-d-learn mailing list