Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Robert Palma Jr

@Robert Palma Jr
About
Posts
83
Topics
26
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Vis. Stu 6.0 Cursor and mouse freeze - in the development environment itself.
    R Robert Palma Jr

    Thanks for reply Peter, I noticed that the weird behavior seemed to start as I inserted or typed. I went into: Tools | Options | Editor and turned off all of the Auto Completion options and the problem seems to have disappeared. Okay that's great but I really liked those auto completion features :-( Thanks for your help. Robert

    Visual Studio help csharp c++ visual-studio workspace

  • Cursor & mouse freeze in Visual C++ 6.0, Win2kPro
    R Robert Palma Jr

    Thanks David, I actually put a post there about 45 minutes ago :) Robert

    C / C++ / MFC c++ help

  • Vis. Stu 6.0 Cursor and mouse freeze - in the development environment itself.
    R Robert Palma Jr

    PC is an IBM brand desktop, 1 Ghz CPU, 512 meg RAM While I am in the Visual Studio (Vc++ 6.0) environment, sometimes the cursor will stop blinking, the mouse cannot change the cursor position and cannot select text, etc. This will endure for 10 to 20 seconds. Task manager does not report any high CPU usage. Task manager reports plenty of unused RAM. I can switch to another application program and they work fine. There are times when I can work for an hour without incurring this problem, but there are also times when it seems to happen very frequently. This is not a problem with the app I am developing. It is a problem with the Visual Studio environment itself. Any help would be very much appreciated. Thanks, Robert

    Visual Studio help csharp c++ visual-studio workspace

  • Cursor & mouse freeze in Visual C++ 6.0, Win2kPro
    R Robert Palma Jr

    I'm afraid that I was not clear with my question. The problem is not with the app that I am developing. The problem is with Visual Studio VisC++ 6.0 environment itself. The cursor freezes while editing source code. Any help would be appreciated! Thanks, Robert

    C / C++ / MFC c++ help

  • Cursor & mouse freeze in Visual C++ 6.0, Win2kPro
    R Robert Palma Jr

    PC is an IBM brand desktop, 1 Ghz CPU, 512 meg RAM Sometimes the cursor will stop blinking, the mouse cannot change the cursor position and cannot select text, etc. This will endure for 10 to 20 seconds. Task manager does not report any high CPU usage. Task manager reports plenty of unused RAM. I can switch to another application program and they work fine. There are times when I can work for an hour without incurring this problem, but there are also times when it seems to happen very frequently. Any help would be very much appreciated. Thanks, Robert

    C / C++ / MFC c++ help

  • _findfirst() can't see host on LAN
    R Robert Palma Jr

    Thanks David, My big "whoops" was that I was searching for \nul rather than *.* or some exact filename. the \nul is an old DOS technique to search for the nul file in a directory, which means you are just looking for the existance of the directory itself. Again thanks, it all works now :-) Yup, mnay years programming in DOS .... will be 59 next month. You have posted relies to my questions in the past. I hope all is very well with you :-) All the best, Robert

    C / C++ / MFC c++ sysadmin help

  • _findfirst() can't see host on LAN
    R Robert Palma Jr

    Thanks Mark, My big "whoops" was that I was searching for \nul rather than *.* or some exact filename. the \nul is an old DOS technique to search for the nul file in a directory, which means you are just looking for the existance of the directory itself. Again thanks, it all works now :-) Yup, mnay years programming in DOS .... will be 59 next month. All the best, Robert

    C / C++ / MFC c++ sysadmin help

  • _findfirst() can't see host on LAN
    R Robert Palma Jr

    Using Visual C++ 6.0 I need my app to scan (with wildcard) files on another Workgroup computer on the LAN. Network Neighborhood finds and reads the other computer's drive just fine. I am unclear about the syntax to use to see the other computer's drive. The other computer's "name" is: Music1 Music1 shares it's c drive as: Music1_C I have placed a text file, a.txt at the c drive root of Music1. I have tried to get _findfirst() to see it - to no avail. None of these work: \\Music1\c:\a.txt \\Music1\c$\a.txt Music1_c\a.txt Interestingly, the only one of these that work from the Windows command line is: \\music1\c$\a.txt Any help is much appreciated. :) Robert

    C / C++ / MFC c++ sysadmin help

  • How to detect completion of Socket recv() function.
    R Robert Palma Jr

    Hi zzatack, Got it working! :-) I added Connection: close as you recommended. I guess that the recv() function was continuing to wait for more packets since the connection was still open. I'm not sure how you can say, "I have no experience at all..." when in fact you put your finger right on the problem!! Thanks again Robert :-)

    C / C++ / MFC c++ help tutorial

  • How to detect completion of Socket recv() function.
    R Robert Palma Jr

    Hi zzattack, Thanks for reply. I am using the recv() function and it is a blocking call. Since I do not know the size of the file that is coming, I keep calling recv() to get the full file. What happens is that when I call it the final time, the call blocks - and I am hung there. Robert

    C / C++ / MFC c++ help tutorial

  • How to detect completion of Socket recv() function.
    R Robert Palma Jr

    Hi Ajesh, Thank-you for reply. Unfortunately what is happening is that the recv() call is blocking - it is hung, so I don't get any "number of bytes" to even look at! If I manually close the socket, then I have the full file, but a 'manual close' approach would be very undesirable to implement. Any other suggestions? Many thanks, Robert

    C / C++ / MFC c++ help tutorial

  • How to detect completion of Socket recv() function.
    R Robert Palma Jr

    Vis C/C++ 6.0 Vis Studio I am receiving web pages using recv(). I am looping and receiving chunks of the page and am concatinating them to a buffer. I get the whole file but the loop hangs because I have no detection of the end of file. If I manually close the socket, I always have the full file. I have tried the recv() MSG_PEEK flag inside of the loop to detect the end of the file, but I don't seem to be able to get it to work. It hangs as well. I've seen some code on CodeProject that looks for 2 consequtive CRLFs but that really only works if you are only expecting a Header. Any help would be much appreciated. Thanks, Robert :-)

    C / C++ / MFC c++ help tutorial

  • View/sniff HTTP packets from browser to Web server
    R Robert Palma Jr

    Thank-you. I got it working! :-)

    System Admin sysadmin help career

  • View/sniff HTTP packets from browser to Web server
    R Robert Palma Jr

    Thanks :-) Got it working!

    System Admin sysadmin help career

  • View/sniff HTTP packets from browser to Web server
    R Robert Palma Jr

    Thanks! Got it working. Robert :)

    C / C++ / MFC c++ sysadmin help career

  • View/sniff HTTP packets from browser to Web server
    R Robert Palma Jr

    I need to look at the HTTP packets for GET and POST transmitals to a web server, from a browser (IE, etc), in the case where a User is cliking on the SUBMIT button within a web page that has a Form on it. We can use any browser, if that makes the job easier. What I am trying to ultimately do is to mimic that action with my own C/C++ application. Any help would be much appreciated. :-) Thanks, Robert

    C / C++ / MFC c++ sysadmin help career

  • View/sniff HTTP packets from browser to Web server
    R Robert Palma Jr

    I need to look at the HTTP packets for GET and POST transmitals to a web server, from a browser (IE, etc), in the case where a User is cliking on the SUBMIT button within a web page that has a Form on it. We can use any browser, if that makes the job easier. Any help would be much appreciated. Thanks, Robert

    System Admin sysadmin help career

  • WinSock error with recv() function.
    R Robert Palma Jr

    Hi Kiran, Thank-you for input. I made the change but still get the same result. Hmmm .... Any other thoughts? Many thanks, Robert:)

    C / C++ / MFC help csharp c++ visual-studio com

  • Error in recv()
    R Robert Palma Jr

    What are the sizes of the packets? Do they change? You need to print the error message text. I think 12 is: WSAEMSGSIZE The message was too large to fit into the specified buffer and was truncated. But I'm not sure. The above is in the MSDN for recv(). FUNNY, I am chasing a recv() error right now myself! My post is just a few after yours :-)

    C / C++ / MFC help sysadmin tutorial question

  • WinSock error with recv() function.
    R Robert Palma Jr

    Vis C/C++ 6.0, Visual Studio My program is a client to read a web page. I am successfully setting up the socket. The following calls and assignments are successful WSAStartup() memset(&sa,0,sizeof(sa)); sa.sin_family = AF_INET; gethostbyname(gipaddrname); // example yahoo.com memcpy(&sa.sin_addr, phe->h_addr, phe->h_length); sa.sin_port = portn; //port 80 converted to net order getprotobyname("tcp"); socktype = SOCK_STREAM; sockdes = socket(PF_INET, socktype, ppe->p_proto); connect(sockdes, (struct sockaddr *)&sa, sizeof(sa)); But when I go to receive the Servers 'hello' message with: recv(sockdes, pbufbin, len, 0); I get the error: WSAECONNABORTED The virtual circuit was terminated due to a time-out or other failure. The application should close the socket as it is no longer usable. The strange thing is that I have used this exact code for other servers, such a pop3 mail servers and servers that I wrote, all without a problem.... Any help would be much appreciated :-) Many thanks, Robert

    C / C++ / MFC help csharp c++ visual-studio com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups