[Mono-dev] name of executable
aotto1968
aotto1968 at users.sourceforge.net
Thu May 28 11:12:42 EDT 2009
Hi,
I have the following startup code of a C# application
public abstract partial class MqS
{
[DllImport(MSGQUE_DLL)]
private static extern void MqInit(string MqMainToolName, string
MqMainScriptName);
static MqS() {
Type t = Type.GetType ("Mono.Runtime");
if (t != null)
MqInit("mono", Assembly.GetExecutingAssembly().Location);
else
MqInit(Assembly.GetExecutingAssembly().Location, "");
}
...
I need the path of the executable (in our case mono)
-> I don't found any docs about "Mono.Runtime"
The Assembly.GetExecutingAssembly().Location return the CLR assembly and not
the "real"
execuatble
-> thanks for help
Andreas Otto
--
View this message in context: http://www.nabble.com/name-of-executable-tp23763825p23763825.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list