Thread: DX SDK8 examples that arent set up right!

  1. #1

    DX SDK8 examples that arent set up right!

    Anyone tried this out? The example for DDrawXCL (found in \samples\Multimedia\DirectShow\Players\DDrawXCL) doesnt compile. Why? Because its looking for a lib that isnt where it thinks it is. It tries to link: ..\..\baseclasses\debug\strmbasd.lib

    However we of course get this error:
    LINK : fatal error LNK1181: cannot open input file "..\..\baseclasses\debug\strmbasd.lib"

    Which would basically be because there are no libs at all in that directory. A search of my computer shows that VC has a lib of this name so i link it up instead... Apparently not quite right...

    vidplay.obj : error LNK2001: unresolved external symbol _IID_IDDrawExclModeVideo
    vidplay.obj : error LNK2001: unresolved external symbol _IID_IDvdInfo2
    vidplay.obj : error LNK2001: unresolved external symbol _IID_IDvdControl2
    vidplay.obj : error LNK2001: unresolved external symbol _IID_IMixerPinConfig2
    Debug/ddrawxcl.exe : fatal error LNK1120: 4 unresolved externals

    Being unfamiliar with these (hence the reason i'm attempting to load this example!) i'm guessing that these are found in some modified version of strmbasd.lib. Or is there some other lib thats not included at all that these should be defined in? Wtf's going on here?

    My old AVI playing routines are crappy and i want to write better ones for DX8 but since i cant find a single useful tutorial on-line i'm left with this single example that doesnt even work. Can anyone enlighten me here? Thanks.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Guess mode:

    >>IID_IDDrawExclModeVideo<<

    These look like missing #defines. Although you are probably not missing a header, it may be that they require some other obscure/arcane #define to activate them. A (laborious) search through the relevant headers may turn up some useful info.

    Good luck. And sorry for wasting your time if this guess proves to be useless.

  3. #3
    Actually, that was a rather useful idea. I ran a check on all files in the DirectX directory that contained the keywords (_IID_IDDrawExclModeVideo, etc) and came up with several hits. Two of which, however, were .Libs so i included the first one in the project and lo! It ran. Apparently the DDrawXCL example requires strmiids.lib which is not included naturally. Thanks for jogging the ol' brain into motion on that one, Ken!
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 01-18-2008, 04:06 AM
  2. Replies: 4
    Last Post: 01-13-2008, 02:14 AM
  3. Replies: 7
    Last Post: 08-19-2007, 08:10 AM
  4. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  5. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 10:50 AM