From: Shigeo Kobayashi Date: 2000-11-16T12:26:12+09:00 Subject: [ruby-talk:6389] Re: Is xfree() the proper counter part to ALLOC_N() or ALLOC() ? ----- Original Message ----- From: "John Small" Subject: Re: [ruby-talk:6376] Re: Is xfree() the proper counter part to ALLOC_N() or ALLOC() ? > Thank you for the detailed information! Oops! That was not accurate. I should say: Ruby's DLL is statically linked to C run time libraries due to the same reason of Perl's. It,therefore,never calls MSVCRT.DLL entries while your DLL calls them,which makes pointer inconsistency and makes your programs crash. To aviod this sort of crash,you must call entries exported by Ruby's DLL such as xfree(),or make both Ruby's DLL and your DLL call RubyCRT.DLL entries. > I haven't yet packaged it up as a general ruby extension (I'm new to ruby as > of two weeks ago). > How should I go about proceeding to put it out there as betaware? > Can you put it on RAA(Ruby Application Archive) anyway ? http://helium.ruby-lang.org/en/raa.html shigeo@tinyforest.gr.jp