I add the manifest file and its works for me!!! thanks Tristan!!!
Sample to add manifest C/C++ in Visual Studio:
Merge in additional XML1. Go to (properties) > Linker > Manifest and change Generate Manifest to YES. You can also set UAC / admin rights here without needing to create your own manifest XML.
2. Add a new XML file to the project, and include other manifest entries that you need inside of an assembly wrapper tag, for example:
- Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!--The ID below indicates application support for Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!-- 10.0 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>
3. Go to (properties) > Manifest Tool > Input and Output and add the XML file from step 2 using the Additional Manifest Files setting
Reference:
http://stackoverflow.com/questions/28347039/how-do-i-get-manifest-file-to-generate-in-visual-studio-2013