Forum: Ruby 64 BIT Ruby Error WIN32OLE

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
13966fc8c6e0dc80ced77d8d6dfa24f7?d=identicon&s=25 David Lucas (david_l25)
on 2016-11-09 13:17
0x800700c1 Error calling:

connection = WIN32OLE.new('ADODB.Connection')

64 Bit machine...

Any workarounds?

dblucas AT charter.net

Dave

# failed to create WIN32OLE object from `ADODB.Connection'
# HRESULT error code:0x800700c1
#  %1 is not a valid Win32 application.
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2016-11-15 14:15
I'm using 64-bit Windows 8.1, and that command works fine for me. Are
you sure it's 64-bit that's the issue here?
13966fc8c6e0dc80ced77d8d6dfa24f7?d=identicon&s=25 David Lucas (david_l25)
on 2016-11-15 15:12
Attachment: 64.jpg (100 KB)
Attachment: 64New1.jpg (100 KB)
System info in attached image
This topic is locked and can not be replied to.