digitalmars.D.learn - IUnknown Error
- Heinz (11/11) Mar 13 2008 Hi,
- Jarrett Billingsley (4/17) Mar 13 2008 You have to link to UUID.lib when using most COM stuff (DirectX included...
- Heinz (3/27) Mar 16 2008 Hahahaha...cool man, it worked just fine!
- Jarrett Billingsley (7/11) Mar 16 2008 It contains all the GUID definitions (you know, those insanely long
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
Mar 13 2008
"Heinz" <malagana15 yahoo.es> wrote in message news:frcdcj$1u76$1 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 ThanxYou 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.
Mar 13 2008
Jarrett Billingsley Wrote:"Heinz" <malagana15 yahoo.es> wrote in message news:frcdcj$1u76$1 digitalmars.com...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.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 ThanxYou 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.
Mar 16 2008
"Heinz" <malagana15 yahoo.es> wrote in message news:frkebg$2omi$1 digitalmars.com...Jarrett Billingsley Wrote: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.It contains all the GUID definitions (you know, those insanely long hexadecimal numbers) for a large number of COM interfaces. It's how Windows uniquely identifies those interfaces. It's a rather extensive list so it's easier to keep them all in a library than to have a gigantic header file filled with them.
Mar 16 2008