AccpacSession.SetLegacyReturnCode
Sets the return (status) code given to legacy ACCPAC applications when the current program closes.
This return code will be passed back to the program that launched the current application through direct Roto calls, and expects a return code in the Roto's UserArea structure. For more information, refer to the ACCPAC Advantage Series SDK Programming Guide.
Sub SetLegacyReturnCode(ReturnCode As Integer)
Parameters
ReturnCode
[in] return code to pass to legacy applications
Remarks
This method is mainly used by activation UIs.