Software Support > PowerMAME
PowerMAME plug-in??
headkaze:
--- Quote from: arzoo on January 23, 2007, 04:31:24 pm ---Any chance someone would post some sample code using Mike's dll in Delphi? It's the plug and play callback stuff I'm not sure about.
It would be greatly appreciated! :cheers:
--- End quote ---
Callback functions are just normal functions defined slightly differently. Not sure how you do it in Delphi, but just do a search on Google for it. Either way, I don't even use the callback as I have found no use for it. How often will someone be unplugging their LEDWiz while it's in operation? Even though it's a cool feature I actually couldn't get the numdevices to change correctly when a LEDWiz was unplugged and since I don't actually own a LEDWiz it was too hard to find out why it wasn't working. Mike didn't answer my e-mails about it, so I just didn't bother about it (probably got lost among all the junk in Mike's inbox). BTW I'm pretty sure you can just send a null instead of the callback function and it will still work.
MikeQ:
--- Quote from: headkaze on January 23, 2007, 05:27:57 pm ---
--- Quote from: arzoo on January 23, 2007, 04:31:24 pm ---Any chance someone would post some sample code using Mike's dll in Delphi? It's the plug and play callback stuff I'm not sure about.
It would be greatly appreciated! :cheers:
--- End quote ---
Callback functions are just normal functions defined slightly differently. Not sure how you do it in Delphi, but just do a search on Google for it. Either way, I don't even use the callback as I have found no use for it. How often will someone be unplugging their LEDWiz while it's in operation? Even though it's a cool feature I actually couldn't get the numdevices to change correctly when a LEDWiz was unplugged and since I don't actually own a LEDWiz it was too hard to find out why it wasn't working. Mike didn't answer my e-mails about it, so I just didn't bother about it (probably got lost among all the junk in Mike's inbox). BTW I'm pretty sure you can just send a null instead of the callback function and it will still work.
--- End quote ---
Not sure what email your refering to. It probably did get lost. I switched email accounts lately. Not sure where you sent it. Was it requesting the code for the ledwiz.dll? If so, by request of RandyT, I can't give it out. I guess I could legally but respect Randy's wishes.
headkaze:
--- Quote from: MikeQ on January 24, 2007, 09:03:52 pm ---Not sure what email your refering to. It probably did get lost. I switched email accounts lately. Not sure where you sent it. Was it requesting the code for the ledwiz.dll? If so, by request of RandyT, I can't give it out. I guess I could legally but respect Randy's wishes.
--- End quote ---
That's fair enough, if Randy wants to keep it to himself that's his prerogative. It dosn't help developers much though. I guess that was the last thing you could do for the community, but if Randy dosn't want to share it thats okay. This forum can be closed now. Thanks for all your hard work, it's appreciated.
loadman:
--- Quote from: arzoo on January 23, 2007, 04:17:10 pm ---headkaze,
I believe that the ocx also has the nvidia chip bug fix.
--- End quote ---
It does.
This is what the option is for the MaLa Led-Wiz Plug-in
(see attached pic)
If you enable 'Fast-com' it may be incompatable with some USB chip sets but it is supposed to be faster :dunno
headkaze:
I still think Mike's dll is better even if the ocx has the nvidia chip bug fix. Looking at the example source you can tell Mike is a professional coder, whilst Randy is not (coding in VB6 for something like this is a bad choice IMHO).
There is no fastcom mode for the dll, so I assume it's all automated for that.
The dll dosn't have all the extra commands of the ocx, but you don't need them anyway, since it just keeps state info and calls the two SBA and PBA functions anyway AFAIK.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version