General

Profile

whdukewu (Kewu DU)

  • Login: whdukewu
  • Registered on: 07/25/2019
  • Last sign in: 12/04/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

12/04/2020

08:12 AM Ruby Bug #16116: ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
finally we solve this problem by this way:
1. add mscoree.dll to windows registry key ** \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs** **
2. restart windows systems
then we can load dll files in ru...
whdukewu (Kewu DU)

08/23/2019

07:54 AM Ruby Bug #16117: ruby2.6.3(x86) use fiddle faild to load dll in windows7
Problem solved:
the dll i used compiled by MinGW, the dll need libstdc++-6.dll, after I add **-static-libgcc -static-libstdc++** compile flag to the dll, problem solved!
whdukewu (Kewu DU)

08/22/2019

12:22 PM Ruby Bug #16117: ruby2.6.3(x86) use fiddle faild to load dll in windows7
**testmml_win.rb code:**
```ruby
require 'fiddle'
require 'fiddle/import'
if ARGV.length < 1
puts "Missing libPath argument..."
puts "Usage: ruby HostTest2.rb libPath"
puts "Sample: ruby HostTest2.rb /home/Protocol...
whdukewu (Kewu DU)
12:21 PM Ruby Bug #16117 (Rejected): ruby2.6.3(x86) use fiddle faild to load dll in windows7
I have a dll build by MinGW32 in windows7, in ruby2.2, I could use fiddle dlload this dll success, but in the same system, use 2.6.3 failed to dlload this dll, always report No such file or direcoty.
**///////// Ruby2.2 success load t...
whdukewu (Kewu DU)
12:01 PM Ruby Bug #16116 (Closed): ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
I build a RubyTest.dll by C#, In ruby2.2, I could use WIN32OLE.new to create ole object, but in the same system under ruby2.6.3, it failed to create ole object by WIN32OLE.new, is there any different between ruby 2.2 and ruby 2.6.3 in WI... whdukewu (Kewu DU)

Also available in: Atom