windows-xp

Why do I not see the "Application Error" dialog box?

I was interested in learning more about mixing runtimes between exes and dlls. On a WinXP machine, I created a dll build against the release runtime (/MD) and an exe that calls a function in the dll that is built debug (/MDd). The function in the dll allocates memory to the heap and the exe deletes it. I expected this to crash, howeve...

Determine differences between two computers running Windows XP?

I have a program which I try to run on two computers. On one computer, it works fine. However, on the other computer, it hangs while attempting to create a USB channel. I do not have the ability to look inside the program. What is the best way to determine the differences between the two machines? ...

ASP Classic web page length

I have a ASP classic web application running on windows 2008 r2 server is not rendering the whole page(only last 70 % is shown) while the same application on my localhost running xp shows all the page content. Is there any limit on the web page size on new iis or is there any property to change on iis to fit all the page size d...

for loop in batch file programming

I have not much knowledge in batch file programming. I like to know the working of for loop mainly. For this i think a small sample program will be helpful to me. So i want a simple program to display the first 'n' natural numbers.Any help please... ...

Compiling C in Windows XP

Hi, I want to learn Vim editor and I'm trying to compile a C file. I've installed MinGW and I've added gcc.exe to System Path: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Arquivos de programas\TortoiseSVN\bin;c:\Arquivos de programas\Microsoft SQL Server\100\Tools\Binn\;c:\Arquivos de programas\Microsoft SQL Server\...

Sitecore Images (ASHX extensions) not being picked up by IIS 5.1 or IIS7 Express- Getting 404 Instead

At the moment I have no images being picked up at the moment, and this is off a completely default Sitecore Xpress install. I think this version is based on a 6.0 release I have installed it on a XP machine (no images) and then tried running it through WebMatrix, still with no images. I am at a loss really, and I have been grasping ...

BSOD while playing a sound resource

I have a VB.NET application that crashes on a client's computer with a BSOD error... KERNEL_DATA_INPAGE_ERROR. This error occurs at a point where my program does two things: Locks the computer Plays a sound in BackgroundLoop mode For locking the work station, I am just using this: <DllImport("user32")> _ Public Shared Sub LockWorkS...

Run Python CGI Script on Windows XP

This exact question has been asked before but I am at my wits end! I've spend 4 hours trying to get a SIMPLE Python CGI script to work on Windows XP but I get errors. Please save my sanity! Python Script register.py #!c:/Python30/python.exe -u print "Content-type: text/html" print "<P>Hello, World!</p>" Script is located in: C:\Pr...

Building our application for Windows 7

We are currently building one of our applications on Windows XP and targeting only XP. As of now, we are not shipping our applicaton on Windows 7. But we are planning to move to Windows 7. Is it fine to build the application on XP and install it on Windows 7. This will work. If we built the application on Windows 7, do we need to ma...

can .net framework 4 works on top of windows xp?

Hello, I tried to run a small application that I've written using VS2010 on my old Windows XP desktop. I got the yellow screen of death showing me a portion of the web.config with assemblies. <compilation debug="true" targetFramework="4.0"> It looks like it didn't like the 4.0 framework. I re-wrote it, targeting 3.5 framework, this ...

periodically connecting-disconnecting WiFi connection

Hello, I have problem with my WiFi connection. It is periodically connecting-disconnecting after couple of minutes. I have windows XP and have checked the log. There is event ID:1003, event source:DHCP, text: Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network addre...

Reuse existing AutoCAD instance with vbscript

I am using the following vbscript to automate AutoCAD Dim acadObj WScript.Timeout = 30000' set acadObj = GetObject(,"Autocad.Application")' If Err.Number <> 0 Then Set acadObj = CreateObject("Autocad.Application") aCadObj.Documents.Item(0).Close(false) End If acadObj.Visible = true Err.Clear() What it should do i...

Servlet throws file not found excp when accessing network drive

Hello All, I've a production env and test env. Production has win2k3+tomcat 6.0+ and network drive mapped to a drive letter for easy access (z:\app instead of \symba\files\app). My test env has windows xp (all the software is same including the source code for servlet) and test also has the same drive letter mapping to the network drive....

Is it poosible to use winmerge to view git diffs from cygwin?

I like to use git on cygwin, but the only downside I have is when I want to git difftool I cannot use anything useful. git diff is fine for me most of the time, but sometimes I'd like to use winmerge to view these diffs via git difftool is there some way to set this up? ...

Visual Studio 2008 - Why does the vshost.exe have a full path limit of 126 characters?

Based on a previous question I posed (see here) and the following msdn threads, why does debugging fail when the full path of the vshost.exe is >= 127 characters? To reproduce the issue create a project with a full path (directory + assembly name + vshost.exe) that is >= 127 characters. Then press F5 to start debugging and the program ...

C: Regex library with MinGW

How do I install a C regex into MinGW? I'm using it's gcc... I'm running Windows XP. I prefer a updated one. Thank you. ...

How do I make a Python script (installed as a service) survive a logout?

I followed the instructions in this answer about writing a Python script to be used as a service. I placed my looping code in def main(). I installed the service with python my_script.py install. I was able to Start and Stop the service through services.msc in Windows XP. It's a logging program that is intended to write logs as long as...

Win32 SETX command hangs sometimes

I am using the resource kit on WinXP and sometimes the SETX command hangs with simple variable assignments. Why is this and how can I avoid it? e.g. setx x x ...

Determine Physical Location of a PCI Adapter

We have a Windows application that can use multiple PCI adapters. These adapters all have external physical connections to other hardware or cables. Our software is configured to know what the physical connection on each card is connected to. Imagine audio software that supports multiple sound inputs and outputs. The audio software i...

An IDE for shell-scripting in windows environment.

I have learned shell-scripting in linux environment. Now I am unable to install Linux on my PC. I need to practice shell-scripting. Currently, I have Windows XP installed on my PC. Is there any known IDE which can help me practice shell-scripting programs in windows environment? Thanks in advance. ...