Results 1 to 4 of 4

Thread: system.nullrferenceException occured

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2012
    Posts
    2

    system.nullrferenceException occured

    I get the following error system.nullrferenceException occured when running the following code

    int channel

    *this line give me the error

    Getdata(0, &channel, (unsigned char*)dataBuf, 1000);

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: system.nullrferenceException occured

    that's not vb.net. this is the vb.net forum

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: system.nullrferenceException occured

    That's not VB.NET code so the VB.NET forum is obviously not the place for this question. Please use the Report Post icon to send a message to the mods and ask them to move the thread to the appropriate forum.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: system.nullrferenceException occured

    Moved to the C and C++ forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width