Search:

Type: Posts; User: tezcatlipooca

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,751

    Mouse Events

    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...
  2. Replies
    6
    Views
    1,587

    Well, the point is that it is essential to keep...

    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...
  3. Replies
    6
    Views
    1,587

    I sense that it would be rather risky for a...

    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...
  4. Replies
    6
    Views
    1,587

    Pthreaded server

    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...
  5. Replies
    8
    Views
    2,432

    Thanks for all the answers.. Indeed, the...

    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...
  6. Replies
    8
    Views
    2,432

    Problem with time count in ms

    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...
  7. Replies
    2
    Views
    1,169

    Execution Question

    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...
  8. Replies
    2
    Views
    1,267

    That worked! Thanks a lot.. :)

    That worked!
    Thanks a lot.. :)
  9. Replies
    2
    Views
    1,267

    Application Focus

    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...
  10. Replies
    16
    Views
    3,035

    Mr/Mrs MacGyver As i 've already said above, i...

    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...
  11. Replies
    16
    Views
    3,035

    1) #define "begging" 2) If you really have...

    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...
  12. Replies
    16
    Views
    3,035

    Yes, i suppose you are right but it is reasonable...

    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...
  13. Replies
    16
    Views
    3,035

    It's interesting knowledge, either you like it or...

    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.
  14. Replies
    16
    Views
    3,035

    Format String Attack

    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...
  15. Replies
    3
    Views
    1,503

    Some help with http (?)

    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...
  16. Replies
    3
    Views
    2,199

    The following has also been useful. ...

    The following has also been useful.


    http://hawk-ware.awardspace.com/tutorials/cppreg.html

    Thanks for the answers..
  17. Replies
    3
    Views
    2,199

    Registry manipulation

    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?
  18. Replies
    7
    Views
    4,426

    Hello, Ok, mates what i've read is reasonable,...

    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...
  19. Replies
    7
    Views
    4,426

    Hiding proccess from task manager

    Hi,
    I am making a console application and i would like to hide it from the task manager.
    Any help with that please?
    Thanks..
  20. Replies
    1
    Views
    1,070

    Threads question

    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...
  21. Replies
    3
    Views
    972

    Ok man, sorry, i just thought that it had...

    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...
  22. Replies
    3
    Views
    972

    Problem with coping an exe 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...
  23. Replies
    5
    Views
    5,642

    If i insert a char instead of an integer the...

    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?
  24. Replies
    5
    Views
    5,642

    cin infinite loop

    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;
    ...
  25. Replies
    17
    Views
    1,595

    Does this work even when there is only a...

    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 .. :(-
Results 1 to 25 of 60
Page 1 of 3 1 2 3