windows

unable to start "program.exe" the system cannot find the file specified vs2008

I am able to successfully build solution. but i keep getting this when i try to start debugging or executing it. any suggestions why this might be the case? update: i fixed the issue. I just recreated the proj with empty files and then just rebuild and it worked. one question: when i start the program (its a console app) how do i stop i...

How do I detect 64-bit Java from the command line?

Is there any way to get at Java internal properties, such as sun.arch.data.model , from a command line on windows? I need a command to put in a batch script that will detect the java architecture type: 32-bit or 64-bit . ...

How to add statusbar correctly?

Currently it is floating on top of my rendered window, i dont think thats good for few reasons: 1) i waste rendering time for rendering stuff that isnt visible. 2) it must be rendered every frame again when i wouldnt be updating the whole statusbar every frame anyways. So how i could create a window where it leaves space for my statusba...

C++ - What libraries or command line programs will I need to create a program that takes an AVI file and burns it to a DVD?

My goal is to create a program that will take an AVI file as input and then do whatever is necessary to burn it to a DVD. Currently, I use three separate programs to accomplish this. The first tool requires me to convert it from an AVI file to an MPEG. The second tool takes that MPEG and creates DVD files (a VIDEO_TS folder, with a few ...

How do I call an executable from a C program (using winapi)?

CreateProcess() came up a few times searching google.... Is it OK to assume this is the safest and most efficient method? If so, I would like to use the output of the called process. How do I know it has completed before continuing on in the C program? Thanks. ...

Black flicker while resizing translucent Qt widget (only when Aero is enabled)?

I have a top-level Qt widget with the FramelessWindowHint flag and the WA_TranslucentBackground attribute set. It has several children, each of which draws an image on it. They are not in a layout. Instead, I simply move them around when something changes (it is not user-resizable). There are two states to the window - a big state and a...

How to create a Taskbar on multiple monitors?

I have three monitors and I want too create a taskbar on all three of them in C++ ? ...

How do I use errorno and _get_errno?

Calling system() to run an external .exe and checking error code upon errors: #include <errno.h> #include <stdlib.h> function() { errno_t err; if( system(tailCmd) == -1) //if there is an error get errno { //Error calling tail.exe _get_errno( &err ); } } First two compile errors: ...

how can i imitate zhider (hides any windows app)

how are they doing the hides ? http://www.zinious.com/products/ZHider/ like it can hide any window programs from showing up in taskbar and system tray. how can i do this programmatically in vb6, .net , c++ ? are there other similiar tools to zhider ? open source ? thanks. ...

C++ Win32api, creating a dialog box without resource

Hi! I'm new to win32api programming. I would like to know how to create a dialog box within a non-gui program (without any resource created). I've seen some examples with that CreateIndirect function. Is it the best method? Any other way? Thanks! ...

Help with windows TCP Port communication

I'm new to understanding how interprocess communication works. I"m working with two applications on my localmachine, a Source Application and a Server Application. The Source application broadcasts files through a configured port on my pc. The Server application listens for those files and exposes them to the internet for users to stream...

What is at memory location 1 on an Intel x86 machine running Windows XP?

I am running Windows XP on an Intel x86 machine and I got an error in the instruction at memory location 0x00000001. I am not worried about debugging the error, but I was interested to know what instructions would generally be located at the very begging of memory. The only processors I have written low-level code for are PIC microc...

Controlling multiple Internet Explorer windows?

We've got several web-based applications that are launched from our ERP system (SAP R/3 in this case, but since we're using ShellExec, I don't consider this a SAP issue). The problem is that we can either set the IE to "open every URL passed from the ERP system in a new window" or to "reuse any one of the existing IE windows" (same probl...

Text editor/viewer with ANSI codes rendering support for Windows.

I need some tool to display text containing ANSI codes correctly on Windows. No full support needed, but at least coloring/bold is a must. Reason: My logger/debug module produce nicely rendered rich output with important sections colored using ANSI codes. This helps a lot when debugging on the serial terminal, but if I dump the debug to...

Programmatically change the startup form on application launch?

Can I programmatically change the startup form on application launch in VB.Net? ...

How to use COPYDATASTRUCT with a asynchronous callback

Hi, I'm using COPYDATASTRUCT with SendMessage() to pass data between 2 processes, but i need to it in asynchronous manner. I tried using SendMessageCallback(), but it seems that it does not work with COPYDATASTRUCT. What would be the best way to achieve this requirement ? Thank You ...

Receiving packets for different MAC address.

Hello, is it possible to capture some packets in promiscuous mode (e.g. using winpcap) and than force OS (applications) to receive them as they were sent for our MAC? My observation is following. We can: capture all network traffic using promiscuous mode (winpcap) filter/modify the packets using firewall-hook/filter-hook send packe...

Why do other applications still shutdown even when I return FALSE to the WM_QUERYENDSESSION message

I have small app with a Window that is listening for the WM_QUERYENDSESSION message and returning FALSE - which should tell Windows that I don't want it to shutdown (see this MSDN link). What I have found is that even though I am asking Windows to not shutdown, and Windows is itself not shutting down, it is still sending the WM_ENDSES...

Magic COLORREF/RGB value to determine when to use light/dark text

Years ago, in my long lost copy of Charles Petzold's Windows 3.0 Programming book, there was a magic COLORREF or RGB value documented that you could use to check whether you should draw text in a light colour or a dark colour. E.g. if the background colour was below this value, then use black text, if it was higher, use white text. Doe...

Where can I download Subversion binaries?

Where can I download Subversion 1.6.9 binaries for Windows (Apache 2.2-compatible, zipped, without a setup)? Before Subversion moved to Apache they were available at tigris.org (which is still referenced from the download page) but apparently that site/page is no longer maintained. ...