- PInvokeStackBalance keeps being detected while the signature is OK
- void EXPORT_API vSetLights(BYTE byLights)
- {
- remote.SetLEDs(byLights);
- }
- [DllImport("APlugin")]
- private static extern void vSetLights(byte byLights);
- byte byLeds = 0x0;
- vSetLights(byLeds);