windows-7

Where Can I Get libgcc_s_dw2-1.dll?

牧云@^-^@ 提交于 2019-12-06 00:16:14
问题 The programme I have written uses SFML but fails when run because libgcc_s_dw2-1.dll is missing. I'm using tdm-gcc and can't find the file anywhere on my computer and re-install doesn't help and a simple hello world programm works fine so I'm not sure why it needs this dll. Which mingw package can this be found in? I've had a search on the site but cant find it. Apologies if I have just missed an obvious search result but this is incredibly frustrating! Thanks in advance, ell. P.S. I'm on 64

Used port not showing up in netstat -a result

自古美人都是妖i 提交于 2019-12-05 23:53:27
问题 This issues started recently when I am trying to start active-mq (which by default starts on port 61616). But suddenly it stopped coming up with JVM_BIND issue on that port. The problem did not go away even after restarting the computer. Main problem is that netstat -a command on Windows 7, does not show that 61616 is consumed. But when I wrote a simple Java program to bind a socket to that port, I wasn't certainly able to! I eventually started active-mq by moving to a different port. But,

Exe name like update.exe blocked by UAC in scheduled task

可紊 提交于 2019-12-05 23:31:50
问题 I have a problem with windows UAC, scheduled tasks and a executable named "dbupdate.exe". I have full power over source code, manifests and so on, but not over user systems (short: normal software engineer ;-). Language is Delphi, but shouldn't be important I think. I have a problem using an application in task scheduler in windows vista and windows 7. The program is named dbUpdate.exe. It has built in a xp/vista manifest, which configures that the program should be started "asInvoker". Now,

Delphi 6 IDE and apps working on windows 7 64 bit?

為{幸葍}努か 提交于 2019-12-05 23:12:06
I have a commercial app that is developed with Delphi 6. Ive been developing under windows xp 32 bit, but am about to get a new development machine with Windows 7 64 bit. Will Delphi 6 install and work in the new environment ? The developed app also uses the BDE, on vista I couldnt get it to work at all, which meant my customers had to remain on windows xp. I dont want this to be the case for windows 7. Does the BDE have any problems working with windows 7 ? (or is it best to use virtualisation ) My development machine has been running Windows 7 64-bit for almost a year now, with UAC enabled.

How do I make a Windows 7 Tooltip in Java

一曲冷凌霜 提交于 2019-12-05 22:48:06
I've been looking everywhere online but I have found no answers to this little problem. In Windows 7 (and in Vista, I think,) you have a nice rounded silver looking tooltip that looks way better than the old yellow boxed crappy looking one. The "How do I make a Windows 7 Tooltip in Java - Stack Overflow" tip below is how it appears. So in Java, I want to do exactly that, make the nice new Windows tooltip. The problem is I don't know how to. Outside of the following simple code is a main method that simply creates an object of this class 'Tooltip'. import java.awt.FlowLayout; import javax.swing

Undefined reference to CLSID_MMDeviceEnumerator and IID_IMMDeviceEnumerator

做~自己de王妃 提交于 2019-12-05 22:38:32
Trying to compile an example code using COM and CoCreateInstance() using MinGW-w64 in C fails. #include <windows.h> #include <mmdeviceapi.h> #include <endpointvolume.h> #include <stdlib.h> #include <stdio.h> extern const CLSID CLSID_MMDeviceEnumerator; extern const IID IID_IMMDeviceEnumerator; int main( void ) { CoInitialize( NULL ); LPVOID device = NULL; const HRESULT ok = CoCreateInstance( &CLSID_MMDeviceEnumerator, NULL, CLSCTX_INPROC_SERVER, &IID_IMMDeviceEnumerator, &device ); CoUninitialize(); return EXIT_SUCCESS; } Compiling with: gcc main.c libole32.a -Wall -Wextra -o a Even though

Why is console output so slow?

人盡茶涼 提交于 2019-12-05 21:58:31
问题 So I have noticed this while using a few differnt languages on Windows XP, Vista and 7. If you dump a couple thousand lines a second to the console window it generally has a negative impact on the performance of the system. Computer are fast, and always faster, and the console looks like just some text on a back ground. Where is the bottle neck? 回答1: printf etc has to go from your process with some sort of IPC to the Console window process (csrss or conhost) The console can also be shared

Basic windows commands (ping, ipconfig) need admin rights - looking for an option

眉间皱痕 提交于 2019-12-05 21:12:01
On my main pc (Win 7 64bit) basic windows commands like ping and ipconfig suddenly need admin rights. If I start a normal command-line window, these commands are not found anymore ("X is not recognized as an internal or external command, operable program or batch file.") If I start the command-line window with "Run as Administrator" everything works as expected. On my second PC (Win 7 32 bit) I do not need admin rights. And I strongly believe that I did not need admin rights on my main pc a couple of weeks ago. Something must have changed, thus I think there must be some (registry) switch or

How force delete the file on hard drive in windows 7

我与影子孤独终老i 提交于 2019-12-05 21:03:31
I have a hard drive and this is a bad file on it! When I want to delete file windows says: "The file name you specified is not valid or too long. Specify a different file name." But the file not renamed! What do I do? You cannot modify a resource when a running process has a handle to it. The solution is to end all processes that have a handle to your resource. This is shown below. 1. End all processes that have a handle to the resource: Start>>All Programs>>Accessories>>System Tools>>Resource Monitor (or Run resmon.exe ) Search for the resource in the Associated Handles searchbox (circled in

Why using WIC in my 32 bit application fails in Windows 7 32 bit?

拥有回忆 提交于 2019-12-05 20:41:31
I have Win32 C++ sample application that uses Windows Image Component in Visual Studio Pro 2012 Update 2. I built this app for X86 and tested in Windows 7 X64 SP1 and Windows 7 X86 SP1. It works fine with the first one and it fails on the later with "class not registered". If I build the same code with VS2008 it works fine. The WIC instance is created in the sample app as follows: #include "wincodec.h" ... case WM_CREATE: { IWICImagingFactory *m_pIWICFactory; HRESULT hr = S_OK; CoInitialize(NULL); // create WIC factory (m_pIWICFactory) hr = CoCreateInstance( &CLSID_WICImagingFactory, NULL,