windows-vista

Get sample of sound from stereo mix in Windows

∥☆過路亽.° 提交于 2019-12-24 09:20:46
问题 Is there a way in Windows using C# to record a sample of the stereo mix? In other words, record all pings, beeps and music being played via any application? I've had a look at NAudio which will record the microphone as it's source, but I can't figure out how to point it at Windows' stereo mix? Or, if anyone knows, any pointers on how to target and record sound from a specific application? For this I'm only concerned with Vista or Windows 7, as both the aforementioned operating systems support

java.io.FileNotFoundException: (Permission denied)

本小妞迷上赌 提交于 2019-12-24 00:33:20
问题 i am tying to read a file placed in my documents folder on vista. The fiel does exists on a specified location but still i am getting the following error when trying to open an input stream to the file java.io.FileNotFoundException: (Permission denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at rtran.dao.CustomerDAO.insertCustomer(CustomerDAO.java:29) at rtran.action.AddCustomerAction.execute(AddCustomerAction.java:22) at

Is there a function like PeekMessage that doesn't process messages?

夙愿已清 提交于 2019-12-23 22:18:38
问题 I'm trying to innocently call PeekMessage(&msg, 0, WM_KEYDOWN, WM_KEYUP, PM_NOREMOVE | PM_NOYIELD); and Windows Vista 64, in the PeekMessage call, is processing messages . The result is that I'm going re-entrant on my paint call, and all sorts of other code. Painting can take seconds in our application, so we added the PeekMessage call to see if the user hit a key, so we could interrupt that painting and start up the next one. Little did we realize that Windows could start processing messages

Will a VB6 App Using wiaaut.dll work on Windows Vista or 7?

旧巷老猫 提交于 2019-12-23 21:32:03
问题 I downloaded the Windows Image Acquisition Automation Layer sdk redistributable from Windows and the VB6 app I wrote to capture still images from a DSLR, wia-compliant camera works great on Windows XP. Will the same app work on Windows Vista or 7? Microsoft says, "Windows Image Acquisition Automation Library v2.0 is only supported on Windows XP with Service Pack 1 installed.", but will the APIs work on newer OSs nonetheless? I really don't want to re-write the whole thing in C++ ... Is there

LLVM MinGW installation on Vista?

非 Y 不嫁゛ 提交于 2019-12-23 20:02:02
问题 From llvm.org I've downloaded llvm-2.6-x86-mingw32.tar.bz2 into c:\llvm and llvm-gcc-4.2-2.6-x86-mingw32-tar.bz2 into c:\llvm-gcc as well as setup a desktop shortcut the following batch file in c:\llvm-gcc which attempts to setup an environment for compiling via the llvm-gcc command line too: @echo off color 0E echo Configuring LLVM environment... set LLVM_LIB_SEARCH_PATH=%~dp0lib set PATH=c:\llvm;%~dp0bin;%PATH% Unfortunately, this setup gives the following error when trying to compile a

Copy to Program Files under Windows Vista/7

一世执手 提交于 2019-12-23 17:48:04
问题 I have written a wizard in C++ which installs some files to the program files folder under windows. As I understand, I need Admin rights to write to program files under Vista/7. So my question is: Is there a way to turn on Admin rights while the application is running respectively only for one wizard page? Or do I have to start another process with Admin rights for this one wizard page? 回答1: Typically you have a shield logo'd button and then shell out to another process whose manifest

Domain compatibility: where should shared data be written?

天涯浪子 提交于 2019-12-23 17:19:07
问题 We've written an application that works fairly well in XP, but is having serious migration issues to Vista and Windows 7, probably due to where user data is being written. The use case is this: Individual users need to log in to the machine and use it to acquire data. Supervisor users need to be able to look over the shoulder of individual users and verify that they're performing their jobs properly. These supervisors also need to check system logs to make sure that the system is performing

How to get TAPI to work in Vista with C#?

萝らか妹 提交于 2019-12-23 13:12:31
问题 How do I get TAPI to work on Vista? Thanks 回答1: Sax CommStudio supports TAPI. It's not free, but will save a mountain of time. There are also some sample projects floating around out there, including this one. 回答2: If you're using C#, using TAPI directly probably won't work. See this KnowledgeBase article for details. Bascially the managed wrapper that Visual Studio creates for the TAPI 3.x COM interface doesn't work. You can use unmanaged code (C++, VB6) to work with TAPI 3.x, or you can use

VB6 is application running as administrator

一笑奈何 提交于 2019-12-23 13:05:00
问题 Is there any way of finding out if the application is running as administrator? If this involves a COM call, I'm not really fussed, anything that works! 回答1: IsUserAnAdmin is an easy call and seems perfectly reliable for use in VB6 programs. It seems to work fine even in Win8. Note that it reports whether the process is running with admin rights, not whether the user is in the Administrators group. Declaring it this way it should work all the way back to Windows 2000: Private Declare Function

SVN says I need to perform cleanup, but the cleanup fails

随声附和 提交于 2019-12-23 12:29:25
问题 !!! This is not a duplicate question since the solutions offered in the other topics didn't work for me. When I try to commit: Error: Working copy 'D:\Webs\Drupal 6' locked Error: Please execute the "Cleanup" command. When I try to do a cleanup: Cleanup failed to process the following paths: D:\Webs\Drupal 6 Does anyone know how I can solve this problem? 回答1: Does it work if you do a new "clean" checkout merge the files that you have modified into the new checkout folder(s) using a merge /