windows

How to get a windowless application in Ogre?

Hello, I'm trying to create a windowless Ogre application, but it seems that the method RenderWindow::setVisible(false) is completely ignored by the application. Is there a way to accomplish that? Thank you Tommaso ...

Subversion server wrapper + Windows GUI like VisualSVN, which product am I talking about?

I came across a competitor product to VisualSVN a few days back. It provides an installer and graphical wrapper around a standard svn server, plus (that's why I'm looking for it) repository backup and monitoring functions. I can't for the life of me remember the product's name. I just remember they had a nice-looking, very minimalistic,...

Using TAP-Win32

Hello. I need to port an application (well - library) which uses TAP-Win32 as network interface. Unfortunately library is suppose to be on BSD3 license so I cannot use 'examples' from qemu or openvpn due to licensing issues. PS. As library will not be in C I'm more interested in HL approach like 'get list of keys from registry' rather ...

How to get the Executable name of a window

Hi, I try to get the name of executable name of all of my launched windows and my problem is that: I use the method UINT GetWindowModuleFileName( HWND hwnd, LPTSTR lpszFileName, UINT cchFileNameMax); And I don't understand why it doesn't work. Data which I have about a window are: -HWND AND PROCESSID The error is: e.g: HWND...

Writing to the middle of the file (without overwriting data)

In windows is it possible through an API to write to the middle of a file without overwriting any data and without having to rewrite everything after that? If it's possible then I believe it will obviously fragment the file; how many times can I do it before it becomes a serious problem? If it's not possible what approach/workaround is...

Window deactivation message?

What is the opposite of WM_ACTIVATE (Window deactivation message)? ...

What is the best pratice to get a file attribute(such as read only), and security attribute(such as read deny write deny)?

I am programming in C++ MFC, windows. What is the best practice to get a file attribute(such as read only), and security attribute(such as read deny write deny) in windows XP, Vista, and Win7? and What is the best practice to modify a file attribuute and security attribute? Many thanks!!! ...

Create window as child in third party application.

I'm trying to get my C# form to be parented correctly in a third party app, I have the handle to the control that I would like my form parented to but just can't seem to get it to work. I would like to create my form so that it is part of the MDIClient, handle 005E0ED6. Just like Window 01D7157D. Is this possible? If so can it be d...

How to Get File security attribute in windows

I am using c++ MFC How can I get the file security attribute in windows, is there any handy api? Many thanks! ...

Why might WS_CLIPCHILDREN be necessary for the display of DirectShow window on XP (but not Vista or Windows 7)?

I wrote a program to play MPEG video on a window (of course, DirectShow will open its own window as the sub-window of that window). On Windows Vista and 7, the program works fine. But on XP, the video is only visible when I set the WS_CLIPCHILDREN style on the outer window (i.e. not the DirectShow one). Is this a bug in XP or some model ...

TCP: Address already in use exception - possible causes for client port? NO PORT EXHAUSTION

Hello, stupid problem. I get those from a client connecting to a server. Sadly, the setup is complicated making debugging complex - and we run out of options. The environment: *Client/Server system, both running on the same machine. The client is actually a service doing some database manipulation at specific times. * The cnonection co...

Using TortoiseHg’s Repository explorer

I posted this question on superuser.com but I wasn't sure if it was appropriate there.. Anyway: Hi, I'm coming from a TortoiseSVN background and decided to give TortoiseHg a try.. One thing I got really used to with TortoiseSVN was the SVN Repo-Explorer, which worked quite similarly to Windows Explorer.. However, when I tried to use T...

Detect file system changes on Samba share with Java on Windows

Hi, for a recent project I need to detect file system changes on a mapped Samba share from java on windows: Creates, updates and removes. At the moment I am using a folder poll that maintains a list of files and their modified timestamp to look for events. But my problem is that this folder poll only peeks into the folder at certain ti...

Using a separate version control system for changes when main version control is not accessible

Hi folks. Here is my situation: The project I'm working on right now uses a version control system (Microsoft Team Foundation) that's hosted and managed remotely by the customer. I am in charge of doing a massive refactoring/bugfixing after somebody who left a horrendous mess of code behind. Due to several reasons tha...

Most up to date environment for classic ASP development

Hi all, I've inherited a Classic ASP application that requires some maintenance. What's the most up to date/capable IDE and Operation System that I can use to perform this maintenance? I'll be setting up the Env in a VM - so won't be tied to it full time. Hopefully there's something newer than Visual Interdev for me to use. Ideally I...

pthread windows event equivalent question

I have the following code which replicates the windows manual and auto reset events. class event { public: event( bool signalled = false, bool ar = true ) : _auto( ar ), _signalled( signalled ) { pthread_mutex_init( &_mutex, NULL ); pthread_cond_init( &_cond, NULL ); } ~event() { ...

Windows Boot Configuration Data(BCD) Reader in Linux?

Hi All Is there any way in Linux to read Boot Configuration Data(BCD) used by Microsoft Windows Boot Manager? Regards, ...

A Guide to Windows Hacking for Mac Users?

I am a long-time Mac user looking to gain a decent understanding of Windows. I want to be able to control the environment, understand how the OS fits together and, eventually I guess, think about application development. I'm not really interested in the history except as it is still relevant to Windows 7. I'm competent with the Mac and ...

How to close the prefetch of cache in windows?

In a C/C++ program, how to close the prefetch of each core in the Windows system? ...

How do I make a case insensitive compare between two Unicode characters or strings under Windows in C/C++?

I'm looking for a way of doing a insensitive compare of two Unicode characters (char32) under Windows (C/C++, not .NET). I am aware that the solution is supposed to be locale aware. I would like a solution that would not require additional third-party libraries. ...