To make it more clear is this how you use GlobalAlloc and only work with one variabel?
int index;
char *buf;
int strLen;
buf = (char*)GlobalAlloc(GPTR, 50);
Type: Posts; User: favetelinguis
To make it more clear is this how you use GlobalAlloc and only work with one variabel?
int index;
char *buf;
int strLen;
buf = (char*)GlobalAlloc(GPTR, 50);
I got it to work now, it was not wrong with the code as you said. Just a strange error at another place in the code.
How would i do a dynamic allocation, as it is now buf is always 50 but i would...
Im trying to take different values of type DWORD, HWND and add them to a listbox. However everytime i try to run the program it runs but locks down the computer and it does not work. What am i doing...
That did the trick! Ty mate.
What my program does it that it starts an external exe and gets the hwnd for the window, then im going to get the DC for this window so that i can do stuff with it.
Is my code understandable?
I want to get the first HWND owned by a ProcessID. Everything runs but it always shows the dialog box saying "No windows found" but i know it is there since i can see on on the screen.
(I find it...
ty all works fine now!
Im trying to compile this in VC++ Epress 2010 using file extension .c and project type as Win32 but still i get the following warnings
warning C4133: 'function' : incompatible types - from 'char...
Before the window gets painted to the screen is it not saved in the graphics cards memory? Can i not acces that memory to read the pixel? Is this something i can use opengl for?
When i use spy++ to see what messages is in the process i cant find any relevant. Sure i get the standard ones when moving the moue but other than that it is silent. How is the program made when it...
The thing is that i do not need to make this that advanced. I do not need to detect movment or anything, all i want to do is look at a few x:y cordinates in the image and monitor what colors they...
Hehe ok, i think this is the only way to monitor this program. It is a program that recive an image from a camera over the internet and i would like to watch a few specific pixels in the image for...
No one?
I would like to monitor several windows, in each window i would like to monitor several pixels continuously. What is the best way of doing this?
Is it possible to monitor a windows pixel even if...