[Mono-dev] PATCH: Make Process.Start() use the same 'mono' runtime
Robert Jordan
robertj at gmx.net
Mon Jun 4 14:30:56 EDT 2007
Hi Jonathan,
> +static gboolean
> +is_managed_binary (const gchar *filename)
> +{
You can replace this func with something like that:
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);
}
More information about the Mono-devel-list
mailing list