From: Scott Mckie Date: 2007-10-02T02:27:59+09:00 Subject: Re: Help with a Windows port of a Ruby extension John Joyce wrote: > is it possibly some kind of path/dependency trouble? Maybe it's > expecting to see something at a path that isn't what it expects? > It's interesting... The paths aren't the issue. Cygwin lets you use *NIX style paths, yes. But the game loads both Ruby extensions without hitch, and I'm able to instantiate at least one of them w/o problem. It's when I try to access the C Data structure from /within/ the Ruby extension that I run into problems. The confusing thing is I can still access the C Data structure from the main program, and it will behave as expected. I'd thought that the problem might be some weird memory protection thing peculiar to Windows that was preventing me from accessing the class methods (virtual memory pages or some such junk), but I've done some more testing and /that/ doesn't seem to be the case, thank god. So my last two ideas are that there are some compiler/linker flags that are causing the problem, or some weird differences between Apple's and GNU's Objective C runtimes. Very, very frustrating. -- Posted via http://www.ruby-forum.com/.