CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: VictorN

Search: Search took 0.11 seconds.

  1. Replies
    21
    Views
    8,083

    Re: Help Needed for CSerialPort v1.27

    2kaud is right.
    Sorry for non/correct reply. Just was too lazy to look at the docs. :blush:
  2. Replies
    21
    Views
    8,083

    Re: Help Needed for CSerialPort v1.27

    If both dialogs work with the same port then, perhaps, in the main dialog.
  3. Replies
    21
    Views
    8,083

    Re: Help Needed for CSerialPort v1.27

    Well I alreadi showed you how to convert text to double (it will work if your CString contains a text representation of the double value, something like "12345.67890".)
  4. Replies
    21
    Views
    8,083

    Re: Help Needed for CSerialPort v1.27

    I cannot help you without seeing your actual code.
  5. Replies
    21
    Views
    8,083

    Re: Help Needed for CSerialPort v1.27

    If *your* m_Voltin is of a CString type and it contains a text corresponding some double variable then
    double dbl = _tcstod(m_Voltin);
  6. Replies
    21
    Views
    8,083

    Re: Help Needed for CSerialPort v1.27

    Sure it is incorrect. Because you defined it wrong (or you passed in the wrong parameter):


    Please have a look at the code example that Skizmo has provided you in the post#4. :cool:
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured