Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGSConnectionMBS class.

CGSConnectionMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The internal handle for this connection.

(Read and Write property)

CGSConnectionMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Last error code reported.

The list of CoreGraphics error (from Mac OS X 10.4)

kCGErrorSuccess= 0Success
kCGErrorFailure= 1000Failure
kCGErrorIllegalArgument= 1001Illegal Argument
kCGErrorInvalidConnection= 1002Invalid Connection
kCGErrorInvalidContext= 1003Invalid Context
kCGErrorCannotComplete= 1004Cannot complete
kCGErrorNameTooLong= 1005Name is too long
kCGErrorNotImplemented= 1006Not implemented
kCGErrorRangeCheck= 1007Out of bounds
kCGErrorTypeCheck= 1008Type error
kCGErrorNoCurrentPoint= 1009No current point
kCGErrorInvalidOperation= 1010Invalid Operation
kCGErrorNoneAvailable= 1011internal errors have taken 1012 1013 and 1014
kCGErrorApplicationRequiresNewerSystem= 1015the application being launched says in it's bundle info that it requires a newer version of the system than is currently running.
kCGErrorApplicationNotPermittedToExecute= 1016Macintosh Manager is active and this application is not permitted to run
kCGErrorApplicationIncorrectExecutableFormatFound= 1023the application being launched does not have any executable code for the current system.
kCGErrorApplicationIsLaunching= 1024The application is in the process of launching but hasn't checked in yet. Any launch data provided will be given to the application when it does check in.
kCGErrorApplicationAlreadyRunning= 1025The application being launched was already running ( and had already checked in ) and so any launch data provided can not be delivered to in by CPS
kCGErrorApplicationCanOnlyBeRunInOneSessionAtATime= 1026The application being launched is incompatible with multiple user sessions and is already running in another session by another user.
kCGErrorClassicApplicationsMustBeLaunchedByClassic= 1027To avoid deadlock Classic can't launch another Classic application by going thru CPS. This error gets returned in that case and it signals TruBlueEnvironment that it must handle this launch on its own.
kCGErrorForkFailed= 1028CPS was unable to fork a new process in order to launch an application.
(Read and Write property)

The items on this page are in the following plugins: MBS MacCG Plugin.


The biggest plugin in space...