Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / error LNK2001: unresolved external symbol _CLSID_DxDiagProvider

Author
Message
Cyan
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location:
Posted: 22nd Dec 2004 19:30
did you know haow resolve this probleme

system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol _CLSID_DxDiagProvider
system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol _IID_IDxDiagProvider
Release/World.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

World.exe - 3 error(s), 0 warning(s)

This is a wonderfull word
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Dec 2004 02:55 Edited at: 23rd Dec 2004 02:56
I presume your using VS6 - if so, get the DX Extras pack as detailed elsewhere, and make sure the order of the libraries and headers is correct etc etc.

Oh, and make sure you have the DX9.0c DSK installed.

Beware the cat... The alien... The heretic...
Cyan
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location:
Posted: 23rd Dec 2004 16:26
I ave installed only the diretx 9 sdk update december 2004 and extra pack october 2004.
The linker cannot found the CLSID_DxDiagProvider with this config.
So i ave install the directx sdk october and i ave resolve the probleme.

warning darksdk and directx 9 sdk update (december 2004) does not function.

This is a wonderfull word
DanW
20
Years of Service
User Offline
Joined: 6th Jul 2003
Location: Boston, MA
Posted: 8th Jan 2005 13:38
The solution to this problem is to insert a few lines above the DarkSDK.h include. Like so...

#define INITGUID
#include <dxdiag.h>
#undef INITGUID

#include "DarkSDK.h"

Then is should link just fine with the latest DirectX SDK.
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 8th Jan 2005 21:06
Nice

An alternative to editing the header files is just to add a new .cpp file to your project containing these lines:

#define INITGUID
#include <dxdiag.h>

It works just as well.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-02-25 15:22:22
Your offset time is: 2024-02-25 15:22:22