| Main > Software Forum |
| LEDWiz SDK v1.3 Released for developers |
| (1/6) > >> |
| headkaze:
https://www.baker76.com/ledwiz-sdk/ |
| loadman:
Kewl I will test it out and report in the next coupla days :cheers: |
| edge:
Nice work, hk. Loadman - let's look into using the DLL for v3 of the Mala plugin. :) |
| arzoo:
hk, Thanks for this! :cheers: I looked over the code. It will take a bit of time to convert from the com object, but I think it will be worth the effort. |
| headkaze:
If you don't have a window, you can just give the callback a null instead. Infact you don't really even need to call LWZ_REGISTER() in the callback unless you want hot swapping support, which I don't think is really necessary. --- Code: ---Procedure notify(reason: Integer; newDevice: LWZHANDLE) stdcall; Begin if (reason = LWZ_ADD) then begin LWZ_REGISTER(newDevice, nil); end; End; --- End code --- You may need to write a bunch of wrapper functions to get the same sort of functionality as the ocx. What I've done in my plugin is have two arrays, one for state and one for intensity that I use to keep track of the LED's. That way you can use them when you need to turn a single output on or off. |
| Navigation |
| Message Index |
| Next page |