From: Daniel Andersson Date: 2001-09-27T21:32:20+09:00 Subject: [ruby-talk:21768] Re: Embedding woes > Your original code was correct (using rb_cObject as the second argument to > rb_define_class). Try adding these compiler flags: > > /DNT > /DIMPORT > /MD > > when compiling your extension code and see if that fixes things. Needless to > say, this isn't documented anywhere ;) Thanks a lot, that fixed the problem. This would probably be a good thing to put in the documentation :) Daniel Andersson