windows-7-x64

Windows 7 - Add Path

ぐ巨炮叔叔 提交于 2019-11-26 11:52:51
I need to add a new path (sumatraPDF) on my PATH variable . I don't know why it does not work... I think everything is right but when I try to execute sumatrapdf.exe from CMD it cannot find the program. This is what I did: The path is correct, I checked it 1000 times. The idea is use LaTeX with sublimetext and when I save a .text file sumatra has to open and show to me the result. If I want that I have to add the path of SumatraPDF... but it does not work. Domin8urMind I think you are editing something in the windows registry but that has no effect on the path. Try this: How to Add, Remove or

Change C# DllImport target code depending on x64/x86

*爱你&永不变心* 提交于 2019-11-26 11:52:19
I have an external c++ dll to import using DLLImport. If my application is compiling in x64 I need to import the x64 version of this dll, if it is an x86 build, I need the x86 dll. What is the best way to achieve this? Ideally, I'd like some preprocessor directive, but I understand this doesn't work in c#? More info: the DLL is being imported by a project which is set to AnyCPU. A parent project is the one which determines whether the application compiles as x64 or x86. We compile both versions for different customers - and I want to share the child project in both versions. This is primarily

Mute/unmute, Change master volume in Windows 7 x64 with C#

蓝咒 提交于 2019-11-26 11:23:45
问题 How can I adjust master volume in Windows 7 with C#? I have seen an excellent implementation using winmm.dll here, but it works with XP and not with Windows 7. 回答1: CodeProject has a very good sample here. Note that it relies on COM interop completely (check COM interface like IAudioEndpointVolume and IAudioMeterInformation on MSDN if you are interested in implementation details), and works ONLY for Vista/Win7 and higher. Minimum supported client: Windows Vista Minimum supported server:

Clone works, remote push doesn't. Remote repository over copssh

守給你的承諾、 提交于 2019-11-26 11:18:12
问题 I\'ve \"setup-a-msysgit-server-with-copssh-on-windows\", following Tim Davis\' guide and I was now learning how to use the git commands, following Jason Meridth\'s guide, and I have managed to get everything working fine, but now I can\'t pass the push command. I have set the server and the client on the same machine (for now), win7-x64. Here is some info of how things are set up: CopSSH Folder : C:/SSH/ Local Home Folder : C:/Users/rvc/ Remote Home Folder: C:/SSH/home/rvc/ # aka /cygdrive/c

how to get program files x86 env variable?

北城余情 提交于 2019-11-26 10:24:35
问题 I would like to know how I can display the location of Program Files (x86) in command prompt. I\'m using Windows 7 64bit. I\'ve tried: echo %programfiles(x86)% and echo %programfiles% , both of which displays only C:\\Program Files When I manually checked the registry, HKLM/Software/microsoft/windows/currentversion , the programfilesdir points to C:\\Program Files and HKLM/Software/WOW64/Microsoft/winodws/currentversion , the programfilesdir points to C:\\Program Files (x86) . But, why am I

Install Visual Studio 2013 on Windows 7

爱⌒轻易说出口 提交于 2019-11-26 06:36:13
问题 I would like to install Visual Studio 2013 on Windows 7 64-bit. For some reason, the installer says \"Setup Blocked\" with an error \"This version of Visual Studio requires a computer with a newer version of Windows\". This error is not exactly descriptive of what\'s wrong. The least I could do was verify that I have the following installed : Windows 7 Professional (64-bit) with Service Pack 1 Internet Explorer 10 Version: 10.0.9200.16750 Update Versions: 10.0.12 (KB2898785) All Windows

Windows 7 timing functions - How to use GetSystemTimeAdjustment correctly?

泄露秘密 提交于 2019-11-26 04:21:10
问题 I ran some tests using the GetSystemTimeAdjustment function on Windows 7, and got some interesting results which I cannot explain. As fas as I understand, this method should return if the system time is synchronized periodically and if it is, at which interval and with which increment it is updated (see GetSystemTimeAdjustment function on MSDN). From this I follow that if I query the system time for example using GetSystemTimeAsFileTime repeatingly I should either get no change (the system

Error Message : Cannot find or open the PDB file

北慕城南 提交于 2019-11-26 00:38:23
问题 I tried running sample programs provided at NVIDIA\'s official site. Most of the programs ran smoothly except few where I get similar error messages. How can I fix that? Here\'s a sample of error message I got after running a program named \"MatrixMul\". Note: I have installed both x32 and x64 NVIDIA CUDA Toolkit v5.0 on my Window7x64 OS. \'matrixMul.exe\': Loaded \'C:\\ProgramData\\NVIDIA Corporation\\CUDA Samples\\v5.0\\bin\\win32\\Debug\\matrixMul.exe\', Symbols loaded. \'matrixMul.exe\':

How to completely remove node.js from Windows

放肆的年华 提交于 2019-11-25 23:12:16
问题 I uninstalled my previous version of node.js (0.8.11) and downloaded the latest, 0.10.24 from the node.js website and installed it. However, after running node --version , it still indicates that I\'m running v0.8.11. Obviously, some stuff was left behind during the uninstall process, and it\'s causing me to have all sorts of errors when trying to add modules through npm. I\'ve seen solutions to this for OSX and Linux, but couldn\'t find anything for Windows. I\'m running Windows 7 64-bit.