hej alle
Jeg har lidt problemer med en dll fil jeg skal bruge
Jeg sidder og roder med det i VB og det går ned hele tiden.
Jeg har fundet noget info der hjælper lidt på det men kan ikke få det til at fungere, det er objeckt pascal.
Hvordan declarer jeg funktionerne og bruger dem??
Med venlig hilsen
Kim
Revision History
================
Build 2004.10 - 15. December 2004
* Base times for relays added
* DLL created
FINAPoints2004.dll
==================
The DLL exports two functions:
Interface in Delphi (Object Pascal)
-----------------------------------
// Description of default parameter for both functions
// - ARelayCount : number of swimmers. 1 for individual events, 4 for regular relay events
// - ADistance : the distance of the event. This is the distance for one swimmer in a relay event
// - AStroke : FREE, FLY, BACK, BREAST, MEDLEY
// - AGender : MEN, WOMEN
// - ACourse : SCM, LCM
//@@ Calculate points from swim time. The specific parameters are:
// - ATime : The swim time in hundreds of a second. (1:09.54 >>> 6954)
// - Result : Number of FINA points achieved
function SwimTimeToFinaPoints(ARelayCount, ADistance: Integer; AStroke, AGender, ACourse: PChar; ATime: Integer): Integer; stdcall;
//@@ Calculate the slowest needed swim time for cerataon points value. The specific parameters are:
// - APoints : Number of FINA points
// - Result : The swim time in hundreds of a second.
function FinaPointsToSwimTime(ARelayCount, ADistance: Integer; AStroke, AGender, ACourse: PChar; APoints: Integer): Integer; stdcall;
filen kan hentes her.