Skip to content

Commit 63d85b6

Browse files
committed
Error_Set_Description: when used, set SolutionAbort
Only when DSS_CAPI_EARLY_ABORT is on, which is the default.
1 parent 6a123c6 commit 63d85b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CAPI/CAPI_Error.pas

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ procedure Error_Set_ExtendedErrors(Value: TAPIBoolean); CDECL;
6565
procedure Error_Set_Description(Value: PAnsiChar); CDECL;
6666
begin
6767
DSSPrime.LastErrorMessage := Value;
68+
if DSS_CAPI_EARLY_ABORT then
69+
begin
70+
DSSPrime.SolutionAbort := true;
71+
end;
6872
end;
6973
//------------------------------------------------------------------------------
7074

0 commit comments

Comments
 (0)