Main > Software Forum
If you would like to build multi LED-Wiz support into your software...
<< < (7/9) > >>
Space Fractal:
As I can see, LED-Wiz support may been dropped in Johnny5?  I can see myself, it would been very great, if it only lighted up these buttons, that was actuelly used by the game (does PowerMame that?).

Im still doubt the clipfolder method is used (if my doublt, should not been used). My self I used a hidden window with a speciel title to broadcastling with a Autohotkey script and AMB applicatrion. This was due for the Joystick support, since Blitz+ only supported 16 buttons, but GpWiz49 have 25).

I would even have a interest to create a simple LedWiz support, directly in Arcade Music Box. As I can see now, this would need to send a command to the clipfolder)? A dll would by me easier, since blitz+ only use dll, and it even not support clipfolder (but can create a dll in Pure Basic for that, so no problem).

A Another request is (wich is nothing about the clipfolder):
Since I dosen
RandyT:

--- Quote from: Space Fractal / Denmark on August 05, 2006, 05:45:53 am ---I can see myself, it would been very great, if it only lighted up these buttons, that was actuelly used by the game (does PowerMame that?).

--- End quote ---

Yes.  If I'm not mistaken, it will also speak to you and tell you the function of each as it lights them.


--- Quote ---I would even have a interest to create a simple LedWiz support, directly in Arcade Music Box. As I can see now, this would need to send a command to the clipfolder)? A dll would by me easier, since blitz+ only use dll, and it even not support clipfolder (but can create a dll in Pure Basic for that, so no problem).

--- End quote ---

Supposedly, this DLL will let you use the clipboard from Blitz, and includes an example.


--- Quote ---A Another request is (wich is nothing about the clipfolder):
Since I dosen
--- End quote ---
Space Fractal:
I have found some issues:

- When "LumAura Control" are open, the commands to clipfolder dosen
loadman:
Has anyone used this OCX successfully using anything other than VB6? 

I can do it all in VB6  But....Not with Delphi ...yet?

It is probably just me.....  but I am get 'Access violation'errors galore!!

This is guts of the code:


unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  LEDWiz_Control_TLB, StdCtrls;

type
  TForm1 = class(TForm)
    Edit1: TEdit;
    procedure FormCreate(Sender: TObject);
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
   Wiz: LED_Wiz;
  end;

var
  Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.FormCreate(Sender: TObject);
begin
   Wiz.Command := 'RGB:1,13,22,40';

end;

end.
youki:
I would have create an instance of the OCX , using : CreateOLeObject function before accessing to method or property.

Here an example (in DELPHI , and the same in VB)  , not wiz the ledwiz OCX but i could help you.


--- Quote ---How to use COM component/object in DELPHI?
1. COM Init
  Example:
    var ConvertCom: Variant;
    ConvertCom := CreateOleObject('czxls2htm.ConvertApplication');
2. COM Property
  Example:
    ConvertCom.Visible:=true;
3. COM Method
  Example:
    sResult:=ConvertCom.ConvertFolder('c:\*.xls','d:\',false,'');
4. Close COM
  Example:
    ConvertCom:=UnAssigned;


How to use COM component/object in VB?
1. COM Init
  Example:
  set ConvertCom=CreateObject("czxls2htm.ConvertApplication")
2. COM Property
  Example:
    ConvertCom.Visible=true
3. Com Method
  Example:
    result=ConvertCom.ConvertFolder("c:\*.xls","d:\",false,"")
4. Close COM
  Example:
    set ConvertCom=nothing
--- End quote ---



Navigation
Message Index
Next page
Previous page

Go to full version