/* 1: ---------- Das ist der C Code in der
DLL ------------------------------------------------------- */
SE_API_IMPL(se_result_t, se_getCertificationId)(char **certificationId,
uint32_t *certificationIdLength)
{
SE_EXPORT_METHOD;
return se_getCertificationIdEx(&g_se_ctx, certificationId, certificationIdLength);
}
/* 2: ---------- Das mein Delphi Aufruf (Schnittstelle) der
DLL Funktion --------------------------- */
function se_getCertificationId(var certificationId: PAnsiChar; certificationIdLength: Cardinal): Cardinal; cdecl; external 'se-
api-c.dll';
/* 3: ---------- Das mein Delphi Aufruf auf der
DLL Schnittstellen funktion ------------------------ */
function SeGetCertificationId(var CertificationId: PAnsiChar): TSeReturnCode;
var
CertificationIDLength: Cardinal;
begin
CertificationIDLength:= 0;
Result := TSeReturnCode(se_getCertificationID(CertificationID, CertificationIDLength));
// Und hier ist CertificationID =nil
if PCertificationID<>nil then
begin
...
..
.