[Mono-dev] PATCH: Make Process.Start() use the same 'mono' runtime
Miguel de Icaza
miguel at novell.com
Mon Jun 4 16:28:00 EDT 2007
Hello,
> You can replace this func with something like that:
The problem is that this code lives in io-layer.c and Dick pointed out
that it might be best to not depend on metadata code.
> gboolean
> mono_image_is_cil (const char *fname)
> {
> MonoImageOpenStatus status;
> MonoImage *image;
>
> image = mono_image_open_full (fname, &status, TRUE);
> if (image) mono_image_close (image);
> return (image && status == MONO_IMAGE_OK);
> }
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list