windows

is there any tool or software that will give the list of dlls and registry data that an application is using?

Hi, Is there any tool that give the list of dlls, registry loc and other files/data that an application need when it gets launched? I basically need this info to know what are all such files/data that IE6 uses when it get launched in windows XP? So that, I would try to get the answer why versions of IE are tightly coupled with windows ...

UTC time stamp on Windows

I have a buffer with the UTC time stamp in C, I broadcast that buffer after every ten seconds. The problem is that the time difference between two packets is not consistent. After 5 to 10 iterations the time difference becomes 9, 11 and then again 10. Kindly help me to sort out this problem. I am using <time.h> for UTC time. ...

How to add zend debugger support for PHP in windows?

I don't want to install Zend Server, and it doesn't work by simply adding this line in php.ini: zend_extension_ts=.\ZendDebugger.dll ...

Portable executable structure explanation

I am learning the structure of a portable executable. I went through the MSDN article but I am a bit confused about it. I have some confusion with their precise stucture and its functionality. Can anybody help me or please refer me to a nice article for this? ...

Windows 7 - Enable Network DTC Access

I have a Visual Studio 2010 Windows Forms application in which I start a transaction using the TransactionScope class. I then Receive a message from a Sql Server Broker Services message queue, which works fine. I next try to call a stored procedure from the same database with a call to my data access layer which is a Visual Studio data...

I need guidance in building my first C# project

Hi I'm a PHP developer and I have some experience with Java. I'm trying to learn C# and my first project would be a program that starts the timer on a PC by clicking a button on another PC in the network. The problem is, I don't know where to start? What do I need to read up on? The OS for both PCs is Windows XP so they're desktop apps. ...

How to configure WinDbg to be one of the optional debuggers when application hit a user defined break point?

Hi, when an application on my machine encounter a user defined break point it windows opens a dialog that let me choose a debugger to attach to the process. Currently it offers me to choose one of the two versions of visual studio that installed on my machine (2008 or 2010) I want to add to the options WinDbg. Is it possible? ...

Are timers supported by Windows Native API?

Do Windows Native API support Timers? I am aware that POSIX implementations on Windows support timer, but I am interested in Windows SDK APIs. ...

Problems with Threading in Python 2.5, KeyError: 51, Help debugging?

I have a python script which runs a particular script large number of times (for monte carlo purpose) and the way I have scripted it is that, I queue up the script the desired number of times it should be run then I spawn threads and each thread runs the script once and again when its done. Once the script in a particular thread is fini...

IE6 and IE7 Standalone: What do they render differently?

It's common knowledge on SO (see this question) that to run IE6 and IE7 you need a Windows box (or virtual box) with only those apps installed. I doubt this is true (they are the real versions, I think). The two browsers I'm interested in are: Standalone IE6 from the MultipleIEs install Standalone IE7 also from Tredosoft (but publishe...

How to detect if Windows is directing traffic over LAN or over WiFi in C#

Hi there, I am writing a piece of software in C# using .NET 2 which detects whether there is an active ethernet connection on the Windows machine. It is important that it knows that it is ethernet rather than WiFi as the program will behave differently depending on whether sending data with a WebClient is going over WiFi or Ethernet. I...

What does "Insufficient system resources..." error mean?

This question spans both serverfault and stackoverflow so I just picked this one. I get the following exception with some simple file copy code. Its running on Windows Server 2003 x64 Caused by: java.io.IOException: Insufficient system resources exist to complete the requested service at sun.nio.ch.FileDispatcher.pwrite0(Native Method...

How do I connect two apps

I am considering building an app in C++ that will be parsing text from the web and create some statistical results. These results I want to be fed in an external app in real time. The external app (to whose code I have no access, but can ask for a - paid - custom made addition) will then need some code to read and use these results. I a...

CURL on PHP 5.2 works in CLI but not in IIS

I have a Windows 2003 Server running IIS with php 5.2.8, I'm trying to use CURL, and it works in CLI mode (if i execute php.exe) but it does not seem to be registered when running under IIS. The output of PHP info in both CLI and IIS show the same 'Loaded Configuration File', but under IIS it does not give the CURL info box. c:\progra...

CVS tools for repo monitoring on windows?

I sometime use the very simple but effective svncommitmonitor, http://tools.tortoisesvn.net/CommitMonitor to monitor activity. It's easy to see in the sys tray on a windows box and I've become used to it by now. So, is there a similar/identical tool for CVS. Some googling and to my surprise I couldn't find one. Any tips? ...

How create custom user interface for Windows?

There are many applications for Windows these days that don't use native windows controls, don't have standard window frames and generally look different. What are some recommended techniques for creating such interfaces? ...

Haskell UI framework?

Is there, by chance, an emerging Haskell UI framework for Windows? I recently took up looking over the language, and from what I see, it would be for great little "one-off" applications (elaborate scripts). However, without a good UI framework I can't see it getting in under the smoke and mirrors of the more obvious contenders. I've r...

Problems reading registry from Delphi 7 on Windows 7 64 bit

I think this question was already asked, but I couldn't find a solution which works for me. I use Delphi 7 under Windows 7 Ultimate, 64 bit. Actually I started writing application under 32 bit OS, but then changes PC, so now its 64. In my program I use registration process with Licence ID generated from PROGID value of Windows. Unfortun...

Doing a virus check on a file from a build script

I would like to be be able to invoke a virus check as the final stage of the build process (please don't question why a dev machine would get a virus, it's just a belt-and-braces approach to avoid the risk of getting sued by customers...). Also I'd like the option of having AV on a machine but switching the auto file system protection o...

UTC timestamp in milisecond using c++ under windows

How to get the UTC time in milliseconds under windows platform. I am using Standard library which give me UTC time in seconds, I want to get time in miliseconds, kindly give me the reference of any other library which give me the accurate UTC time in miliseconds. ...