windows

Apache console accesses network drives, service does not?

I have an apache 2.2 server running Django. We have a network drive T: which we need constant access to within our Django app. When running Apache as a service, we cannot access this drive, as far as any django code is concerned the drive does not exist. If I add... <Directory "t:/"> Options Indexes FollowSymLinks MultiViews ...

What are Windows SVN+Tasks Management+Blog+Timeline free, opensource solutions?

What are Windows SVN+Tasks Management+Blog+Timeline free, opensource solutions(projects)? ...

MongoDB vs CouchDB (Speed optimization)

Hi! I made some tests of speed to compare MongoDB and CouchDB. Only inserts were while testing. I got MongoDB 15x faster than CouchDB. I know that it is because of sockets vs http. But, it is very interesting for me how can I optimize inserts in CouchDB? Test platform: Windows XP SP3 32 bit. I used last versions of MongoDB, MongoDB C# ...

Difference between "traditional" COM and COM+ (in Component Services)

By the "traditional" way I mean registering the DLL in registry. There seems to be another method to set up it by going to mmc->Component Services->COM+ Applications and adding the .tlb file. I have a COM library that supports both methods. When it installs, it registers itself in the registry as a COM component and it works fine. Howe...

Gzip In-Memory Compression

Quick and simple question. There are examples online about achieving in-memory gzip compression with zlib (C++) WITHOUT external libraries (like boost or such)? I just need to compress and decompress a block of data without much options. (it must be gzip as its the same format used by another mine C# program (the data is to be shared)...

Scheduled task username changed

I created a user on our exchange server, but later changed the username. Now, when I create a scheduled task for that user, and change it's settings (run only when logged on), the username is automatically changed back to the old username. What's causing this and how do I make sure the correct, new username is used for the task (otherwis...

Can I programmatically find out if a drive is in use?

Is there any way of programmatically finding out if a mapped drive is currently in use? If I try to unmount the drive with net use, and the drive is being used, it will tell me that the drive is in use and prompt me to take further action. I'd like to be able to unmap drive automatically if it's no longer being used. The system is a Wi...

How to use Application Verifier to find memory leaks

I want to find memory leaks in my application using standard utilities. Previously I used my own memory allocator, but other people (yes, you AlienFluid) suggested to use Microsoft's Application Verifier, but I can't seem to get it to report my leaks. I have the following simple application: #include <iostream> #include <conio.h> class...

windows 64bit problem

hi there, I have developed a windows application using C# VS 2008 and Sql 2005 express, i have testes the application on my machine and it works fine, my machine is win32 bit, when i tried the application on windows 64bit it keeps giving me an error message on the start of the application,although i installed the sql express on that mach...

What Windows editor has CORRECT EOL whitespace handling?

I'm looking for a Windows text editor for programming that handles EOL whitespace CORRECTLY, which for my idea of correct means: Strip all EOL whitespace on save, EXCEPT on lines that I haven't edited. This is to minimise the amount of EOL whitespace evil in my world, but not pollute SCM diff/blame with whitespace-only fixes (I have to d...

Can we write a script to do something when a dialup connection is made to my computer?

This is the situation, I have configured a dial up server and i want to play a sound or pop up message when a daipup connection is made to my computer from a specific location. and it could be done with configuration file or some script to run some exe.please give me some ideas ...

How to associate a file extension to a program without making it the default program

I'm deploying a small conversion tool on some systems, and want the users to be able to run it from the right click Open with menu. But I don't want to change the default program users have associated to this file type. It is easy to associate a file extension/type to a program, but how to do it (programatically of course) without chang...

Permission differences between windows service and console application

Hello! I'm developing an application with a smart card involved (digital signature). Let's assume that we have the same code in this two contexts: Console application, executed by Administrator user Windows Service, executed by Administrator user I suposed that if this two codes were executed by the same user they would have the sam...

Which PHP IDE would you use on Windows, if you're used to TextMate on the Mac?

Until now, most of my PHP development had been done on a Mac in TextMate. For a new client I need to work on a secured windows box, and I was wondering which IDEs I should be looking at, as someone used to working with TextMate. I've tried the 'E' editor, and I'm unconvinced. I've tried IDEs on the Mac, and they always seem like poor rel...

Do I have to listen for server output while sending data to an SMTP server?

I have problems implementing SMTP protocol over WinSock API. Here's what I do now. The client creates a non-blocking socket, connects to the server and exchanges data with it. It uses "send string" primitive which efectively calls send() in a loop until the whole string is transmitted and "receive string" primitive which calls recv() in...

Windows Server 2008 Web Edition Configuration to make website see image file

I am trying to get a website up in tomcat, and while the sample sites have worked, this website is not seeing the images in the content/images folder. Is there some configuration file that needs to be modified for them to be referenced properly? To see what I am talking about 208.73.99.218:8080/cott/ (using IE will display the page prop...

windows I/O manager - IRP's classification in read-like and write-like

I am writing a windows filesystem minifilter driver that must fail I/O Request Packets (IRP's) in a preoperation callback based on their type (read/write). How can I find out from the callback parameters (or elsewhere?) if the operation is read-like ( only reads data ) or it's write-like ( modifies data on the disk - write, delete, forma...

Event Log Oldest Record Number

I'm trying to use the new event log API to get the oldest record number from a windows event log, but cannot get the the API to return the same answer as event viewer displays (looking at the details EventRecordID). Some sample code I'm using is below: EVT_HANDLE log = EvtOpenLog(NULL, _logName, EvtOpenChannelPath); EVT_VARIANT buf; DW...

What's the best resource for learning windows driver development?

For linux driver development, I can refer to <linux driver development> What about windows driver development? UPDATE Is there any goold books on this topic? ...

What is equivalent LDAP attributes for Active Directory

What is equivalent LDAP attributes for Active Directory I am looking for password using Net::LDAP. I dont know to how to set the user password using Net::LDAP ...