public RunManager(ReadStringRequestDelegate ReadStringRequest) { this.ReadStringRequest = ReadStringRequest; EventedStreamReaderList = new PascalABCCompiler.EventedStreamReaderList(StringRecived); StackOverflowExceptionText = PascalABCCompiler.StringResources.Get("!STACK_OVERFLOW_EXCEPTION_TEXT"); StackOverflowExceptionType = "StackOverflowException"; //ReadSignalList = new EventedEventWaitHandleList(ReadSignal); /* * string name_format = ".\\" + Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.FullyQualifiedName) + "{0}"; * string name; * while (MessageQueue == null) * { * name = string.Format(name_format, i); * if (!System.Messaging.MessageQueue.Exists(name)) * MessageQueue = new System.Messaging.MessageQueue(name); * i++; * } */ }
public RunManager(ReadStringRequestDelegate ReadStringRequest) { this.ReadStringRequest = ReadStringRequest; EventedStreamReaderList = new PascalABCCompiler.EventedStreamReaderList(StringRecived); StackOverflowExceptionText = PascalABCCompiler.StringResources.Get("!STACK_OVERFLOW_EXCEPTION_TEXT"); StackOverflowExceptionType = "StackOverflowException"; //ReadSignalList = new EventedEventWaitHandleList(ReadSignal); /* string name_format = ".\\" + Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.FullyQualifiedName) + "{0}"; string name; while (MessageQueue == null) { name = string.Format(name_format, i); if (!System.Messaging.MessageQueue.Exists(name)) MessageQueue = new System.Messaging.MessageQueue(name); i++; } */ }