windows

"Trouble launching CVS process" when using TortoiseCVS

When using TortoiseCVS, as I checkout a module, dialog (see screenshot) telling me "Trouble launching CVS process", "The handle is invalid". Any idea on how this would be happening? ...

Is it possible to make Microsoft build.exe include sources from remote directories?

Adding source files more than one directory away (e.g. ../../source.cpp or ../../../somewhere_else/source.cpp, vs. just source.cpp or ../source.cpp) to the SOURCES= declaration in a WDK/DDK build yields the following error: Ignoring invalid directory prefix in SOURCES= entry Is it possible to include remote source files in a build? ...

Windows XP: Replace the standard "New Folder" action with a WSH script

Problem: I have a custom WSH script that creates a new directory in a similar manner to the standard "New Folder" action in the Windows desktop. This script, however, does a couple of extra things; such as allowing me to create a pre-defined set of child directories (optional); as well as allowing me to add notes and reminders if the dir...

Windows process memory viewer

Hi I am looking for a tool which let me explore process' memory allocation on Windows e.g. Starting address of the process Allocated memory segments, there addresses Stack and Heap addresses and current stack pointer Objects on Heap and there addresses Referenced libraries I have used Process Explorer but it talks about total usage not s...

Asp.net and windows authentication

My application needs to be designed so that an administrator can, via a web interface select if their users login via windows authentication or forms authentication. This means I cant specify the authentication mode in the web.config i.e.: <system.web> <authentication mode="Windows"/> </system.web> How do I approach this? ...

Windows authentication and webservices

I have an authentication webservice which I pass a username and password to. This returns a bespoke credentials object to the requesting application. This credentials object is then used throughout the application (its passed to other service methods). public Credentials login (string username, string password) { } I have been asked t...

Which is the maximum number of Windows concurrent tcp/ip connections?

In .NET I have already tried the configuration below successfully: <system.net> <connectionManagement> <add address="*" maxconnection="100"/> </connectionManagement> </system.net> Using 100 concurrent HttpWebRequest they answered almost simultaneously (less than a second). I wonder why some people wrote in some foru...

.NET 3.5 security question

I have installed .net 3.5 on a windows 2003 system. I notice that in addition to the latest .net 3.5 level, previous levels of .net such as 1.0 and 2.0 are automatically installed also. These older versions have security issues that I assume are corrected in .net 3.5. Is this correct or do the relevant security patches for these older .n...

Is there a good Valgrind substitute for Windows?

I was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux - I have no other need or interest in moving my OS to Linux so I was wondering if there is a equally good program for Windows. ...

Mixing OpenGL and GDI on Windows.

I'm trying to work out a way to mix OpenGL rendering and GDI in Windows. Previously I've been rendering my OpenGL contents into a framebuffer object, extracting it and then blitting it into the windows GDI graphics context and then drawing my GDI stuff over the top. This is really crippling the framerate. I'd like to do the opposite to ...

How do I push a file from a Linux box to a Windows Box?

How do I push a file from a Linux box to a Windows Box? Which versions of Windows have a built-in SSH server that a Linux box can "scp" (secure copy/ssh) to. I'm looking at freesshd right now. Any more ideas? ...

How do I open a file using its default application from Perl on Windows?

I have a directory of files that I would like to scan on a regular basis and execute with the default application they are associated with. They are not executable so system("file.torrent"); does not work. How are you able to run files with there associated applications in Perl? ...

Run batch file as a Windows service

In order to run one application, a batch file has to be kicked off (which does things like start Jetty, display live logs, etc). The application will work only if this batch file is running. I am hence forced to have this batch file running and not logout from the Windows server. Can this batch file be run as a service? I am experimenti...

CFileImageLoader(LPCTSTR lpszFileName);

I have a class which expects a LPCTSTR. When i call : new CFileImageLoader(_T("Splash02.png")) OR new CFileImageLoader("Splash02.png") both don't work. Why ? I'm new to cpp... Thanks Jonathan d. ...

How do I detect the 2 states of "Switch User" in Windows

Hi there, I'm wondering if anyone has had any experience with the API that gives you the possibility to detect the "Switch User" process under Windows XP. I would like to know how I could detect that a user exits his account and when he re-enters it. Thanks. ...

Print html document from Windows Service in C# without print dialog

Hi, I am using a windows service and i want to print a .html page when the service will start. I am using this code and it's printing well. But a print dialog box come, how do i print without the print dialog box? public void printdoc(string document) { Process printjob = new Process(); printjob.StartInfo.FileName = document; ...

What is the Best UI Component Set for WPF?

Looking for a general purpose WPF toolset. Currently looking at Telerik and Infragistics. Are there better options out there? Of those two, which is better? ...

On Windows XP, how do I enumerate all the windows displayed by the system (C#)

I would like to end up with a list (or array or whatever) of all the visible (including minimised) windows. I have found 2 similar questions, which don't quite give me what I'm looking for: - Work out which windows go in the alt-tab list - list windows in another user's session Thanks. ...

Change a shortcut's target from command prompt

I'm normally a Linux guy, but I need to write a batch script on Windows to change the target of some shortcuts. Is there a command to do that? ...

How can I programatically translate a MSSQL server alias to an IP address using .NET?

The Windows default instalation comes with MSSQL client has a cliconfg application that is used to set aliases to Servers IP addresses and ports. Sometimes we use in our ConnectionStrings some of those aliases instead of IP address,port. How can I programatically translate that alias to an address using .NET? Update: .NET + Windows auto...