[quote=336906:@Ulrich Bogun]This sounds weird, because by the documentation all macOS declares are soft declares, but
soft Declare Function MTLCopyAllDevices Lib "Metal.framework" As Integer
Dim thisValue As Integer = MTLCopyAllDevices
and no linker error anymore + a valid value.[/quote]
Sounds weird but true… Thanks for the tip, I’ll give it a try once I’ve completed my current task.