adding "#define IMPORT" before including ruby fixed it, thankyou

(no need to def NT, its already defined under vc7)

cheers

-----Original Message-----
From: ts [mailto:decoux / moulon.inra.fr]
Sent: Monday, April 14, 2003 12:30 AM
To: ruby-talk ML
Cc: ruby-talk / ruby-lang.org
Subject: Re: problems embedding ruby in win32


>>>>> "G" == Gaffer  <gaffer / gaffer.org> writes:

G> Embedded: wrong argument type Fixnum (expected Class) (TypeError)
G> Embedded: [BUG] Segmentation fault
G> ruby 1.8.0 (2003-03-03) [i386-mswin32]

 When you compile define "IMPORT" and "NT=1" (something like -DIMPORT and
 -DNT=1) 



Guy Decoux