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. General Programming
  3. C / C++ / MFC
  4. Message: Failed to set up the execution context to run the test.

Message: Failed to set up the execution context to run the test.

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studioquestioncsharptesting
5 Posts 3 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.
  • H Offline
    H Offline
    HaraldGalda
    wrote on last edited by
    #1

    I am developing a native C++ DLL and unit tests for this DLL. When I try to launch a test, I always get the above mentioned message. At first glance it seems that a DLL or some DLLs can not be found. However, the unit test DLL is created in the same folder as the DLL to be tested. The working directory is exactly the same as the directory the DLLs reside in. Therefore, this reason can be ruled out. The IDE is Microsoft Visual Studio 2013 update 4 and the operating system is Windows 10. How can I get my unit test running? I hope I do not need to bother with command line tools or build scripts.

    D 1 Reply Last reply
    0
    • H HaraldGalda

      I am developing a native C++ DLL and unit tests for this DLL. When I try to launch a test, I always get the above mentioned message. At first glance it seems that a DLL or some DLLs can not be found. However, the unit test DLL is created in the same folder as the DLL to be tested. The working directory is exactly the same as the directory the DLLs reside in. Therefore, this reason can be ruled out. The IDE is Microsoft Visual Studio 2013 update 4 and the operating system is Windows 10. How can I get my unit test running? I hope I do not need to bother with command line tools or build scripts.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Did you see this?

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

      Z 1 Reply Last reply
      0
      • D David Crow

        Did you see this?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        Z Offline
        Z Offline
        zezba9000
        wrote on last edited by
        #3

        That link is broken. You should quote what 'this' is...

        D 1 Reply Last reply
        0
        • Z zezba9000

          That link is broken. You should quote what 'this' is...

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          59 pages into this thread, and 18 months later? Thanks but I'll pass. The link was relevant at the time the OP needed it.

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

          Z 1 Reply Last reply
          0
          • D David Crow

            59 pages into this thread, and 18 months later? Thanks but I'll pass. The link was relevant at the time the OP needed it.

            "One man's wage rise is another man's price increase." - Harold Wilson

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

            Z Offline
            Z Offline
            zezba9000
            wrote on last edited by
            #5

            Misread the date but I meant you should (as in its practical to) quote what you're looking at in a link in case the link goes away (as it surely will) people still get context after Microsoft or who ever removes there site down the line.

            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