[Gtk-sharp-list] Re: CVS + DllImport

Joe Shaw joe@assbarn.com
26 Sep 2001 15:00:53 -0400

On Wed, 2001-09-26 at 14:34, mkestner@speakeasy.net wrote:
> On 26 Sep 2001 13:19:42 -0400, Joe Shaw <joe@assbarn.com> wrote:
> > I just gave up and checked out the older stuff that Mike
> > did and built that instead, which needed a simple search and replace of
> > 'DllImport("gtk-1.3")' to 'DllImport("gtk-1.3.dll")'.
> Interesting.  What platform are you running on?  My Win98 system doesn't
> mind the extensionless form, and it is clearly preferable from the
> standpoint of linux/win32 interoperability, unless the mono runtime is
> going to do mapping to .so nomenclature on linux.

I'm running Beta 2 on a Win2k box.  It built just fine, but it was
actually looking for a file called "gtk-1.3" instead of "gtk-1.3.dll". 
Copying the file worked fine, but obviously I preferred to have an

I spoke with Miguel about it briefly, and he had seen the same (that the
".dll" is not automagically appended) and said that there'll probably
have to be some munging done in the mono runtime so that it'll
substitute ".so" for ".dll" if the latter can't be found.

> Heh.  Maybe it's my day job writing 5-nines reliable telecom software that 
> makes me so averse to putting unproven code into a public repository.  I'll
> strive to commit more incrementally in the future. :-)

Ha.  Yes, that would probably explain it.  But c'mon, it's free
software, it's *supposed* to crash!  One nine is good enough for us,