derek.hans@gmail.com
4/27/2006 3:00:00 PM
Following the SWIG instructions, I added NT=1 and "IMPORT" to the
Preprocessor definitions and set the entry point to Init_bdb. I also
set the multi-threaded DLL option /MD because /ML does not play nice
with specifying the entry point.
I now get the following error:
../bdb.dll: 127: The specified procedure could not be found. -
Init_bdb (LoadEr
ror)
../bdb.dll from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:2
1:in `require'
from ./clean.rb:1
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re
quire'
from basic.rb:2
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29: [BUG]
Segmentation
fault
ruby 1.8.4 (2005-12-24) [i386-mswin32]
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
The last two lines of the message correspond to the error I am getting
when trying to access the berkeley dll using Ruby/DL.