windows-vista

Starvation of threads with Windows 2003 SP2

To our great surprise we found recently this. With SP1 for Windows 2003 Microsoft changed a way critical sections behave. Earlier threads wanting to access them were served in FIFO manner. Right now they are served in pure "random" way. In our case we had something like this: // I now it's kind of ugly design but works void Class:RunIn...

C++ Compiler For Windows

Hello, I'm using Windows Vista Ultimate and i want to know what is the best C++ compiler for my Windows, because in Linux i use in somee cases gcc and in others g++, but recently i've installed Windows in my computer and this is the question: What is the best C++ compiler for Windows? Thanks! ...

ALT+TAB in Vista activates main window instead of previously active child window

My app (written in C++) uses Win32 (not MFC) to create a couple of windows with CreateWindowEx. The main window gets the desktop as parent, the child windows get the main window as parent. my problem: my app has an active child window I switch to another app (per click, ALT+TAB or other, doesn't matter) I switch back to my app with AL...

Microphone plug in event/ Mic attach event Vista

I want to be notified when a microphone jack is plugged in. What is the event fired by the OS(particularly Vista) The audio panel shows no recording device active if no mic plugged in(vista). This never happened in XP. Also if my microphone had a "advance control" for eg Bass Boost, Mic Boost(AGC) etc, how can I get the mixer control f...

SQL Server 2008 database copy - file permissions

For SQL Server 2008 Developer Edition on Vista 64 bit: I tried copying a database using a Vista admin account using the attach/detach method and it failed due to a file permission error so I gave the user that sql services are running as write and modify to the directory. The copy didn't work. I then gave it full control. The copy wo...

ASP.NET: "The resource class for this page was not found."

Hi all, Myself and a colleague have recently upgraded to Windows Vista, and have been using it to develop ASP.NET applications with Visual Studio 2008 without many issues. And up until this morning, I had been managing to use local resources fine too. However, this morning, my application suddenly stopped working with local resources, ...

Problem with WCF Service - The protocol 'http' is not supported. How to resolve?

I'm after setting up a WCF service on my dev box but I'm getting an error when accessing it. I've set the service up as per this guide. It's is written in VS2008 / C# / .NET 3.5 and my dev box is Vista SP2 with IIS 7. At the moment the service is nothing more than the default structure since I am literally after testing a connection to i...

Hide Start Orb on Vista / Win 7 in C#

When hiding the Task Bar on Vista and Windows 7 the Start Button (also known as the Start Orb) doesn't get hidden. I've been looking for a solution to this and I've found one but it seems more complex than necessary. This CodeProject article describes (and contains code for) a solution where you enumerate all child windows of all threads...

delphi in vista

i have one problem when i run my program in delphi7 have one error message "unknown table type - permission denied - file:c:\PDOXURS.NET direcory C:\" i dont know of make tk for one answer ...

how to interpret windows task manager?

I run Windows 7 RC1, which uses the same WTM from Vista. When i look at the processes, there some columns I'm not sure what the differences are: Memory - working set Memory - private working set Memory - commit size can anyone tell me what they are, or provide a url to some website that does? thank you so much. tam. ...

Drag/Drop between medium/high integrity level processes in Windows Vista

In Windows Vista, I am unable to drag/drop files onto my application's window because it is running as a high integrity level process. I need to run it as high, but I also need to be able to accept dropped files from low/medium integrity level processes like Windows Explorer. I believe it is UIPI that is blocking the drag/drop operation....

Vista and Oracle 10g

I am getting this error message in Internet Explorer with Oracle 10g installed on Vista: The 'oraoledb.oracle.1' provider is not registered on the local machine I can connect to Oracle databases OK with SQL Server 2008 as a linked database. However, my IE 7 doesn't see it. I have installed it as administrator and tried many different ...

Delphi 2006 always stops working when closed on Vista

Whenever I stop the Galileo IDE from Delphi 2006 under Vista, I get Microsoft Windows Borland® Developer Studio for Windows has stopped working A problem caused the program to stop working correctly. Please close the program. [Close the program] followed by some dialog by data execution prevention. Even excludi...

Does anybody know what means ShellHook message HSHELL_RUDEAPPACTIVATED?

I am writing application which establishes shell hooks to get shell events (I am using C# if it matters). I am using this example: http://msbob.spaces.live.com/blog/cns!DAFD19BC5D669D8F!132.entry Hook is working fine but I do not receive message on which I am interested: HSHELL_WINDOWACTIVATED (all other window-related events work well)...

Graphic Adapter problem in Assembly with vista

When I want to switch to GA in Assembly with Vista it gives me a fatal error and it simply says "I don't support 16bit GA". What should I Do? ...

Problem in hosting ActiveX on Vista (in a Visual Studio 6 C++ application)

Hello everyone, I just installed Visual Studio 6 (SP5) on a Vista Enterprise machine. Had some problems but I think it’s set up alright. The problem is my VC++ 6 application fails when trying to host an ActiveX. I was able to compile it ok, though got a warning message from Vista about the rc.exe (“This program has known compatibility ...

Browser keep stopping with user breakpoint and opens visual studio 6 in debug mode

Hi, Following my last question (see: http://stackoverflow.com/questions/1184175/problem-in-hosting-activex-on-vista-in-a-visual-studio-6-c-application) I ran into a strange problem. I hope this’ll be a simpler issue to the experts here: Each time I run certain application like iexplorer or firefox, the Visual Studio 6 suddenly opens up...

How to differentiate between Vista SP1 and Server 2008 at install

I have a Wix installer which should be allowed to run on Windows Server 2008 but not on Vista. According to Microsoft's Operating System Properties page, this is not possible using the parameters they provide for this purpose (VersionNT and WindowsBuild). Has anyone solved this problem or know how to solve it? Thanks! ...

CreateDesktop() with Vista UAC (C Windows)

I'm using CreateDesktop() to create a temporary desktop where an application will run, perform a cleanup action (while remaining out of the way) and terminate. I'm closing that desktop once the application is gone. Everything is fine when using Windows XP and even Vista. The problem arises when you enable the (annoying) UAC. Everything ...

How to uninstall IIS 7 under WOW64?

In a Web server installer that I'm maintaining, we keep track of whether or not the installer had installed IIS 7 and/or ASP (under Vista or later) and save an appropriate value to the Registry if so. During an uninstall, if that value is there and no other Web sites are using IIS on that machine, the user is asked whether or not IIS/ASP...