Issue #13828 has been updated by graywolf (Gray Wolf).

File licensed_com.patch added

nobu (Nobuyoshi Nakada) wrote:
> * adjust indents

Fixed

> * use `rb_scan_args` and `rb_get_kwargs`

Do you mean via ":" in `rb_scan_args`? I tried that at first actually, but had some troubles getting it work (here is what happened: https://gist.github.com/anonymous/714752bfb3744ba80f556d10f06f8c04 ). Could you point me to some documentation (or at least source code using it) about using "*:" together in rb_scan_args?

> * don't mix a declaration with code

Sorry, missed the C90 requirement, fixed.

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

* Author: graywolf (Gray Wolf)
* Status: Assigned
* 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--------------------------------
0001-Add-support-for-licensed-servers.patch (2.77 KB)
licensed_com.patch (2.81 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>