windows

windows beneath not being painted when using a layered window

Hi, I will try to explain my problem the best i can, I'm creating a layered window in c++ (using windowsXP), all works fine until i drag my created window near the windows start button, and then when i press the star button of windows taskbar and close it again all the windows beneath of my layered window aren't being painted (only in ...

MSDN Remark regards Security Descriptors

I'm trying to extract and restore a Security Descriptor of a NTFS file, via Windows API - XP SP3, I'm trying to understand which functions are actually able to do it properly, but I simply fail. I found this Remark over MSDN: http://msdn.microsoft.com/en-us/library/aa379573%28VS.85%29.aspx "Some SECURITY_INFORMATION members work only w...

Is there a guide to debugging Java processes in Eclipse across OSs?

I have an application written in Java to run on Linux. I'm developing in Eclipse under windows. I would like to run the code on the Linux box and debug it on the Windows one remotely. I've found some information about how to do so, but it's pretty sparse. Does anyone have (or can point to) a complete explanation of the process? Any help...

Memory leak detection tool for qt applications on windows

Hi, Is there any free memory leak detection tool for QT programs to run on windows? I am using QtCreator as my IDE. If any plugin or add-on is available with QtCreator its best also. Has anybody any idea about this? ...

Saving WPF WIndow and Position

What would be the best way to save the window position and size in a WPF app? Currently, I'm saving the window size and position of a WPF App. Here are the events I handle: SourceInitialized : The saved info is loaded on to the window WindowClosing : The current info is saved to the backing store (I copied this from an example). Th...

Can't find IISROOTFOLDER on Windows Server 2008

I'm using installshield to install my website to IIS, it works fine on windows server 2003, but while running on windows server 2008, it raise an error saying: Error 1606. Could not access network location {IISROOTFOLDER}. How can I fix this problem? ...

Get screenshot on Windows with Python?

Hello, I am creating a Beta Testers reporting module so they can send in thier comments on my software, but I would like to have the option to include a screenshot with the report. How do I take a screenshot of the screen with Python on Windows? I have found several examples on Linux, but haven't had much luck on Windows. ...

Cheap windows driver signing for 64 bit Windows 7

I need to install the libusb-win32 driver on Windows 7 64 bit machines. This driver is open source so it is not digitally signed so I want to do this my self but I wonder if this can be done WITHOUT paying lot of money. Is it possible to use a certificate which is NOT signed by Verisign or GlobalSign? Maybe self-signed or by using StartS...

Why does System.Windows.MessageBoxImage have enumeration sub-items with the same value?

Hi, I'm trying to write my own abstraction over the MessageBoxImage enumeration, and see that MessageBoxImage is defined as: namespace System.Windows { public enum MessageBoxImage { None = 0, Error = 16, Hand = 16, Stop = 16, Question = 32, Exclamation = 48, ...

Is RegSetValueEx thread safe?

I suspect that RegSetValueEx is thread safe, but would like some confirmation from the community. If called from multiple threads, will there be any side effects? The RegSetValueEx MSDN documentation doesn't mention thread safety at all. ...

Stand-alone app to enter records through forms?

Hello I need to find a stand-alone (ie. no OpenOffice-based tools, for instance) Windows application that can present users with forms to enter records into an SQLite database. The goal is to migrate data from Excel sheets into a serverless, single-user database like SQLite. As a bonus, the application would also have a somewhat-protec...

What's the vbs code to schedule a task every time Windows starts up?

I would like to know how to write up the vbs code to schedule a windows task to start a .exe program every time the Windows starts up. I found the following code online: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNewJob = objWMIService....

This application has failed to start because the application configuration is incorrect

I have created an application in c++ using VS .Net. There is only the windows.h dependency in my application, all other header files are standard. But the problem is when I make the release of my application and run on other system it show the error dialog box, "This application has failed to start because the application configuration...

How to check a file saving is complete using Python?

I am trying to automate a downloading process. In this I want to know, whether a particular file's save is completed or not. The scenario is like this. Open a site address using either Chrome or Firefox (any browser) Save the page to disk using 'Crtl + S' (I work on windows) Now if the page is very big, then it takes few seconds to sav...

How do I start a Python screensaver that takes keyboard input in Ubuntu (and preferably Windows)?

I am developing a small application for home use in Python. It is supposed to act as a slide show screensaver, but also as a primitive image manager. I have the slide show and image manager aspects covered (I am using Tkinter), but I haven't implemented the screensaver bit yet. So, starting the app from the command line works fine. I am...

Windows Mobile camera capture issue with DirectShow

I wrote a C# application that uses DirectShow to allow users to take photos with the camera attached to a Windows Mobile 6 phone. The problem I spotted out is that the preview functionality stops working after a period of not using it. How could I determine what's causing this ? Is there a timeout in Windows registry that tells how mu...

Apache installation in folder with chinese characters in name

I would like to install an Apache server into a folder like c:\anything\思怞怟\anything2\ under windows. When I try to start the service it sais that: httpd: Syntax error on line xx of C:/anything/\xe6\x80\x98\xe6\x80\x99\e6\80\9a/anything2/apache/conf/httpd.conf: ServerRoot must be a valid directory Does anyone have a solution? ...

how long it takes for kernel handles to close by Windows when an application crashes

I know Windows close kernel handles when an application crashes, but if I want to wait on this event, can I be sure it will happen in milisec or it might take a while? I would like to trigger a new function the moment one application is crashed and I'm checking if this handle is NULL but it seems like I can't get a NULL value in this cas...

How to edit files on the users file system from my web server?

Hello all, I am really looking for implementation advice as I have entered a new realm that I am not familiar with. At the simplest level, I would like to find a way that I can read/write to a users machine from my web server. For this to work, I think I will have to install some sort of "plugin" on the users machine which can receive ...

Windows mobile UI: Is a messagebox appropriate to display information?

I have a list of items in a listview and when the user double-clicks an item, I display a messagebox with the contact's name and address. My boss doesn;t like it because he thinks this violate some UI design principle for Windows Mobile devices. I can't find anything that prohibits this. He is thinking that it has something to do with ...