Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to StdoutMBS class.
StdoutMBS.AttachConsole(ProcessID as Integer = -1) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Files | MBS Util Plugin | 12.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
ProcessId: The identifier of the process whose console is to be used. This parameter can be one of the following values.
Value | Meaning |
pid | Use the console of the specified process. |
-1 | Use the console of the parent of the current process. |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Files | MBS Util Plugin | 8.7 | ✅ Yes | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
StdoutMBS.FreeConsole as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Files | MBS Util Plugin | 12.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns Windows error code or zero for success.
A process can be attached to at most one console. If the calling process is not already attached to a console, the error code returned is ERROR_INVALID_PARAMETER (87).
A process can use the FreeConsole function to detach itself from its console. If other processes share the console, the console is not destroyed, but the process that called FreeConsole cannot refer to it. A console is closed when the last process attached to it terminates or calls FreeConsole. After a process calls FreeConsole, it can call the AllocConsole function to create a new console or AttachConsole to attach to another console.
StdoutMBS.Write(data as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Files | MBS Util Plugin | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
You have to make sure your data is in good text encoding.
The items on this page are in the following plugins: MBS Util Plugin.