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)
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)
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)
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)