windows

Where should my library deployed into Windows\System32 write logs?

I've developed an IFilter - a library that is to be deployed into Windows\System32. One possible strategy for reporting errors occuring inside it is writing them to a log file. Where should I put that log file so that I don't have problems with permissions and this solution is Vista/Win2k8 acceptable? ...

Installing Coldfusion 8 32 bit on a 64 bit machine - any problems?

Hi all We are planning to upgrade our test server and to do so we were planning on buying a 64 bit machine from Dell running Windows 2008 x64 Web edition. However, for now we would like to continue to use 32 bit Coldfusion 8. Is there anything to stop us doing this, or do we have to move to 64 bit Coldfusion 8? Has anyone had any p...

How to read out the boot order ?

Is there any way to get the boot order programmatically, on Windows ? ...

Connected to mysql instance ONCE or TWICE?

Hello there, I was wondering whether the following command (from a .bat script): (1) connects to the mysql instance once and then executes script#1 followed by script#2, or (2) does it reconnect for each of the sql scripts? mysql -B -b -h%HOST% -u%USER% -p%PASSWORD% %SCHEMA% < "scripts\create_and_populate.sql" < "scripts\update_joomla_...

Can a simple program be responsible for a BSOD?

I've got a customer who told me that my program (simple user-land program, not a driver) is crashing his system with a Blue Screen Of Death (BSOD). He says he has never encountered that with other program and that he can reproduce it easily with mine. The BSOD is of type CRITICAL_OBJECT_TERMINATION (0x000000F4) with object type 0x3 (pro...

Windows memory and page file usage

Can someone please explain to me why minimizing a windows app massively reduces the memory usage? For example, I run Visual Studio showing 800MB memory usage in Task Manager then I minimize the Visual Studio app window and the memory usage now only shows 50MB in task manager. This seems to happen in all winforms apps. ...

Why do I get a duplicated entry in my Windows manifest?

The following manifest is added to my .exe.: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2"> <ms_asmv2:security> <ms_asmv2:requestedPrivileges> <ms_asmv2:requested...

Interested in Grabbing XBOX Friend's List

Hello, I would like to get the list of XBOX friends for a certain gamercard (http://live.xbox.com/en-US/profile/Friends.aspx) and display it in a widget for my site. I know that there are alot of iPhone apps that do just that, but I would like to do it on the web, without an iPhone. Does anyone know of a PHP class to either login via ...

How to use twistedweb with django on windows.

I'm looking for a super easy way to deploy django application on windows. Basically my plan is to set up any python web server with my app on it and the boundle everything together using py2exe into a single executable. I've tried using cherrypy however the newest (3.1.2) server doesn't work with Windows XP with Nod32 antivirus install...

How to recieve feedback from a Windows MessageBox? (C++)

I know its possible to do something like this with Windows: MessageBox(hWnd, "Yes, No, or Cancel?", "YNCB_YESNOCANCEL); But how do I react to what the user pressed (like closing the window if they clicked "yes")? ...

Getting java applications to look native on windows - how?

Is it possible to use Java to create apps that look native on Windows? I don't care if the solution is portable or not, because I only plan to target windows users. I am using Scala if that matters. Sorry for the lack of details, but I have never used Java before so I'm not even sure if this is possible. ...

Multicore programming: what's necessary to do it?

I have a quadcore processor and I would really like to take advantage of all those cores when I'm running quick simulations. The problem is I'm only familiar with the small Linux cluster we have in the lab and I'm using Vista at home. What sort of things do I want to look into for multicore programming with C or Java? What is the ling...

Fade Windows Desktop in C++

Hi, I am trying to work out how to fade out or dim the Windows Desktop and then display a rectangular portion of the desktop normally. This is for a screen area capture program. You can see the precise effect I am after in Jing Fading the background in a Web page is also commonly done. Any tips/pointers/C++ source much appreciated. Goog...

How to determine if a Windows Process is running?

This is concerning Windows XP processes. I have a process running, let's call it Process1. Process1 creates a new process, Process2 and saves its id. Now, at some point Process1 wants Process2 to do something, so it first needs to make sure that process2 is still alive and that the user has not not killed it. How can I check that this...

Creating a Windows Forms Control (C++)

trying to run this basic form control example on msdn. At step 1 of the portion "To add a custom property to a control" we place the ClickAnywhere code in the public section of the class. First error: "error C2144: syntax error : 'bool' should be preceded by ';'" Is this syntax correct in C++? (see below) (removing the ClickAny...

Reasons for windows service to stop

I have designed a windows service in C#, which runs continiously and spawns three threads. The first thread runs every 15 sec. The second thread runs every min. And the thirs runs only once. My problem is that this windows service somehow just stops after few days.There is nothing logged in the eventlog on the day of stopping.And it did...

Tracking downloads of your software + software CDN?

I'm primarily a web app developer/entrepreneur, so there's a lot I don't know about the desktop software distribution process. I've been thinking about making a Mac OS X app for fun, that I would distribute for free or a really small donation, but started thinking about distribution+download analytics: a) How do you host your software?...

Hudson as service on Windows - file system permissions

For some months we've run Hudson on a Windows XP "server" under a user account. This means someone manually logs in and starts Hudson via a .bat file (that sets up a few environment variables, then runs java -jar hudson.war) However a few recent power cuts have resulted in the requirement to have Hudson start automatically at the time t...

Developing Firewalls for Windows 2000/XP

Hello I got a code from CodeProject for blocking and unblocking urls. Link is "http://69.10.233.10/KB/IP/drvfltip.aspx?display=PrintAll&amp;fid=13906&amp;df=90&amp;mpp=25&amp;noise=3&amp;sort=Position&amp;view=Quick&amp;fr=226" It was working on my system but last five days it is not working . Means its giving problem f...

setup file for window application

I created a setup file. It is working fine, but I want an image for my setup. When I installed the setup in any system I want some images on my setup. Help me, thank u. ...