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
  1. Home
  2. The Lounge
  3. Solve issue - unresolved external symbol MFCreateDXGIDeviceManager

Solve issue - unresolved external symbol MFCreateDXGIDeviceManager

Scheduled Pinned Locked Moved The Lounge
help
15 Posts 7 Posters 4 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.
  • P Priyanka_SIpl

    I want to capture video using Media Foundation transform library. I have used

    HRESULT hr = S_OK;
    D3D_FEATURE_LEVEL FeatureLevel;
    ID3D11DeviceContext* pDX11DeviceContext;

    hr = CreateDX11Device(&g_pDX11Device, &pDX11DeviceContext, &FeatureLevel);

    if (SUCCEEDED(hr))
    {
    hr = MFCreateDXGIDeviceManager(&g_ResetToken, &g_pDXGIMan);
    }

    On building the vcpp application I received error: unresolved external symbol MFCreateDXGIDeviceManagerv For this, I used

    #pragma comment(lib, "mf") // For MFEnumDevices
    #pragma comment(lib, "mfplat")
    #pragma comment(lib, "mfreadwrite")
    #pragma comment(lib, "dxva2")
    #pragma comment(lib, "d3d11")
    #pragma comment(lib, "mfuuid")

    to include libraries related to MFCreateDXGIDeviceManagerv. Still I am getting same error. Please suggest the solution.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #2

    Looks like you're getting a "unresolved external symbol MFCreateDXGIDeviceManagerv" It's probably an error to do with MFCreateDXGIDeviceManagerv

    P N E 3 Replies Last reply
    0
    • L Lost User

      Looks like you're getting a "unresolved external symbol MFCreateDXGIDeviceManagerv" It's probably an error to do with MFCreateDXGIDeviceManagerv

      P Offline
      P Offline
      Priyanka_SIpl
      wrote on last edited by
      #3

      yes, I need to add library reference for this as I mentioned at the bottom. But could not find for MFCreateDXGIDeviceManagerv. Similar issue I got for MFEnumDeviceSources, but on adding #pragma comment(lib, "mf") Issue was resolved. Now I need for MFCreateDXGIDeviceManagerv

      L 1 Reply Last reply
      0
      • L Lost User

        Looks like you're getting a "unresolved external symbol MFCreateDXGIDeviceManagerv" It's probably an error to do with MFCreateDXGIDeviceManagerv

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #4

        ... and it's unresolved.

        P 1 Reply Last reply
        0
        • L Lost User

          Looks like you're getting a "unresolved external symbol MFCreateDXGIDeviceManagerv" It's probably an error to do with MFCreateDXGIDeviceManagerv

          E Offline
          E Offline
          Estys
          wrote on last edited by
          #5

          Brilliant! I would have been looking for some "unresolved external symbol".

          P 1 Reply Last reply
          0
          • P Priyanka_SIpl

            yes, I need to add library reference for this as I mentioned at the bottom. But could not find for MFCreateDXGIDeviceManagerv. Similar issue I got for MFEnumDeviceSources, but on adding #pragma comment(lib, "mf") Issue was resolved. Now I need for MFCreateDXGIDeviceManagerv

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #6

            Yeah I think if you fix it, it will work.

            P 1 Reply Last reply
            0
            • L Lost User

              Yeah I think if you fix it, it will work.

              P Offline
              P Offline
              Priyanka_SIpl
              wrote on last edited by
              #7

              But I am not getting the library. Please suggest if you can find.

              N 1 Reply Last reply
              0
              • N Nagy Vilmos

                ... and it's unresolved.

                P Offline
                P Offline
                Priyanka_SIpl
                wrote on last edited by
                #8

                yes because its unable to find the actual library. I am searching for that.

                F 1 Reply Last reply
                0
                • E Estys

                  Brilliant! I would have been looking for some "unresolved external symbol".

                  P Offline
                  P Offline
                  Priyanka_SIpl
                  wrote on last edited by
                  #9

                  you need to include libraries related to the method for which you are getting this issue. like #pragma comment(lib,'')

                  1 Reply Last reply
                  0
                  • P Priyanka_SIpl

                    yes because its unable to find the actual library. I am searching for that.

                    F Offline
                    F Offline
                    Fredrik Bornander
                    wrote on last edited by
                    #10

                    When you find it, it will probably work. Unless it doesn't.

                    Try Hovercraft, voted "a game" by players.

                    1 Reply Last reply
                    0
                    • P Priyanka_SIpl

                      But I am not getting the library. Please suggest if you can find.

                      N Offline
                      N Offline
                      NormDroid
                      wrote on last edited by
                      #11

                      A majic and mysterious place where all the libraries reside.

                      Web | News | LinkedIn

                      P 1 Reply Last reply
                      0
                      • N NormDroid

                        A majic and mysterious place where all the libraries reside.

                        Web | News | LinkedIn

                        P Offline
                        P Offline
                        Priyanka_SIpl
                        wrote on last edited by
                        #12

                        It is usually available here C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 But unable to find out which one will support this

                        N 1 Reply Last reply
                        0
                        • P Priyanka_SIpl

                          I want to capture video using Media Foundation transform library. I have used

                          HRESULT hr = S_OK;
                          D3D_FEATURE_LEVEL FeatureLevel;
                          ID3D11DeviceContext* pDX11DeviceContext;

                          hr = CreateDX11Device(&g_pDX11Device, &pDX11DeviceContext, &FeatureLevel);

                          if (SUCCEEDED(hr))
                          {
                          hr = MFCreateDXGIDeviceManager(&g_ResetToken, &g_pDXGIMan);
                          }

                          On building the vcpp application I received error: unresolved external symbol MFCreateDXGIDeviceManagerv For this, I used

                          #pragma comment(lib, "mf") // For MFEnumDevices
                          #pragma comment(lib, "mfplat")
                          #pragma comment(lib, "mfreadwrite")
                          #pragma comment(lib, "dxva2")
                          #pragma comment(lib, "d3d11")
                          #pragma comment(lib, "mfuuid")

                          to include libraries related to MFCreateDXGIDeviceManagerv. Still I am getting same error. Please suggest the solution.

                          I Offline
                          I Offline
                          Ian Shlasko
                          wrote on last edited by
                          #13

                          Priyanka_SIpl wrote:

                          Please suggest the solution.

                          I think you have four options here... 1) Fix the problem yourself 2) Ask in one of the programming forums (This is the Lounge - See the note at the top) 3) Continue to reply to the people who are messing with you because you failed to realize #2. 4) Take a nap and hope the gremlins come and fix the problem while you're sleeping I dunno if #4 will work, though, as the gremlins aren't always that cooperative.

                          Proud to have finally moved to the A-Ark. Which one are you in?
                          Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                          P 1 Reply Last reply
                          0
                          • I Ian Shlasko

                            Priyanka_SIpl wrote:

                            Please suggest the solution.

                            I think you have four options here... 1) Fix the problem yourself 2) Ask in one of the programming forums (This is the Lounge - See the note at the top) 3) Continue to reply to the people who are messing with you because you failed to realize #2. 4) Take a nap and hope the gremlins come and fix the problem while you're sleeping I dunno if #4 will work, though, as the gremlins aren't always that cooperative.

                            Proud to have finally moved to the A-Ark. Which one are you in?
                            Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                            P Offline
                            P Offline
                            Priyanka_SIpl
                            wrote on last edited by
                            #14

                            Thanks for suggestions. Trying out the same. If you find please share.

                            1 Reply Last reply
                            0
                            • P Priyanka_SIpl

                              It is usually available here C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 But unable to find out which one will support this

                              N Offline
                              N Offline
                              Nagy Vilmos
                              wrote on last edited by
                              #15

                              Have you checked under the sofa? In your jacket pocket?

                              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