From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopOLEContainer.Subscribe(eventsIID As String) As UInt32

New in 2021r3

Supported for all project types and targets.

Subscribes to the specified events interface (in IID string format) to receive events and returns a token that can be used to unsubscribe.