Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: headkaze on October 12, 2006, 01:50:46 am
-
I was wondering since Youki is thinking of releasing his LEDWiz dll to other developers, how exactly does this dll differ from the official ocx written by RandyT?
And how does it differ from MikeQ's dll from this thread (http://forum.arcadecontrols.com/index.php?topic=48495.msg471412)?
-
He advised me that he thought it was a bit more efficient so I am keen to test it out
-
Yeah I was considering writing my own dll because I've done quite a bit of Comm IO stuff before like sending messages to an LED scrolly sign and mobile phone etc. But I will wait and see what Youki has done.
I'm wondering how youki managed to write a dll when the only documentation I can find on GroovyGameGear.com is how to use the ocx.
But it would be too difficult for me to test anyway as I don't have a LEDWiz and don't really intend on adding one to my cab.
-
I was wondering since Youki is thinking of releasing his LEDWiz dll to other developers, how exactly does this dll differ from the official ocx written by RandyT?
The DLL i will release (different from the one dedicated to Atomic) just differ in the way ,it will be DLL and not an OCX. And will have less function than the OCX. Just the 3 functions that allows to control all features of LED-Wiz.
The DLL can be use from C,C++,Delphi, VB, or any program able to use a DLL.
I don't think there a very big advantage in comparison with the OCX. Except that the DLL size about 50k only , don't need VBRuntime , don't need to be registered, don't need Resident software running.
The fact is that some prefer DLL to OCX.
And how does it differ from MikeQ's dll from this thread?
I didn't know that DLL. So i guess there is not lot of difference. I guess that DLL propose more features that mine.
I don't support Hot Plug/Unplug for instance. (not hard to add, but for now i don't).
In clear nothing special in my DLL.
-
Just a bit of a clarification on what Youki said. The OCX doesn't need the resident software at all. It's standalone.
There are also now speed tweaking features in the latest OCX to throttle the com routines back a slightly for compatibility with USB 2.0 OHCI based USB boards (nVidia, etc) and can be set to run "full-throttle" for UHCI based boards (VIA, Intel, etc.) . *edit* I see that Youki's DLL also allows delay adjustments :applaud:
The OCX also supports less efficient, but more programmer friendly, individual output controls. That means the states of the outputs are internally tracked for you. It also supports a few simple "effect" type commands.
The efficiency of the communication code should be pretty close if you use only the most efficient OCX commands to communicate with the LED-Wiz.
RandyT