> The reason I ask is that the Mercury standard library is implemented > mostly in IL code, but the set_environment_variable procedure needs to > be implemented using native code, since the .NET library doesn't provide > any way of setting environment variables.
Is it possible to implement this call with standard PInvoke? I think it would be safer this way. > i.e. will it crash and burn when trying to load a mixed-code assembly, > or only when the native code is called? I will check what's the current behaviour. But full support for embedded native code would require more general PE loader (fixing up imports and the like) so I think it's unlikely to be implemented. I'm interested what others think about this feature (embedded machine code). It's cool, no doubt :-) but is it that useful after all? Sergey _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
