Home > Back-end >  Adel locks call DLL how to connect to the database
Adel locks call DLL how to connect to the database

Time:09-25

1, from the customer there backup adel9200 database over the unit reduction, as well as related DLL
2. Using Delphi XE calls init, always prompt connected door lock system database error, the follow-up work cannot continue

Excuse me each great god, should pay attention to when calling the init connection adel database, call their technician, said my problem too details, do not understand
Have a few questions, when connecting to the database, is sure need to user and password, but this function he don't have to provide these parameters

Prototype is: Init: function (SOFT: INTEGER; SERVER, UNAME: PAnsiChar;
PORT, ENCODERTYPE TMENCODER: INTEGER) : INTEGER; Stdcall;

Under the experienced a great god, if I can help? Grateful!

CodePudding user response:

I am using USB interface adel, data is sql2008

CodePudding user response:

Alas, no one? Ah!

CodePudding user response:

More sad, help you under the roof

CodePudding user response:

Lock the specific model is what?
Server [in] : character pointer, specify the door lock system database server (SQL server) installation,
The Port [in] : serial number, 1 - COM1, 2 - COM2, 3 - COM3, 4 - COM4 so on,
EncoderType [in] : machine types, 0 and manual machine, 1 - issued automatic machine,
TMEncoderType [in] : TM machine types, such as 1 - DS9097E, 5 - DS9097U
Depends on the specific types of parameters,

CodePudding user response:

Dynamic link library is Lock9200. DLL or Lock9200T. DLL?

CodePudding user response:

Do initialization hairpin, hair entrance card.

CodePudding user response:

Before the INIT, still need to study the SDK, there is no need to do? Call a function, the parameters of the transfer function type, size are consistent,

CodePudding user response:

Hello, I am doing the
Initialize the INit method in
What is server report format string

CodePudding user response:

General docking hardware anything like this
First have to find a butt man, there is a problem directly QQ, telephone harassment, cooperate is reflected not give leadership
Second for a manufacturer to demo what of, have no demo there is always an exe software build environment first run
Run right,
environment set upThe interface to the next, and what interface conversion, try the basic function of what
Then good for

CodePudding user response:

Adel have never heard of, seen hotel useful digi,
  • Related