Lazarus Ver 2.012
The ControlCAN.dll is for driving the USB-CAN adapter. there is an example code of Delphi 7, I tried to use it on Lazarus, but got faild.
The .dll file and interface file are included in Delphi7_Example(En).rar.
I need your help,Please!
Where is the converted Lazarus project? You didn't even try to convert it did you? See attachment...
I did, and tried the converted code .

. I suppose it's a version problem of Lazarus, So I uploaded the orignal delphi code.
the interface file : ControlCAN.pas and ControlCAN.dll .
import the controlCAN.pas, put controlCAN.dll into the project folder. you don't really need to write too many code .
unit Unit1;
{$mode Delphi}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls,ControlCAN;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.Button1Click(Sender: TObject);
begin
VCI_OpenDevice(1,0,0)
end;
end.
[Edited to add code tags: Please read
How to use the Forums]