title: PInvokeStackImbalance was detected - Visual Basic 2010
body: <p>I want to make an internet checker , but I don't know what's the problem with this PinvokeStackImbalance. Actually, the code was made for Visual Basic 2008, But I`m using Visual Basic 2010. </p>
  
  <p>WebTest = CBool(InternetGetConnectedState(dwflags, 0&amp;))</p>
  
  <p>Where's the problem? Btw, it's a module.</p>