windows

Max tcp/ip connections on Windows Server 2008

I have .Net service that listens on single port over TCP protocol. Clients connect and then transmit data for some time (from few minutes to several hours). Is there any limit on number of connections on Windows 2008 server? I did not hit any, since now there is up to 50 users. Plan is to have thousands of users, so I'd like to know if...

mono AOT on Windows exe gives me an DLL

I'm on Windows and I'm trying ahead of time compilation on Main.exe that's been compiled with the Mono C# compiler gmcs (also tried mcs). >mono --aot Main.exe Mono Ahead of Time compiler - compiling assembly C:\test\Main.exe Code: 21 Info: 4 Ex Info: 8 Class Info: 30 PLT: 2 GOT Info: 6 GOT Info Offsets: 8 GOT: 12 Executing the nati...

Need ntdll.dll map file

Hi, Is there any way to retrieve the address map file for ntdll.dll? I know the address entries of the exported functions, but I need to see if there is a non-exported function at 000117DF. The closest exported function is at 0001161D (RtlInitializeCriticalSection). Thanks! ...

Secure Sync between remote computers

I've been trying to find a tool that will Sync between two remote computers securely and also run as a service so I don't have to stay logged in. Windows Live sync seems to do the job although I've read it can't be run as a "service" reliably because it will occasionally log out of the service [http://www.dscoduc.com/post/2009/06/24/Don...

Does Mac OS X have a better installation story than Windows?

I'm a Windows developer... I know nothing about Apple Mac OS X. In Windows one uses Windows Installer to install packages.. For historical reasons, installation is not an easy thing in Windows. I was wondering what is the OS X story? Just curious. ...

How to check which XP theme is enabled

I have a wxPython which works perfectly on window xp theme but on switching to 'classic theme' rich text cntrl comes up without border. I can enable border for classic theme but for that Q1. I need to know if classic theme is enabled. Q2.I am also not sure how many different theme could be there which may break my app appearance. so w...

"Printer..." button in the Windows Page Setup Dialog (Vista)

We're using the Windows Forms "Page Setup" dialog to allow the user to select a page size prior to print preview. On XP, the dialog displays a "Printer..." button which allows the user to select a printer and select from a list of page sizes supported by only that printer. On Vista, the very same code displays the dialog without any butt...

lightweight/portable VCS for server-hopping DBA?

I'm looking for a VCS that'll help me keep all of my work scripts in-sync. Requirements: Portable (as in flash drive, not code-level) Run on Windows XP and Server 2003+ No installation dependencies (Cygwin, perl, Python) I use Mercurial on my work machine for version control of the various T-SQL, ksh, perl, and CMD/BAT scripts that ...

How to walk a native object in WinDbg?

I am investigating what is taking up lots of memory in my app. Using the !DumpObj command, I can get around the managed objects. But how do I do the equivalent for native objects? For example, this .NET object has a pointer to native code. I am stuck here... how do I do the equivalent of !DumpObj from here? I have all the source and...

Thread for Windows form

When I'm creating a simple Windows form, is it starting in a new thread automatically? Or there is only one thread for all forms? ...

hosts file in windows and my developer

One of my sites - mediadeals.co.uk is showing a blank page. So I went back to my developer. He asked me to add this on my hosts file in windows->system32->drivers->etc->hosts 74.86.205.232 mediadeals.co.uk After doing this the site started working. What does this mean? ...

Best way to setup a Windows build environment for C/C++

Basically I want to compile C/C++ using the GCC on Windows. The two competing platforms, as i see it, are MinGW and Cygwin. Each have their own benifits and limitations. MinGW compiles for Windows, whereas Cygwin needs the cygwin .dll. However installing libraries on MinGW is difficult, whereas on cygwin it's easier, using the setup.exe ...

Modifying a non-local registry hive

I'm writing a program for my workplace and because we work on computers damaged by hard drives we sometimes need to work with their registries before they'll boot. Most notably, we're trying to fix the 0x7b error that stems from the Registry Hive that controls the default Hard disk drivers being damaged and the computer wont boot. Micr...

What type of file deletes itself as soon as the handle is closed?

Let's say I have a Windows application that creates a file and writes data to it. The application has opened the file exclusively so no other processes can read the data in the file. If the process is killed, the file is deleted. If the process is suspended and the handle to the file is closed (using Process Explorer), the file is dele...

Programmatically getting per-process disk io statistics on Windows?

I would like to display a list of processes (Windows, C++) and how much they are reading and writing from the disk in KB/sec. The Resource Monitor of Windows 7 has the ability so I should be able to do the same. However I have unable to find a relevant API-call or find anything in the perfmon counters. Could anyone point me in the dire...

StartService fails with error code 1053

Hi! I'm trying to start a process on a remote machine. I'm using OpenSCManager(), CreateService(), QueryServiceStatusEx() and StartService() API-s. I'm able to successfully install my process as a serice, but when i'm trying to start it, StartService returns with errorocode 1053 ("The service didn't respond to the start or control reque...

Can MonoDevelop (2.2b2) running on Windows use the Microsoft compilers?

I've installed MonoDevelop 2.2b2 on my Windows workstation, which has the .NET 3.5 SDK installed and running fine (I can use VS Express and command-line compilation without a problem). Apparently MonoDevelop defaults to calling the Mono VB.NET compiler (vbcnc.exe) rather than the Microsoft compiler (vbc.exe) when building a project. (I ...

Windows Authentication doesn't prompt for login

I've had Windows Authentication setup on an area of our website for some time now, and it has worked flawlessly so far. Recently, the login prompt stopped appearing and went straight to "Page cannot be displayed" for some reason. While connected to our network, the page works fine. Outside our network, users are supposed to receive a log...

Using Qt with DirectX?

What exactly are my options? I have programs I need to write in OpenGL and DirectX, and I'd like to use Qt for OpenGL, and not have to re-implement half my program for the DirectX components of my task. I've looked on Google and I have found references to people complaining about Direct3D being a dependency of Qt, and people talking abo...

Remote Debugging Fail - No suitable logon session

Receive this error message: Error while trying to run project: Unable to start debugging. Unable to start program "D:\xxx.exe". There appears to be no suitable logon session on the server. Please verify that you are logged on to the server through Terminal Services or that someone is logged into the server locally. This is the 1st ti...