Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CFObjectMBS.NewCFObject(handle as Integer) as CFObjectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation MBS MacCF Plugin 14.2 Yes Yes No Yes No
Function: Creates new plugin CFObjectMBS around a handle of a CF Type.
// make string
dim s as CFStringMBS = NewCFStringMBS("Hello World")

// get handle
dim h as Integer = s.Handle

// get back from handel to plugin object
dim o as CFObjectMBS = CFObjectMBS.NewCFObject(h)

// and see if plugin detected a string
if o isa CFStringMBS then
dim t as CFStringMBS = CFStringMBS(o)

MsgBox t.str
end if

Feedback, Comments & Corrections

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

MBS FileMaker Plugins