windows-7

IE11 on Windows 7 does not cache files

微笑、不失礼 提交于 2019-12-05 20:22:51
问题 When examining cache behaviour on our web site I got a very confusing result - my Internet Explorer 11 browser did not cache any files at all. The cache settings in the Internet Option is set to "Check for newer versions of stored pages: Automatically". Investigating further with IE developer tool, all files were requested without an "if-modified-since" HTTP header, which of course caused the server to return the complete file with a 200 status result. Expected behaviour would be that IE

Installing OpenSSL on Windows 7 32bit

微笑、不失礼 提交于 2019-12-05 20:06:30
Can anyone list a set of complete steps to install OpenSSL on Windows 7? I have tried a lot of things, but invariably, one or the other library is found missing. I know that OpenSSL depends on libxml2, pthread libraries and so on. I have tried downloading them from various sources, but I am a bit frustrated by a lot of errors that are showing up one after the other. If someone has done it before, it would be great if you can help me with the list of steps. Download the latest OpenSSL source distribution (at the moment openssl-1.0.1c.tar.gz ), not the FIPS module (read here ), then follow the

“Wrong” app gets pinned to taskbar (Windows 7)

≯℡__Kan透↙ 提交于 2019-12-05 19:57:35
I have an application that gets started via a shortcut. This application than starts a Java GUI application with CreateProcess(). When the Java application gets pinned to the taskbar the javaw.exe gets pinned to the taskbar instead of the "expected" shortcut. Only the native executable which launches Java can be modified - the shortcut has to stay. What has to be done so that the shortcut gets pinned? Thanks, Stefan Use something like winrun4j or create a .bat instead of using a shortcut. There is a Java library providing the new Windows 7 features for Java. It's called J7Goodies by Strix Code

Security center symbol shield with my Application Icon

拜拜、爱过 提交于 2019-12-05 18:59:04
I have developed an application that needs admin rights to execute. Running the application on Windows 7, the user always have to launch the application as "Run as Administrator" otherwise my application prompts the user that "you don't have administrative rights etc...". This is OK and understandable because of UAC in windows 7. To get rid that the user have to set the application as "Run as Administrator". I updated my application's "app.manifest" and set <requestedExecutionLevel level="highestAvailable" uiAccess="false" /> Which done the job for me. But now, a security center symbol shield

Run explorer.exe as Administrator user within Windows 7

[亡魂溺海] 提交于 2019-12-05 18:56:11
I have the Windows 7 operating system, and I have administrator user credentials stored (known in advance). I know we can run a program or .exe using "Runas" verb and launch a process, but my question is specific to explorer.exe. I am trying to run "runas /user: "control.exe printers" it launches successfully after giving a password to the prompt, but when I am checking within TaskManager it is running under my regular user with which I have logged on. I have noticed this is only with explorer.exe. Other programs are working fine as expected with runas. What is the catch here with Windows 7?

Get file's Previous Versions, from WINAPI

混江龙づ霸主 提交于 2019-12-05 18:26:55
In Windows 7 theres a possibility for getting file's previous versions like in the below image: Is there any way to retrieve file's previous version by code? because I couldn't find any API. Thanks advanced! =] ryyker There are several tags listed with this question. So it is unclear if a strictly c/c++ approach is desired, or if scripting etc will work. In any case... Here are some links that will hopefully point in the right direction: On the MSDN site, there is documentation and example code referring to shadow copy API. Here is a Link to the concept of shadow copy service. Here is a

Delphi XE with Aero effects causes paint issue

老子叫甜甜 提交于 2019-12-05 18:24:57
问题 I have upgraded to Delphi XE from 2009 and am experiencing a strange issue. I create a new project, put down a TRibbon control, compile and run. Keeping the form in its default size I then minimize and restore without issues. I then maximise the form, minimize and restore and the form colour is changed to black. I have no random code to change it and am using all defaults Delphi XE comes with and it does it each and every time without fail. I have moved the compiled exe to a friends computer

HttpWebRequest.GetRequestStream() breaks by timeout on SSL connection under Windows 7/Vista

廉价感情. 提交于 2019-12-05 18:22:46
问题 I have an C# windows application (.Net 3.0 Framework) that makes a call to PHP web service using HttpWebRequest . In Win 7 & Vista , if the call is made via non-SSL (i.e. http:// ), the code works fine. When the call is changed to call the SSL(https:) version of the link, it times out at the HttpWebRequest.GetRequestStream() . This happens every time. When this same application is run on a Windows XP machine it works fine with either the HTTP or the HTTPS url being used. The code does have

VS2010 profiler/leak detection

一曲冷凌霜 提交于 2019-12-05 17:49:21
问题 Anyone know of a profiler and leak detector that will work with VS2010 code? Preferably one that runs on Win7. I've searched here and in google. I've found one leak detector that works (Memory Validator) but I'm not too impressed. For one thing it shows a bunch of menu leaks and stuff which I'm fairly confident are not real. I also tried GlowCode but it's JUST a profiler and refuses to install on win7. I used to use AQtime. It had everything I needed, memory/resource leak detection, profiling

Can't write to application directory in Program Files

你离开我真会死。 提交于 2019-12-05 17:35:35
I need to write to some files in the application directory which is installed under Program Files. I know that with UAC enabled on Vista and Windows 7, users can't modify files in this directory. However, I'm aware of the UAC Virtualization that was added in Vista which basically redirects writes to the virtualstore directory . In Vista this works great and my files are actually written to this virtualstore directory. However, on Windows 7 I am getting access denied errors and my files are not written to this directory at all. What gives? Is it the exact same binary or was it re-compiled