fattar noll!
The API.DLL can be found in the MERAK directory and is used by the Users.exe command line
tool.
The source code for Users.exe can be found in the API directory and is written in Delphi.The API can be used in any programming language such as Delphi, BC++ Builder, MS VC++, ASP,
VB etc.
All you need to do is to import the functions from the API DLL (Dynamic Linked Library).
In order to use the API you have to follow few rules:
1. Before calling any functions from the API, call the Init function and pass the full MERAK directory
to it.
2. All functions return a result. The result can be either negative or positive.
The positive results (including 0) indicate a success of the function. See the APIConst unit for
negative results. You should always check all results.Function Init(Directory: PChar): Longint; StdCall;
Initializes the API. The directory contains the MERAK Mail Server installation path. This function
should be the first called function.Function AddUser(Domain: PChar; Var Buffer; Size: Longint): Longint;
StdCall;
Adds a new user.
HJÄLP!!!!!