Project

General

Profile

Actions

Feature #13828

closed

Win32ole extension should support licensed COM servers

Added by graywolf (Gray Wolf) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Target version:
-
[ruby-core:82422]

Description

Current implementation doesn't support licensed COM servers. I've added keyword argument :license which when used switches to using IClassFactory2::CreateInstanceLic instead of CoCreateInstance.

Default behaviour was not touched in any way, so it doesn't break anything. And the license version works in my testing.


Files

licensed_com.patch (2.77 KB) licensed_com.patch Original version graywolf (Gray Wolf), 08/18/2017 10:36 PM
licensed_com.patch (2.81 KB) licensed_com.patch Version with some of the feedback resolved graywolf (Gray Wolf), 08/19/2017 09:03 AM
licensed_com.patch (3.03 KB) licensed_com.patch Using `rb_get_kwargs` as requested graywolf (Gray Wolf), 08/21/2017 01:01 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0