<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/libhidnet/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/libhidnet/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/libhidnet/support-requests/</id><updated>2011-10-07T06:41:48Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>WriteRead causing NullReferenceException</title><link href="https://sourceforge.net/p/libhidnet/support-requests/1/" rel="alternate"/><published>2011-10-07T06:41:48Z</published><updated>2011-10-07T06:41:48Z</updated><author><name>Adam D</name><uri>https://sourceforge.net/u/kirbylover4000/</uri></author><id>https://sourceforge.netb8166f2afeb6da6f53d0906aab7803ed90292685</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using this library with a Visual Basic.NET 2010 and everything is working until I need to use WriteRead.&lt;/p&gt;
&lt;p&gt;My code is:&lt;/p&gt;
&lt;p&gt;Dim response() As Byte = prog.WriteRead(16, {&amp;amp;H76, 90, 90, 90, 90, 90, 90, 90})&lt;/p&gt;
&lt;p&gt;And it gives me a NullReferenceException, saying that the array of data should be used with the New keyword, or by checking that it is not Nothing. I tried doing both and they didn't work.&lt;br /&gt;
Am I doing something wrong here? Thanks in advance.&lt;br /&gt;
Ad@m&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>