Hi Pablo, Thanks for spotting this bug. I don't have a test environment here so could you please test if the following change works for you too?
entry.Invoke (null, null); I have attached a patch to change this line. How is the entry point of your service defined? My services always worked with this implementation of mono-service. The Main function looks like: static void Main() Joerg. 2006/6/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Anyway, it seems there is a bug in mono-service. Whenever it tries to launch a service application it raises an exception in mono-service.cs at method StartService. The code is doing something like: string [] service_args = new string [0]; entry.Invoke(null, service_args); return 0; And it raises the exception I posted in a previous email. Doing the following: string [] service_args = new string [0]; object[] obj = new object[1]; obj[0] = service_args; entry.Invoke(null, obj); return 0; The problem seems to be solved. I replaced the mono-service.exe on my Fedora4/mono-1.1.15 and now it works. Regards, pablo
mono-service.patch
Description: Binary data
_______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
