windows

ASP.NET MVC Routing vs. Reserved Filenames in Windows

In our ASP.NET MVC application, we've noticed that we cannot have The Forbidden DOS File NamesCOM1 through COM9, LPT1 through LPT9, CON, AUX, PRN, and NULanywhere in our routes. They inevitably result in IIS telling us the file cannot be found, even when we set routing not to check for the existence of files first. How can we work arou...

Max amount of memory per java process in windows?

This is a pretty simple question: What is the maximum heap size that you can allocate on 32-bit Windows for a Java process using -Xmx? I'm asking because I want to use the ETOPO1 data in OpenMap and the raw binary float file is about 910Mb. ...

What is the best way to build open source libraries DLLs for Windows developers to use?

I have several C free software/open source libraries that I develop on Linux and OSX with the GNU toolchain (automake, conf, flex, bison, gcc, ...) but I occasionally get requests to provide Windows DLLs. I'd like to be able to provide those without having to spend a lot of time and money with Windows Visual Studio development. I do ha...

Stop a batch file from autoclosing.

Can someone tell me what cmd to put at the end of a batch file to stop it from auto closing? Thanks! ...

What replaced usbioctl.h?

I'm trying to create a test module for one of our USB devices and I'm using Windows XP with the Windows 2003 DDK. When I include the I'm getting a warning that it is obsolete, but without getting any hints as to what replaced it. I see that some definitions were migrated to , but the structure definitions for IOCTLs (like USB_NODE_CO...

How can I check free space during a NullSoft silent install?

In silent install mode the user is not asked about the installation target with the PageEx directory, and therefore the functions DirVerify and GetInstDirError are never called. This is also applicable to installs that hardcode the installation target (a bad idea) for the same reason as above: the PageEx directory is never invoked. ...

Software like Synergy that also works with windows

I'm using Synergy to control both a desktop and a laptop with a single set of mouse/keyboard. Unfortunately my desktop monitor is rather small (to programmer standards). I'd like to drag windows from my desktop and carry them to the laptop Is there any software that can do this? ...

Command line subversion client for Windows Vista 64bits

Does anyone recommend any particular command line SVN client for Windows. Being 64 bits would be a bonus. I do have TortoiseSVN, but it doesn't come with command line, which is required for my build scripts. I searched the subversion site and found not one, but four different options. Therefore, my question. ...

What is best programming language to make Windows GUIs?

What is best programming language to make Windows GUIs? ...

put the application on trace

Hi there. İ have a windows application. I made it in v.s 2008 with c#. I want to put it on trace when i m installing it. like windows messenger, yahoo messenger etc... ...

When to support Windows 64?

I'm currently providing 32 bit Windows music software. Some of my users are asking for 64-bit support. I plan to eventually, but porting is a big job, and I have plenty of other important feature requests too. I need to allocate my limited time wisely. How much market share do 64-bit operating systems hold?, and what's the trend. ...

Where does an application store "I'm deactivated" on Windows?

Applications often have registration keys. It can arguably be placed in a file or in the registry. Sometimes, an application is deactivated by entry of another key, or the passing of a date, etc. Where can one safely store such information about an application be deactivated? A file isn't the answer; a backup copy can be restored to d...

Windows SDK "Samples" dir is missing

I want to look at sample code for the Wlan API (MSDN link). But C:\Program Files\Microsoft SDKs\Windows\<version number>\Samples\ doesn't exist for me. The only directories there are: bin Bootstrapper FXCop Include Lib I got my SDK (v7.0A) by installing the Visual Studio 2010 beta. OS is Windows Vista. ...

How to write an unkillable process for Windows?

I'm looking for a way to write an application. I use Visual C++ 6.0. I need to prevent the user from closing this process via task manager. ...

What is Windows programming and where it is headed? Honestly win32 is dead, isn't it?

Duplicate: How relevant is Win32 programming to modern professionals? Does it still make sense to learn low level WinAPI programming? I recently read a blog entry about someone asking for a good book on windows programming. He was disturbed by the fact that most books he found are about 10 years old and probably outdated...

Determining Client Internet Connection (InternetGetConnectedState() lies)

It seems I am not the only one to have discovered this: http://forums.devx.com/showthread.php?t=72771 Actually both: InternetGetConnectedState InternetGetConnectedStateEx are not reporting correctly. When I am connected, it returns 0x12 and when I an not connected it returns 0x10 (0x10 is not defined) http://msdn.microsoft.com/en-us/...

Finding and deleting bad symbolic links in windows

Is there any simple way to find broken ntfs symbolic links in windows and delete them? (other than manual search and destroy) I'm in this mess because of windows home server's inability to upgrade without removing disks :/ and the files are scattered randomly on a bunch of disks (but the structure is intact and mirrored on all disks) ...

How to change command prompt (console) window title from command line Java app?

How to change and update the title of the command prompt window from the java command line application? Every time I run my application, the command prompt window title shows: C:\WINDOWS\system32\cmd.exe - java MyApp. I'd like to change and update the window title as the java program runs, for example as wget(win32) updates downloading ...

OpenOffice.org development with pyUno for Windows—which Python?

At home, on Linux, I've experimented with pyUNO to control OpenOffice.org using Python. I've been using Python 2.6. It all seems to work nicely. Now I thought I would try one of my scripts (run a graphical diff for ODF doc) on Windows. But when I tried to run it, I got: ImportError: No module named uno According to udk: Python UNO Br...

How to remove windows group account using C#

Hi, How to remove windows group account using C# I'm using this code to remove user account, but I need to remove the whole group. DirectoryEntry localDirectory = new DirectoryEntry("WinNT://" + Environment.MachineName.ToString()); DirectoryEntries users = localDirectory.Children; DirectoryEntry use...