Search:

Type: Posts; User: abraham2119

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: BitBlt

    by abraham2119
    Replies
    8
    Views
    4,055

    I have solved this. Although this problem was...

    I have solved this. Although this problem was completely application specific, in case anyone ever comes across a problem similar to this one, the function the application used was SetWindowOrgEx,...
  2. Thread: BitBlt

    by abraham2119
    Replies
    8
    Views
    4,055

    Because the application is third-party software....

    Because the application is third-party software.

    Why would I want to invalidate anything other than the client area..That's pointless, the rendering is occurring in the client area. Regardless,...
  3. Thread: BitBlt

    by abraham2119
    Replies
    8
    Views
    4,055

    Yeah, I was guessing that. Now, recall that I...

    Yeah, I was guessing that. Now, recall that I invalidate the whole window right after I hook this function, so it does perform a full paint.

    The reason I want to hook BitBlt is because I'm trying...
  4. Thread: BitBlt

    by abraham2119
    Replies
    8
    Views
    4,055

    I know that.. I think you completely missed...

    I know that..

    I think you completely missed the point. The BitBlt calls aren't originating from my window, they are originating from a window pertaining to an external process which I injected a...
  5. Thread: BitBlt

    by abraham2119
    Replies
    8
    Views
    4,055

    BitBlt

    Hello,

    I have a program that loads a DLL into a remote process and hooks the "BitBlt" function. Now the problem's as follows; I'm attempting to get the coordinates of where a certain device...
  6. Replies
    10
    Views
    1,874

    My "code" basically consists of the structure...

    My "code" basically consists of the structure above, only that instead of void *, they are <other_struct> *.
  7. Replies
    10
    Views
    1,874

    My mistake everybody. I don't allocate 65535...

    My mistake everybody. I don't allocate 65535 bytes, I allocate 65535 structures. Some of them contain 10 bytes per structure, some of the sections more and some less.

    Is this simply stating that...
  8. Replies
    10
    Views
    1,874

    Not the compiler, but the program spits a runtime...

    Not the compiler, but the program spits a runtime error. I know malloc() fails since it returns NULL.
  9. Replies
    10
    Views
    1,874

    I have 2GB RAM. I don't think malloc() fails...

    I have 2GB RAM.

    I don't think malloc() fails due to an inability to find available memory, since there obviously is; it just fails after allocating a specific amount of memory.
  10. Replies
    10
    Views
    1,874

    Memory issue

    I have a generic application which basically reads a file following a specific format. This requires me to allocate memory depending on the file's attributes, and such. The maximum memory the file...
  11. Replies
    3
    Views
    4,722

    On mine it doesn't :( I am running Windows XP

    On mine it doesn't :(

    I am running Windows XP
  12. Replies
    3
    Views
    4,722

    GetGUIThreadInfo()

    Hello,

    In my application I am making a call to GetGUIThreadInfo() but it returns 0. After making a call to GetLastError() I see that it's returning 87; which hints to the fact that I am passing an...
  13. Thread: Pointers

    by abraham2119
    Replies
    3
    Views
    1,020

    I'm assuming your question is a doubt concerning...

    I'm assuming your question is a doubt concerning the other thread you posted.

    Basically, when doing:


    int *p = arr;
    The pointer 'p' is pointing to the array's first element's address. When...
  14. Replies
    4
    Views
    1,820

    When referencing an array object directly, like...

    When referencing an array object directly, like you do with 'p=arr+3', it returns a pointer to the first element in the array. When summing 3 to it, it is returning the 4th element in the array.
    ...
  15. Replies
    1
    Views
    685

    An enter key-press is equivalent to a newline...

    An enter key-press is equivalent to a newline character (\n). You can simply revise the received character from the user's input and check if it equals '\n'.

    Note: If you are using a function such...
  16. This is a huge waste of memory. Why not have an...

    This is a huge waste of memory. Why not have an array per event which contains the connections that are awaiting the specific event?

    For example, if your connections need to pass through 3...
  17. Replies
    12
    Views
    2,735

    No. During compile time, the compiler allocates...

    No. During compile time, the compiler allocates the exact memory the program needs as of that time. The memory is allocated before-hand. When allocating memory dynamically, the application goes...
  18. Replies
    14
    Views
    12,386

    Isn't there a way of doing this by using the...

    Isn't there a way of doing this by using the carriage return character (\r on Windows)?

    I'm pretty sure the escape character stood for "replace line" or something among those lines.
  19. Replies
    35
    Views
    16,835

    Bitmap Format....

    Bitmap Format.

    Start reading!
  20. Replies
    24
    Views
    2,499

    The problem was client-sided, actually. I just...

    The problem was client-sided, actually. I just finished fixing it. I did not intend to treat the received byte(s) as characters, I simply wanted to read from the stream line-per-line. I did not know...
  21. Replies
    24
    Views
    2,499

    @Cactus_Hugger: On my windows XP OS, it printed a...

    @Cactus_Hugger: On my windows XP OS, it printed a question mark.

    Anyways, as to the thread, it is as Zlatko described it. The internal string conversions were causing the problem. Turns out to...
  22. Replies
    24
    Views
    2,499

    I wrote a sample application that illustrates my...

    I wrote a sample application that illustrates my problem.

    Run the server and then the client, and the client will print out a question mark character, which has the value of 63.

    Here is the...
  23. Replies
    24
    Views
    2,499

    I doubt it is a bug of either the receiving or...

    I doubt it is a bug of either the receiving or sending code since when the client writes either one of the bytes (-112, -113, -115) the server receives it as 63, and the same happens vice versa...
  24. Replies
    24
    Views
    2,499

    sending byte

    Hello,

    I have a simple networking application. Everything runs perfectly well. The server is programmed in C, while the client is programmed in Java.

    The only thing is that when the server...
  25. Replies
    8
    Views
    4,569

    Sebastiani, thank you for your response. That was...

    Sebastiani, thank you for your response. That was not my specific question, but no matter, your reply helped me come up with a simplistic idea. My problem was that my character was attached to a...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4