Hello,
Can anyone tell me how to get using WinAPI functions memory allocated memory regions of some process? I want know for each region, start address, size and some other things like, protect type etc.
I can't find any WinAPI function to do it ;-(
Can anyone help me?
...
Hi,
I'm currently working on a win32 application and I'm thinking I should probably use the MVC pattern. Now according to the pattern, the code that handles user interaction should be in the controller so that I can update the model and/or view accordingly.
But in Win32, would that mean that my windowProc should be in the controller ? I...
I've calculated the range of projection with given angle, height and velocity. How can you draw a projection curve of that using GDI?
...
Hi, I'm totally lost here. I want to grab the visual content of a window for further processing, inside my console application. I know how to find the HWND, but from that I don't know what to do to get the content. The application I want to grab is 3D, but I don't know if its Direct3D or OpenGL, but I need to process every frame (some fr...
I'm choosing between these two languages, in contrast to another question here. My program going to be set of scripts checking files, free space, checking that apps are running etc. and writing information to database. Then PHP web page will show results.
Python have more examples of winapi calls (at least at StackOverflow) and more att...
Hello
i am trying to use stream videos from a camera on a win32 window. from the camera APi, there is a function to set where the video is going to put
SetVideoPosition(int xpos, int ypos, int xsize, int ysize, int left_clip, int top_clip, int right_clip)
xpos, ypos:
x and y coordinates of the top left corner.
xsize, ysize
horizon...
I have a program that converts files. It takes an input file name and an output file name, reads from one and writes to the other, with some modifications. I have the source, but it is huge and I don't have the clear picture of its operation. I can tell that files are opened using _wsopen_s in read-write mode (_O_RDWR) and there does not...
Our application uses IGraphBuilder::RenderFile to build filter graph. On Windows 7, this application can play MPEG-PS videos smoothly, but it cannot open/play MPEG-TS(transport stream) videos. IGraphBuilder::RenderFile returns an error code VFW_E_UNSUPPORTED_STREAM.
On my Windows 7, Windows Media Player can open/play those MPEG-TS HDV v...
Good day,
I have been using JNA for a while to interact with the Windows API and now I am stuck when creating a window. As far as I have done the following:
1. Have created a child window of an existing window and obtained a valid handler to it.
2. Understood that every window in Windows has a non-stop message-dispatch loop.
3. Understo...
Have a look at this API documentation page...
Can anyone explain to me the difference between the rcMonitor and rcWork components of the MONITORINFO structure? Although I'm happy with the idea that a window has areas you can't work with (like the caption for instance), I don't really see how this applies to monitors...
All contribution...
Goal
I'm porting a filesystem to Windows, and am writing a more Windows-like interface for the mounter executable. Part of this process is letting the user locate a partition and pick a drive letter. Ultimately the choice of partition has to result in something I can open using CreateFile(), open(), fopen() or similar.
Leads
Windows s...
Hello,
As a disclaimer I am not at all familiar with Win32 development. I was wondering if there was any way to automate control input to a GUI application if that application is minimized. Most automation tools I have seen specifically use coordinate offsets from the window (tlx,tly). I don't need a testing framework, I simply want ...
Hi all!
I've got a project called DotRas on CodePlex that exposes a component called RasConnectionWatcher which uses the RasConnectionNotification Win32 API to receive notifications when connections on a machine change. One of my users recently brought to my attention that if the machine comes out of sleep mode, and attempts to redial t...
I would like to prevent loading of malicious DLLs that may be possible through access of the current working directory as described in http://msdn.microsoft.com/en-us/library/ff919712(VS.85).aspx
The solution implemented in our C++ apps was to make a WinAPI call to SetDllDirectory(""), which would effectively remove the current working ...
Hello everybody!
After hours of penetrating Google I ended up here. I'll come straight to the point: I'm about to "refresh" my C/C++ skills and gain experience with the unmanaged world again. As a "basic" task I developed a little key logger (which are just a few lines with the Windows API) but now I want to extend it with a "stealth" f...
Hi,
when my app is exited i see the following in the debugger console.
The thread '_threadstartex' (0xd48) has exited with code 0 (0x0).
The thread '_threadstartex' (0xf80) has exited with code 0 (0x0).
The thread '_threadstartex' (0x190) has exited with code 0 (0x0).
The thread '_threadstartex' (0xaa0) has exited with code 0 (0x0).
T...
Possible Duplicate:
Save file with C fopen
I'm using C language to same a file in c:\SomeDirectory on Windows 7.
Is there any restriction on saving a file under this directory on windows 7?
I'm having trobles with saving this file on this folder, the Windows 7 doesn't allow me (even as administrator) to save the file.
On wi...
How do I programmatically open a file in its default program (I'm using Windows XP).
For example, opening *.txt will open the file in notepad.
...
Rendering contexts usually have a solid color on the background (black or whatever, see the image below):
I'm wondering if it's possible to setup a window, with no decorations AND with the transparent background, while allowing me to render OpenGL stuff on it.
This would give the illusion that the triangle is floating on the screen. ...
I have a flash movie loaded into my browser.Is there any way that i can pause it and then resume it.I tryed SuspendThread() for all the browser threads but the movie won't freeze
...