Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 0.28 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. PInvokeStackBalance keeps being detected while the signature is OK
  2. void EXPORT_API vSetLights(BYTE byLights)
  3. {
  4.     remote.SetLEDs(byLights);
  5. }
  6.        
  7. [DllImport("APlugin")]
  8.     private static extern void vSetLights(byte byLights);
  9.        
  10. byte byLeds = 0x0;
  11.         vSetLights(byLeds);