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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Please help

Please help

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
12 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jawad Yasin

    Please i want to have a full source code through which i can read & save the data coming from the serial port of our PC's... please can anyone help me with this?:confused: Jawad

    H Offline
    H Offline
    Hamid Taebi
    wrote on last edited by
    #2

    Did you search in www.codeproject.com

    _**


    **_

    WhiteSky


    J 1 Reply Last reply
    0
    • H Hamid Taebi

      Did you search in www.codeproject.com

      _**


      **_

      WhiteSky


      J Offline
      J Offline
      Jawad Yasin
      wrote on last edited by
      #3

      yeah i've tried but aint getting anything useful. So can u please help me out? i'll b really thankful to u...

      H 1 Reply Last reply
      0
      • J Jawad Yasin

        Please i want to have a full source code through which i can read & save the data coming from the serial port of our PC's... please can anyone help me with this?:confused: Jawad

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #4

        Jawad Yasin wrote:

        Please i want to have a full source code

        If you want some help, you have to ask precise questions. Where are you stuck exactly ? What have you already done ? What is the problem with what you already did (errors + details, crash, ...) ? To start, you can look at the MSDN for CreateFile (opening the port), ReadFile (for reading the port) and ofstream (to save your data to a file).


        Cédric Moonen Software developer
        Charting control

        J S 2 Replies Last reply
        0
        • C Cedric Moonen

          Jawad Yasin wrote:

          Please i want to have a full source code

          If you want some help, you have to ask precise questions. Where are you stuck exactly ? What have you already done ? What is the problem with what you already did (errors + details, crash, ...) ? To start, you can look at the MSDN for CreateFile (opening the port), ReadFile (for reading the port) and ofstream (to save your data to a file).


          Cédric Moonen Software developer
          Charting control

          J Offline
          J Offline
          Jawad Yasin
          wrote on last edited by
          #5

          yeah i've checked MSDN & read CreateFile, ReadFile... but the problem is there's no onearound me who can tell me how to use them in a program. Basically I'm trying to read data from the serial port of my PC. and wanted to make its program. I've searched through Webcrawler.com & checked many links but didn't found how can i use them in the form of a program. so can u please help me with this as i don't have any one who can teach me. Thanks for helping Jawad

          1 Reply Last reply
          0
          • J Jawad Yasin

            yeah i've tried but aint getting anything useful. So can u please help me out? i'll b really thankful to u...

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #6

            Simple Serial Communication[^]

            _**


            **_

            WhiteSky


            J 1 Reply Last reply
            0
            • H Hamid Taebi

              Simple Serial Communication[^]

              _**


              **_

              WhiteSky


              J Offline
              J Offline
              Jawad Yasin
              wrote on last edited by
              #7

              Thankyou very much Whitesky Thanks 4 ur help:)

              1 Reply Last reply
              0
              • J Jawad Yasin

                Please i want to have a full source code through which i can read & save the data coming from the serial port of our PC's... please can anyone help me with this?:confused: Jawad

                M Offline
                M Offline
                Maxwell Chen
                wrote on last edited by
                #8

                You have to improve your search skill. While searching for "serial port" (keyword) related articles in CodeProject "MFC/C++" category, I got 49 articles.


                Maxwell Chen

                H 1 Reply Last reply
                0
                • C Cedric Moonen

                  Jawad Yasin wrote:

                  Please i want to have a full source code

                  If you want some help, you have to ask precise questions. Where are you stuck exactly ? What have you already done ? What is the problem with what you already did (errors + details, crash, ...) ? To start, you can look at the MSDN for CreateFile (opening the port), ReadFile (for reading the port) and ofstream (to save your data to a file).


                  Cédric Moonen Software developer
                  Charting control

                  S Offline
                  S Offline
                  Steen Krogsgaard
                  wrote on last edited by
                  #9

                  Come on Cedric, on CodeProject it should be a perfectly valid request to ask for the source code for a module or class that can do serial communication. In my mind, he doesn't have to try to make it himself before he asks for an "off-the-shelf" class. His question may not be the best worded one, but this goes for many of us non-native-english speakers. I know, and I fully agree, that we see some rather stupid requests here at CP from time to time (the guy with about 60 minutes patience comes to mind). I just don't think this is one of them.

                  Cheers Steen. "Are you gonna check your makeup when you're done whining?" John Simmons, 05/31/2006

                  C 1 Reply Last reply
                  0
                  • S Steen Krogsgaard

                    Come on Cedric, on CodeProject it should be a perfectly valid request to ask for the source code for a module or class that can do serial communication. In my mind, he doesn't have to try to make it himself before he asks for an "off-the-shelf" class. His question may not be the best worded one, but this goes for many of us non-native-english speakers. I know, and I fully agree, that we see some rather stupid requests here at CP from time to time (the guy with about 60 minutes patience comes to mind). I just don't think this is one of them.

                    Cheers Steen. "Are you gonna check your makeup when you're done whining?" John Simmons, 05/31/2006

                    C Offline
                    C Offline
                    Cedric Moonen
                    wrote on last edited by
                    #10

                    Yes I agree with the part that there are some classes ready on the website. But he asked also how to save the data, which is generaly not included within these kind of classes. So, basically he didn't explain where was the problem. That's way I was asking for more precisions (ok, maybe this sounded a little bit too agressive but it wasn't ;) ).

                    Steen Krogsgaard wrote:

                    the guy with about 60 minutes patience comes to mind

                    :-D


                    Cédric Moonen Software developer
                    Charting control

                    1 Reply Last reply
                    0
                    • M Maxwell Chen

                      You have to improve your search skill. While searching for "serial port" (keyword) related articles in CodeProject "MFC/C++" category, I got 49 articles.


                      Maxwell Chen

                      H Offline
                      H Offline
                      Hamid Taebi
                      wrote on last edited by
                      #11

                      He said me that he dosent find any good articles in codeproject about serial port?:doh:

                      _**


                      **_

                      WhiteSky


                      1 Reply Last reply
                      0
                      • J Jawad Yasin

                        Please i want to have a full source code through which i can read & save the data coming from the serial port of our PC's... please can anyone help me with this?:confused: Jawad

                        D Offline
                        D Offline
                        David Crow
                        wrote on last edited by
                        #12

                        See here.


                        "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

                        "Judge not by the eye but by the heart." - Native American Proverb

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

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