|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Start ProcessDear all,
is it possible to create and start a class in a new process namespace. What I need is something like: dim _p as new Process((new myclass).Start) But I can't find right syntax for that. Thanks a lot, Boni Dear Boni,
Dot Net applications would be created in a ApplicationDomain. If you want to create your application in new application domain, you can use this. Dim ad as AppDomain = AppDomain.CreateDomain("MyAppDomain") Load your objects in the new AppDomain. cheers, Kris Hi Kris,
unfortunately AppDomain is not enougth, since I mix native and managed code.(And statics of native code are not replicated) Show quoteHide quote "Kris" <krishna.bi***@gmail.com> schrieb im Newsbeitrag news:1139844379.036335.94570@g43g2000cwa.googlegroups.com... > Dear Boni, > > Dot Net applications would be created in a ApplicationDomain. If you > want to create your application in new application domain, you can use > this. > > Dim ad as AppDomain = AppDomain.CreateDomain("MyAppDomain") > Load your objects in the new AppDomain. > > > cheers, > Kris > Sounds to me like what you're really looking for is simulating COM's ActiveX
EXE's (where you could get an object running "out-of-process'). This isn't as intuitive as you would think in .NET. AFAIK, the only way to accomplish it is via Remoting... Remoting doesn't have to be "between machines!" I don't know if *easy* "Out-proc Servers" is finally a feature in .NET 2.0. I guess nobody misses it. I do.... And Microsoft does too considering Visual Studio itself (even 2005) is still one big COM application composed of a zillion COM components. The day Visual Studio.NET is actually WRITTEN in .NET is the day you know .NET has matured to "First Class."
BackGroundWorker.ProgressChanged "Cross-thread operation not valid" at 2nd/3th/... progress
Local Machine policy exceptions datagrid entry with no db components control disable byref and byvalue Looking for graphic controls to use in .NET Open a text file and into an array ?? Must I change the property in 26 projects or is there a soultion level way of doing it Usual Databinding Question - UNusual Requirements compiles as a form -- but not as a control |
|||||||||||||||||||||||