Board index » delphi » EOleSysError: An outgoing call cannot be made since...

EOleSysError: An outgoing call cannot be made since...

Hello,
  We are using Delphi 4 C/S and C++ Builder 4 C/S.  We are getting the
following error from within the IDE when executing the function below it
multiple times.  It appears that this is only happening from within the IDE
as we have been unable to duplicate the error while just running the exe.

EOleSysError:  An outgoing call cannot be made since the application is
dispatching an input-synchronous call.

function GCheckPermissions(const Module : string; const FunctionNo :
integer) : boolean;
var
  SecInt : ISecurity;
begin
  SecInt := CoCSecurity.Create;
  if Assigned(SecInt) then
    Result := SecInt.CheckPermissions(Module, FunctionNo)
  else
    Result := false;
end;

Thanks in advance,
Bill Smith

 

Re:EOleSysError: An outgoing call cannot be made since...


Is the CoCSecurity server doing any UI work or callbacks or anything like
that?

--
Binh Ly
http://www.techvanguards.com

Quote
Bill Smith <bsm...@sitechinc.com> wrote in message news:3910785b@dnews...
> Hello,
>   We are using Delphi 4 C/S and C++ Builder 4 C/S.  We are getting the
> following error from within the IDE when executing the function below it
> multiple times.  It appears that this is only happening from within the
IDE
> as we have been unable to duplicate the error while just running the exe.

> EOleSysError:  An outgoing call cannot be made since the application is
> dispatching an input-synchronous call.

> function GCheckPermissions(const Module : string; const FunctionNo :
> integer) : boolean;
> var
>   SecInt : ISecurity;
> begin
>   SecInt := CoCSecurity.Create;
>   if Assigned(SecInt) then
>     Result := SecInt.CheckPermissions(Module, FunctionNo)
>   else
>     Result := false;
> end;

> Thanks in advance,
> Bill Smith

Other Threads