Hello,
I've been trying to find a way to simulate mouse events.
I already know how to change cursor's position, (using setcursorpos()), but i can't find out how to send mouse button events (press...
Type: Posts; User: tezcatlipooca
Hello,
I've been trying to find a way to simulate mouse events.
I already know how to change cursor's position, (using setcursorpos()), but i can't find out how to send mouse button events (press...
Well, the point is that it is essential to keep the threads' ids for further manipulation.
On the other hand the number of total threads running is bounded by the listening queue 's length (as a new...
I sense that it would be rather risky for a thread to mark itself free and then kill itself because it may blocks after marking itself (assuming that scheduler acts randomly) and then main thread...
Hello,
I am making a threaded server using pthreads.
Whenever server accepts a new connection, a new thread is created to handle client's requests.
Now i am thinking that as server's listening...
Thanks for all the answers..
Indeed, the running time of my function is surprisingly small.. I have implemented a minHeap in a pointer machine mode and I was amazed when i realized that it takes...
Hi,
I am using the clock() function to count the execution time of a function in ms (as the CLOCKS_PER_SEC is defined to be 1000).
Unfortunately, this scale of counting doesn't seem to be...
Hi,
I have written some code to test the efficiency of some algorithms in real world.
Now, i think it would be better to disable the cpu interrupts but i wonder how to do it.
Does it have...
That worked!
Thanks a lot.. :)
Hi,
I have created a simple console application that acts as a messenger between client and server (in fact there is a clinet.exe and a server.exe)..
Now, I want it to play a sound sample if a...
Mr/Mrs MacGyver
As i 've already said above, i do not intend to reply to posts that are not related to the topic.
Thus, i would really appreciate it if you avoided abusing me in your future posts...
1) #define "begging"
2) If you really have something useful to say but you are afraid to share it because of my dirty-looking intentions, you can at least tell me if an answer exists and let me...
Yes, i suppose you are right but it is reasonable to consider that if you have access to the application during runtime, you can deal with this difficulty (pls correct me if i'm wrong).
About the...
It's interesting knowledge, either you like it or not.
If you have no intension to answer my question, please don't answer at all.
I want to know and i am not ashamed of that.
Hi,
I am studying some format string vulnerabilities these days and i have one question.
Is it possible to read from/write to arbitrary memory locations? I am experiencing some difficulties when...
Hi,
I have some basic knowledge on socket programming and in particular, stream sockets.
I would like to know if there is a way to implement a simple programm that connects to a server and asks for...
The following has also been useful.
http://hawk-ware.awardspace.com/tutorials/cppreg.html
Thanks for the answers..
Hi,
I was wondering if there is a way to change some registry variables through some C code (under WIN XP).
Kind of things that a program does during installation (?)
Any help/links?
Hello,
Ok, mates what i've read is reasonable, but think this for a sec:
Do you think that if i had the appropriate knowledge to code some dangerous maleware, hiding it from the task manager would...
Hi,
I am making a console application and i would like to hide it from the task manager.
Any help with that please?
Thanks..
Hi,
I am willing to use threads in my program combined with winsock32 library.
I work under Windows XP, using the mingw compiler.
I have no idea about what i need (libraries etc..) and where to...
Ok man, sorry, i just thought that it had something to do with the OS and not with my code.
Here:
#include <stdio.h>
#include <string.h>
int main(){
FILE *ptr;
FILE...
Hi all,
i have written some code just to copy an executable but when i try to run the copy, a get an error(using Windows XP SP 2)
"Copiedfile.exe is not a valid win32 application"
and i can't...
If i insert a char instead of an integer the program enters in an infinite loop.
Shouldn't the clear() function clear the input buffer so as to be able to read a new input?
Hi,
may someone tell me why the following code doesn't work when i insert a char instead of an integer? What should i do?
#include <iostream>
using namespace std;
int main(){
int x;
...
Does this work even when there is only a declaration (extern class_a ** table)
in the file that i call the function?
-Silly post forget about it .. :(-