Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to use a DirectShow sample filter ?

How to use a DirectShow sample filter ?

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestionannouncement
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manio
    wrote on last edited by
    #1

    Hello, folks, I got trouble using one of the DirectShow sample filters, i.e, Ball filter. I got a link error. If I compiled and linked the code sample, the filter would generate something like ball.ax. Could anyone tell me how to use this ball.ax ? I have included required *.h and ball.lib but I still got a linking error ? The linking error is as follows: BallAppDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CBouncingBall::CBouncingBall(struct IUnknown *,long *)" (??0CBouncingBall@@QAE@PAUIUnknown@@PAJ@Z) ../Release/BallApp.exe : fatal error LNK1120: 1 unresolved externals Anybody help me ? Any response would be greatly appreciated ! Thanks !

    S 1 Reply Last reply
    0
    • M manio

      Hello, folks, I got trouble using one of the DirectShow sample filters, i.e, Ball filter. I got a link error. If I compiled and linked the code sample, the filter would generate something like ball.ax. Could anyone tell me how to use this ball.ax ? I have included required *.h and ball.lib but I still got a linking error ? The linking error is as follows: BallAppDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CBouncingBall::CBouncingBall(struct IUnknown *,long *)" (??0CBouncingBall@@QAE@PAUIUnknown@@PAJ@Z) ../Release/BallApp.exe : fatal error LNK1120: 1 unresolved externals Anybody help me ? Any response would be greatly appreciated ! Thanks !

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      Before you get to compile and link a DirectX sample, you need to go to MSDEV Tools \ Options \ Directories tab, and move the DirectX include/source/lib directories to the top.

      M 1 Reply Last reply
      0
      • S Stephane Rodriguez

        Before you get to compile and link a DirectX sample, you need to go to MSDEV Tools \ Options \ Directories tab, and move the DirectX include/source/lib directories to the top.

        M Offline
        M Offline
        manio
        wrote on last edited by
        #3

        >>DirectX include/source/lib directories to the top. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Hello, thanks for you reply first. On my system I have installed Platform SDK and DirectX 8.0 SDK. It seems the DirectX 8.0 SDK has been integrated with Platform SDK. So, I can NOT find the DirectX include/source/lib directory as you menthioned. Could you explain a little more detail ? Or what should I install on my system ? Thanks for your help again.

        S 1 Reply Last reply
        0
        • M manio

          >>DirectX include/source/lib directories to the top. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Hello, thanks for you reply first. On my system I have installed Platform SDK and DirectX 8.0 SDK. It seems the DirectX 8.0 SDK has been integrated with Platform SDK. So, I can NOT find the DirectX include/source/lib directory as you menthioned. Could you explain a little more detail ? Or what should I install on my system ? Thanks for your help again.

          S Offline
          S Offline
          Stephane Rodriguez
          wrote on last edited by
          #4

          manio wrote: On my system I have installed Platform SDK and DirectX 8.0 SDK. It seems the DirectX 8.0 SDK has been integrated with Platform SDK Depends if you have a recent platform SDK. I would suggest to add the <directXsdk\lib> directory in MSDEV \ Tools \ Options \ Directories \ Library. May be the problem is somewhere else. Lookup the public MS DirectShow newsgroup (or google, of course). I remember I have seen this kind of question again and again in the past, and from what I remember it was just a matter of directories. I would suggest

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups