string OpenAppAndLoadPosition(int camNumber)
string CloseAppAndSavePosition(int camNumber)
string GetManualSnapshot(int camNumber, int snapshotTimeout)

DELPHI:

  function TestDll() : PAnsiChar; stdcall; external 'IVDComLib.dll';
  function OpenAppAndLoadPosition(camNumber: integer) : PAnsiChar; stdcall; external 'IVDComLib.dll';
  function GetManualSnapshot(camNumber, snapshotTimeout: integer) : PAnsiChar; stdcall; external 'IVDComLib.dll';
  function CloseAppAndSavePosition(camNumber: integer) : PAnsiChar; stdcall; external 'IVDComLib.dll';

procedure TForm2.Button1Click(Sender: TObject);
begin
  ShowMessage(OpenAppAndLoadPosition(1));
  ShowMessage(GetManualSnapshot(1, 4000));
  ShowMessage(CloseAppAndSavePosition(1));
end;