Search:

Type: Posts; User: manugarciac

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Yeah!!! I was missing wsock32.lib. To think I...

    Yeah!!! I was missing wsock32.lib. To think I wrote a C++ VNC three years ago... And of course, I used WinSock. I can't rememember anything though
  2. I keep finding that I have to set the linker to...

    I keep finding that I have to set the linker to use user32.lib, but that is done already. I can't figure this out.
  3. I'm looking for it. I can't find the solution. I...

    I'm looking for it. I can't find the solution. I don't understand many of the solutions either...
  4. Great! Now I'm just stuck with the linking error,...

    Great! Now I'm just stuck with the linking error, :P. Any help there?
  5. Yes, but I don't know how... I need to create a...

    Yes, but I don't know how... I need to create a project on Visual Studio, right? I created an Empty Windows project, added the cpp to the source folder. The tried building it. I got some errors on...
  6. I'm having a hard time making a .exe from a .cpp

    I have this .cpp file

    GigaSize.com: Host and Share your Files

    Which I downloaded from a site and edited on line (just added an if). I want to build it a generate a .exe, but I don't know...
  7. Yes, I was using void pointers because those were...

    Yes, I was using void pointers because those were function pointers I couldn't touch, but I did it like this:



    MyClass** myObject = (MyClass**) param;

    *myObject = new MyClass();


    And...
  8. Constructing and destructing on different functions.

    I have this in my main:



    int main(){
    MyClass* myObject = NULL;

    function1(myObject);
    function2(myObject);
  9. I just need the application that calls send() to...

    I just need the application that calls send() to stop until the recv() receives all the data, for different reasons...
  10. No, that won't work. I said notepad.exe as an...

    No, that won't work. I said notepad.exe as an example, but truly I can have the name of any process. And I MUST get its HWND.
  11. How can I get the HWND of a certain process?

    Suppose I want to get the HWND of the notepad from its process name (notepad.exe). How can I do that?
  12. Nono, I WANT to block... I want blocking...

    Nono, I WANT to block... I want blocking sockets... But the recv() is the only one that is actualling blocking, send() is not.
  13. Winsock. What's the right way to make a blocking send()?

    I need that when I call send(), my application does not reach the next line until that send is completed. I've been doing it by calling select(), but is there any other way to do it?
  14. Winsock... What happens when the server dies?

    I have two applications:

    -A server, which is the one that calls listen().
    -A client, which is the one that calls connect().


    Ok, I've got them running on a LAN and they are constantly sending...
  15. I want a function to run on a different thread.

    This is what I'm doing



    HANDLE handleMouse;
    handleMouse = (HANDLE) _beginthread(threadMouse, 0, &exit);



    And this is threadMouse:
  16. I had forgotten I asked this, lol. I figured it...

    I had forgotten I asked this, lol. I figured it out soon after I posted. There is a funcion called select() that does the job wonderfully.
  17. Winsock. How to check if all the data was sent...

    How can I check if all the data has been already received after I use send? I mean, I want to know when the send buffer "empties"...
  18. Replies
    2
    Views
    1,148

    Lol. Minimize.

    Lol. Minimize.
  19. Replies
    2
    Views
    1,148

    How can I minimize the console?

    I want the console to dissapear as soon as my application begins. How can I do that?
  20. Replies
    2
    Views
    1,333

    It's between " "! I'll take them out, manually....

    It's between " "! I'll take them out, manually. Any easy way to do it?
  21. Replies
    2
    Views
    1,333

    Opening a file with my application...

    I'm writing a video player. When you open it you can browse for the video file to open via an open file dialog. The string I get with that I send it to the function that has the fopen. It works.
    ...
  22. Replies
    5
    Views
    2,658

    Please, I'm desperate here, you gotta help me. I...

    Please, I'm desperate here, you gotta help me. I need to speed up the call to SDL_BlitSurface. Give me a hand.
  23. Replies
    5
    Views
    2,658

    http://img338.imageshack.us/my.php?image=dibujovf9...

    http://img338.imageshack.us/my.php?image=dibujovf9.jpg


    That's what I'm getting. It should be a fullscreen screen capture.
  24. Replies
    5
    Views
    2,658

    Fastest way to do an SDL_BlitSurface?

    I heard that with memcpy it should be faster, and it seems to be, but the result is not good. This is what I'm doing:



    memcpy (screen->pixels, image->pixels, resWidth*resHeight*colorDepth/8);...
  25. This is driving me crazy! 256 colors palette

    int d = 0 ;
    for(int i = 0; i<=5; i++)
    for (int j = 0; j<=5; j++)
    for (int k = 0; k<=5; k++){
    colors[d].r=i*51;
    colors[d].g=j*51;
    colors[d].b=k*51;
    d++;
    }
Results 1 to 25 of 55
Page 1 of 3 1 2 3