windows

Model for versioned backups on MS Windows

Hi All, I've been thinking about a model for saving snapshots of a windows filesystem. Obviously you only want to backup new files or files that have changed - for stuff that hasn't changed you don't want to make another copy. rshapshot http://www.rsnapshot.org/ (for linux) accomplishes this by creating a new snapshot directory for each...

VBS: Check IP address and open URL (but only once)

I'm trying to create a VBScript which will detect if the computer it is being run on is connected to our LAN at work by checking its IPv4 address (assigned by DHCP) and then open a specific URL depending upon whether it is inside or outside our network. The script will be mainly used on laptops which will roam between work (10.12.90.0/22...

Can you explain what's symbols and debug symbols in c++ world?

Is it true that binary files like executables are composed of symbols and debug symbol is one kind of them? How to understand the symbol? ...

Is it possible to create a thread that doesn't exit even when main thread exits in windows using c/c++?

Like in the above graph,all other threads will automatically exit once the main thread is dead. Is it possible to create a thread that never dies? ...

C# vs Adobe Air for desktop application

Okay, sorry if I'm a bit vague or little specific. First of all, I'm really new to the business of programming and that kind of things, so excuse my non-knowledge of much of this. :) Anyways; I've been reading a lot around on the internet on what technology to use and so forth when it comes to application development on the desktop (mai...

Will 32-bit version of GhostScript work on 64-bit systems?

I'm going to redistribute gsdll32.dll, main library of GhostScript. There are two versions available for download, 32 and 64 bit. Will the first one work on 64-bit systems, or I need package two versions separately? ...

Windows Explorer Crumb-Bar Control

I am seeking a, preferably free, crumb-bar control for my app. For those that do now know what it is, it is the address bar on the top of explorer: If anyone knows of any free or paid control libraries that have this, please answer. ...

For business, which OS is more secure: Windows 7 or OSX 10.6?

I've seen the outcomes of certain hacking competitions yield varied results and the argument over which OS is currently more secure has never seemed to go beyond an anecdotal level. I currently split my development (PHP, MySQL web applications which handle sensitive transcript information, among others) 50% between OSX Snow Leopard and ...

I want to disable the shadow effect on a specific aero window

I want to disable the shadow effect on a specific aero window. All I have is the HWND of this window, is this possible? ...

Windows Programming

Hello, recently, i began to read about windows programming, and i thought i could start with .NET since it is the "FUTURE" but as i happen to figure out, it is just like a fancy wrapper around COM, COM+, AUTOMATION and the rest of MICROSOFT technologies, so i wanna know if it is essential for any microsoft developer to get aquainted with...

C# app keeps crashing at specific point, need help understanding problem signature

I have a C# Express 2010 application that makes numerous connections to a hosted php script. Once it gets to a point of around 7500 successful communications, the program stops working and offers this problem signature: Problem Event Name: APPCRASH Application Name: zz.exe Application Version: 1.0.0.0 Application Timestamp: 4c8d6459 F...

How to Reboot Programmatically?

How can I reboot in c++? Is there any provision in WinSDK? What kind of rights should my program(process) have to do so? ...

Batch How do i execute a command on every .m4p file in all Sub dir

Basically i want to run this in ever Sub folder for %%i in (*.m4a) do faad "%%i" for %%i in (*.wav) do oggenc "%%i" for %%i in (*.m4a) do del "%%i" for %%i in (*.wav) do del "%%i" it works great but i have to manually change dir and re run eg. cd res cd music for %%i in (*.m4a) do faad "%%i" for %%i in (*.wav) do oggenc "%%i" fo...

Moving and renaming in batch

How to write a Batch program that can move files with .txt from a folder (including files in sub-folder) in to a different folder and rename it in the form folderName_subfolderName_Filename.extension ...

Geting cursor position in Python

Is it possible to get the overall cursor position in Windows using the standard Python libraries? ...

Detect a program asking for pin-code and pass the correct code

I am working on a windows service that requires a specific VPN connection. My problem is that the solution provided by the customer (Rainbow iKey usb stick) requires the user to enter a pin code for each time the VPN connection is initiated. This will happen at least every night, when there is a maintenance window. As this is a windows...

Handling change in a database schema

I am in the fairly initial stages of building an app which will hopefully be sold in the 1000's - more likely it'll be hundreds, but either way more than enough to cause a good sized headache for database schema changes. I'm rather restricted to a windows / .net / sql server environment as a number of our customers will be self hosting ...

C++ thread safe doubly linked list

I need the above data structure for an application I'm writing. I wondered if there is a library that already implements it or if I have to write it myself? I don't really want to reinvent the wheel if it is not necessary. I need this structure to be able to add and remove items using multiple threads without having to lock up the who...

D support for COM

Wikipedia says the following: "On Microsoft Windows, D can access COM (Component Object Model) code." What kind of support for COM is present in D? Does it make life easier than using COM in C++. I've found this link on the D page but it doesn't tell me too much. ...

Windows active code page

I have a certain library (IBM's WebSphere MQ) which I'm using, with an API that is suppose to return a remote servers character set. After some debugging, it seems as though the return value of this function call returns the active code page of my machine. I saw this by looking at the return value of the function call and the result of...