Patent ID: 8898524

Claim:
A non-transitory computer-readable medium storing a wrapper program that causes a computer to execute a process, the process comprising: converting, when a porting source application program interface (API) is called up by the application program, the API to a porting destination API of a porting destination operating system (OS), in order to allow an application program, having a code to call up the porting source API of a porting source OS, to operate on the porting destination OS which is different from the porting source OS; wherein the converting includes; determining whether the porting source API matches the error condition information of the porting source API by referring to a porting source error condition data base, the porting source error condition data base including error condition information of the porting source API and error value of the porting source OS, the error value corresponding to the error condition information; outputting the error value of the porting source OS to the application program without calling up the porting destination API corresponding to the porting source API, the error value corresponding to the error condition information which matched in the determining, when the error condition information is matched; and calling up the porting destination API corresponding to the porting source API when the error condition information is not matched, so that the porting destination OS executes the porting destination API.