I've been trying to find this header file everywhere. This is part if Microsoft's Unit Test API, that doesn't seem to be very well documented.
All I know is that I need to download and install the Windows Driver Kit, which I have, but where do I find this header file and all associated include files for this project?
I have Visual Studio 2017 and Windows and Driver Kits 10.0.15063.468 respectively
I checked C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0 but that header is not there, it doesn't automatically get recognized by visual studio either.
Thanks
I found it under C:\Program Files (x86)\Windows Kits\10\Testing\Development\inc
Related
Visual Basic 6.0 IDE can not recognize DLL in subfolders
My VB6 project is using FlexNet technology. I have a DLL which is built by .NET.
This DLL is using two others dlls and I put all of them into sub folders, for example Dongle/lmgract.dll and Harddisk/lmgract.dll
I registered tlb file successfully. And then I added reference to my DLL.
When I make an executable file, it runs well without any error. Nonetheless I tried to run the Visual Basic 6.0 Project via Visual Basic IDE and got the error:
"-1Unable to load DLL 'Dongle\lmgract.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)0false". It means that Visual Basic 6.0 IDE can not recognize the directory path of subfolder.
This error still occurs when I copied the Dongle folder into Windows\System32 or Windows\SysWOW64 or the directory of Visual Studio 6.0 IDE (C:\Program Files (x86)\Microsoft Visual Studio\VB98)
I could fix this error by setting Environment Variables but my boss does not like this approach.Please help me another way to resolve this issue. Thanks.
After registering (regasm.exe) your .net DLLs in their normal subfolders, when running in the vb6 ide you also have to copy the DLLs to program files\microsoft visual studio\vb98 (program files(x86) for win 64, of course); copy the files themselves not the subfolders, also don't register the files there.
Pulling out my hair on what should be a simple issue with using VC++ and being unable to access the default includes.
After installing Visual Studio 2015 RC, I can no longer build C/C++ projects. I receive "IntelliSense: cannot open source file '*.h'" errors for all the various standard library *.h files.
I confirmed that my files do exist in the default locations (C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include), and if I right-click on my #include <cstdio> line in the editor I can choose "Open Document" and it even opens automatically in the editor.
My Include Directories string in the Project Settings is:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include;C:\Users\Kristopher\Libraries\Includes;$(VC_IncludePath);$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);
Has anyone else run into this? I feel like I'm overlooking something simple.
Your IncludePath should not specify the Visual C++ and Windows SDK include paths directly. Instead, it should specify only the paths specific to your project and derive from the IncludePath defined in the common C++ MSBuild targets. E.g.,
<IncludePath>C:\Users\Kristopher\Libraries\Includes;$(IncludePath)</IncludePath>
To address your particular case: In Visual C++ 2015, the bulk of the C Runtime (CRT) has been refactored into a new Windows operating system component, the Universal CRT. Its headers and libraries are now in a different location and your project fails to include this include path into the IncludePath property. Specifically, you need to include $(UniversalCRT_IncludePath). For more details, see the article I wrote earlier this year, "Introducing the Universal CRT."
according to my another question , suppose that I have a .lib files and I don't know which .lib a specific function belongs to?
Somewhere I studied if I link all of that .libs this will not effect the size of my final project?
Because VC won't install .libs that are not used in the final?
Is it true?
Can you explain me the mechanism that VS uses to link libraries?
Edited section of my question based on #HansPassants comment. How can I see the contents of a .lib file using Dumpbin.exe
I have searched my Visual studio's install folder and found the file:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\dumpbin.exe
But when I double-click on it, I get the error:
Could you learn me how to use dumpbin.exe. e.g. how to introduce a .lib file to this .exe and then extract the contents of it?
Edited section of my question based on #Roger Rowland's comment
I runned dumpbin.exe from Microsoft Visual Studio 2010 command prompt and this is what I have reached for the agg.lib. How can I explore the contents of the .lib. I mean how can I understand a specific method is written in this .lib or in another?
How can I understand which .lib should I link in order not to get error when running a specific method?
Please learn me how to export contents of a .lib
This is what I have done already. The commands that I have entered are:
C:\Program Files(x86)\Microsoft Visual Studio 10.0\VC\> D:\JobList\Lib\GDAL_lib\x86\lib\agg.lib\EXPORTS
C:\Program Files(x86)\Microsoft Visual Studio 10.0\VC\> D:\JobList\Lib\GDAL_lib\x86\lib\agg.lib/EXPORTS
The screenshot of what I have tried up to now:
I'm busy with a windows phone app and need to use a expandable list control. After some searching I found that one can just download and add a reference to the Windows Phone Toolkit.
The instructions on what .dll file to use and add to your project seem to be a bit out dated. Or at least the instructions I'm finding. Apparently you have to add the dll file to you project located here:
C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Toolkit\Aug11\Bin\Microsoft.Phone.Controls.Toolkit.dll
But the directories in my PC is not the same. I can follow up to here:
C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\
Then there's no 'Toolkit' folder, etc. I just wanted to find out if someone can point out where to find this .dll that I have to reference on my project?
Thanks in advance!
you can download the latest toolkit and get more information on it from here http://silverlight.codeplex.com/releases/view/94435. I hope it helps
I have visual studio 2010 express for windows phone installed on my system and i am not able to find System.data.linq namespace in references so i tried to download the the dll and copy in the C:\Program Files(x86)\ReferenceAssemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone location but it is saying it is a dll not built for windows phone can anyone help to add the correct dll as the reference..? thanks in advance
You may have to import the reference manually.
Mine is located here:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71\system.data.linq.dll
That should fix this.
I had same problem. Your project should be minimum windows phone 7.1 version. Look what is written in your csproj file. There should be: <TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile>
but no
<TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
In my sutuation there was written just WindowsPhone and I corrected it to WindowsPhone71 and I got System.Data.Linq and mscorlib.extenstion libraries.