And try defining RUBY_IMPORT instead of IMPORT. # -----Original Message----- # From: Aleksei Guzev [mailto:aleksei.guzev / bigfoot.com] # Sent: 18 ???? 2001 ?. 22:11 # To: ruby-talk ML # Subject: [ruby-talk:18055] RE: RUBY C++ Extension again # # # Can You mailto:aleksei.guzev / bigfoot.com Your dsw and dsp files? # # # -----Original Message----- # # From: Bernhard Gl?ck [mailto:jglueck / vol.at] # # Sent: 18 ???? 2001 ?. 21:58 # # To: ruby-talk ML; undisclosed-recipients: # # Subject: [ruby-talk:18053] Re: RUBY C++ Extension again # # # # # # Hm another one, i corrected the errors in above example and # # it still crashes at the rb_define_class call.... No idea what # # it could be... By the way this is an Application which uses # # the engine DLL which embeds RUBY and exports this class... # # And it's running under Win2000... We tried all the defines # # etc... but nothing works it still crashes at rb_define_class. # # Are there any special steps required ( except NtInitialize) # # to embed ruby properly and allow to export the classes ? # # # # Thanks # # #