From my delphi-application, I do a call to a DLL-function.
This functions requires several parameters.
This is the function call :
procedure DsConR(var intRc: Smallint ; var DsId: TDistributionInfo ; var SecInfo: TSecurityInfo ;
var TimeOut: Longint ; SenderTag: PChar ; Expediter: PChar ; RecType: PChar ; Initiator: PChar); stdcall; external 'Vcomcl32.dll' name 'dsconr';
One of the parameters (SecInfo) is defined as (created new Type) :
TSecurityInfo = Record
UsdLen : Word;
UsData : PChar;
Now, from my application, I want to pass Nil as the 'SecInfo'-parameter when calling the function.
Is there a way to assign nil (nothing) to a user-defined Type ??
I hope someone can help me out here ...
Thanx in advance,
PS : The application I'm writing uses VCOMCL32.DLL
This is a C++ Library, developped by Volvo.
Maybe one of you experts has also experience in
developping delphi-applications with this VCOM-Lib.
In this case any other information/help is welcome.
You never know, do you.