User Profile

Collapse

Profile Sidebar

Collapse
Tenaious
Tenaious
Last Activity: Dec 2 '09, 08:35 PM
Joined: Mar 11 '09
Location: New York
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Answer

    Hey thanks,

    Posting made me think of something. I believe the problem was the char to <wchar> conversion in the ".ToString( )." so first making it a std::string then marshaling it to a System::String^ did the proper conversion.

    Code:
    char X[2]={'0','0'};
    std::string str=X;
    
    marshal_context^ context = gcnew marshal_context();
    System::String^ OUT;
    ...
    See more | Go to post

    Leave a comment:


  • Serial::WriteLine & Console::WriteLine "ASCII" Problems

    Hi,

    Sorry about such a ridicules question, but I have no clue what’s going on.

    I'm Using Visual Studio 08, programming in C++.
    I have a Serial Port created with:

    Code:
    static System::IO::Ports::SerialPort^ SP1= (gcnew System::IO::Ports::SerialPort());
    SP1->PortName="COM1";
    SP1->BaudRate=115200;
    SP1->Open();
    The problem comes...
    See more | Go to post
No activity results to display
Show More
Working...