Ok, for the record:
define IMPORT and NT, compile again, everything is fine.
cheers
Simon
···
-----Original Message-----
From: Kroeger, Simon (ext)
Sent: Wednesday, November 09, 2005 3:36 PM
To: ruby-talk ML
Subject: swig and ruby 1.6.8Dear list,
I used swigwin-1.3.27 to create a wrapper for a third party lib.
After fiddling with #defines everything went fine. I can compile
and link this wrapper against ruby 1.8.2 (2004-12-25) [i386-mswin32]
and get a working dll.Now I tried to link against ruby 1.6.8 (2002-12-24) [i586-mswin32]
and I get a dll also, but everytime I try to require this dll
(using ruby 1.6.8 of course) I only get "abnormal program
termination".Yes, I know, we should update to 1.8.2 but this is not an option
(today).cheers
Simon