[ruby-core:82630] [Ruby trunk Feature#13828] Win32ole extension should support licensed COM servers

From: wolf@...
Date: 2017-09-01 22:31:18 UTC
List: ruby-core #82630
Issue #13828 has been updated by graywolf (Gray Wolf).


Looking at trunk|r59665, there a typo `keyward_ids`, dunno if it's worth fixing.

----------------------------------------
Feature #13828: Win32ole extension should support licensed COM servers
https://bugs.ruby-lang.org/issues/13828#change-66455

* Author: graywolf (Gray Wolf)
* Status: Closed
* Priority: Normal
* Assignee: suke (Masaki Suketa)
* Target version: 
----------------------------------------
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 (2.81 KB)
licensed_com.patch (3.03 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next