windows-7

~85.5% of native code when profiling with Jet Brain's dotTrace?

 ̄綄美尐妖づ 提交于 2019-12-11 14:19:39
问题 Whenever I do a session (both samplig and timeline), it says like up to 70-80 percent of entire exuction is occupied by native code. It seems kind of suspicious, not quite sure whether I got a buggy environment (because due to objective restricitions I am working on a damn Windows 7) or it's actually fine? 回答1: It is a normal situation in case of profiling a web application hosted on IIS as IIS is a native application itself. So if all of your app's methods are presented in a snaphot then you

WPF: Menu items and combo boxes don't render in Windows 7 64-bit

你离开我真会死。 提交于 2019-12-11 14:03:23
问题 I'm trying to use an existing internal WPF application (I do have access to the source), but it was developed on XP and I'm using Windows7 64-bit. When I click (for instance) the File menu, 90% of the time I see no drop-down menu at all. The menu still exists - I can use the arrow keys to navigate up and down and choose an option if I happen to know the order of the options, but nothing renders at all. The other 10% of the time, the menu or some portion of it DOES render, but as I move the

In emacs, how to execute external command not as a emacs process?

泪湿孤枕 提交于 2019-12-11 13:58:58
问题 For some external program (not all), I want the program running independently outside Emacs, after executing the command. In another word, if I close Emacs, the external program can still run. PS: my operating system is windows. 回答1: I think (w32-shell-execute "start" "myprog" "args") should do the trick. 来源: https://stackoverflow.com/questions/14335853/in-emacs-how-to-execute-external-command-not-as-a-emacs-process

C# - Image can't be opened in Windows XP but same code works in Windows 7

白昼怎懂夜的黑 提交于 2019-12-11 13:58:19
问题 I have two tiff images, one is black and white, the other is grayscale8. I need to show them in picture box, when I try to open them: Image.FromFile("path"); The BW one opens with no issues, the grayscale one give me an exception: "out of memory" That only happens when I execute the code in a WinXP SP3 machine, a colleague with a Windows 7 has no problems in both cases Any ideas? More info: MS Paint and standard Microsoft Image Viewer can't open the grayscale image, while Office Picture

C# SpeechSynthesizer - “No voice installed on the system”

孤街醉人 提交于 2019-12-11 13:53:15
问题 I have tried to make a simple console program which uses SpeechSynthesizer from System.Speech.Synthesis to convert text to speech but it doesn't work. I am using 64-bit Windows 7 and Visual Studio 2010 (with .NET Framework 4.0 I think?) The program: using System.Speech.Synthesis; // *skip* SpeechSynthesizer speech = new SpeechSynthesizer(); speech.SetOutputToDefaultAudioDevice(); speech.Speak("Hello world"); InvalidOperationException occurs at line speech.Speak(...) with message No voice

Faster way to access a file on a Windows 7 network share?

五迷三道 提交于 2019-12-11 13:44:49
问题 There is an intermittent speed issue with accessing network shares on a Windows 7 machine that ruins the functioning of my program. Basically, when my program first attempts to access the network share, there is a 7-second lag before the access takes place. Subsequent attempts to access the file occur instantly. But every now and again without restarting, the problem strikes again. The problem occurs in Explorer as well, which led me to believe it was a Windows configuration issue. However, I

Python PyAudio installation on windows problems in importing PortAudio V19

▼魔方 西西 提交于 2019-12-11 13:40:04
问题 I'm trying to install PyAudio for an application to record audio clips from microphone input. I installed PyAudio from executable file (Windows 7, python 2.6). However when I try to import this library in my code, I get the following error. Please build and install the PortAudio Python bindings first. I tried the solution provided at Python PyAudio installation problems (with PortAudio) but I got the following error message when I installed it using the executable given at http://www.lfd.uci

Windows 7: poor GUI response in my program while downloading data; is there some way to improve this?

China☆狼群 提交于 2019-12-11 13:37:38
问题 I've written a program that (among other things) downloads multiple large files from a server on the LAN, using TCP. This program runs fine under Linux, MacOS/X, and generally under Windows as well (it uses Qt for the GUI and straight sockets calls for networking), but on certain Windows machines the download appears to be too much for the machine to handle, and I'm wondering if anyone has any ideas as to why that is and what can be done about it. When downloading files, my program spawns a

Microsoft Progress Bar Control is missing

僤鯓⒐⒋嵵緔 提交于 2019-12-11 13:25:58
问题 I need to create the progress bar on a user form. For inserting progress bar, opened toolbox , right clicked on it and choose “Additional Controls”. (Alternatively, I could go up to the “Tools”/”Additional Controls” menu). But in that list of components, “Microsoft Progress Bar Control 6.0 (SP4)” is missing. I am using Microsoft Office 2010 and Windows 7. Please help me 回答1: Two suggestions :) 1) Search your pc for MSCOMCTL.Ocx. If you find it then register it by clicking on Windows Start

Windows 7 Development Platform

你离开我真会死。 提交于 2019-12-11 13:25:11
问题 As some of you may have noticed, a few hours ago Microsoft released Windows 7 RTM to those of us with a Technet or MSDN subscription. I unfortunately didn't have the opportunity time-wise to test the new OS. I'm asking of anyone who used it with Visual Studio 2008 during RC what was your experience? Did you feel the RC offered a stable environment for it? Did it behave well under Windows 7? In short, can I rely on Windows 7 as my soon-to-be development platform? On another note, did anyone