User Profile

Collapse

Profile Sidebar

Collapse
shalami
shalami
Last Activity: Nov 16 '12, 07:14 AM
Joined: Feb 15 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Code:
    namespace WindowsFormsApplication6
    {
        public partial class Form1 : Form
        {
      
            public Form1()
            {
                InitializeComponent();
            }
    
            private void Form1_Load(object sender, EventArgs e)
            {
            }
            class WinAPIWrapper
            {
                // Use DllImport to import the Win32 GetFocus function.
    ...
    See more | Go to post
    Last edited by PsychoCoder; Feb 15 '12, 06:48 PM. Reason: Added code tags

    Leave a comment:


  • USB communications using StreamReader and StreamWriter

    I'm doing some USB communications in C# and am running into a minor
    annoyance. I'm using the Windows API CreateFile function to get a
    SafeFileHandle, which I then stuff into a FileStream and from there
    into StreamReader and StreamWriter objects.
    i do this code for streamreader
    Code:
     StreamReader fPipein = new StreamReader(WinAPIWrapper.GetStreamFromGuid(m, @"\PIPE00"));
    but visual-studio-c# show this error...
    See more | Go to post
    Last edited by PsychoCoder; Feb 15 '12, 08:06 AM. Reason: Added code tags
No activity results to display
Show More
Working...