hello,
kit driver is installed successfully, kit works perfectly fine with the test demo programm motordemo.exe.
I try to use the motorlibnet.DLL to make my own application, and have some trouble with the dll.
did someone had successfully use of the motorlibnet.dll with delphy 4
thats the way i try to use it: (example with the connect function)
unit unit_stepper;
interface
{déclaration des fonctions Vellermann}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TForm1 = class(TForm)
private
{ Déclarations privées}
public
{ Déclarations publiques}
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
var
test:boolean;
function SMCConnect(port:Pchar;motor:longint):bool; stdcall; external ‘MotorlibNET.dll’;
begin
test:=SMCConnect(‘COM8’,4); { kit connecte à com8}
end.[/color]
error: “application can not start. (0xc000007b). click to close”
the dll is at the rigth place.
Somes advices or selphi code sample to help?
best regards