By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,669 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

Start Process

P: n/a
Dear 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
Feb 13 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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

Feb 13 '06 #2

P: n/a
Hi Kris,
unfortunately AppDomain is not enougth, since I mix native and managed
code.(And statics of native code are not replicated)
"Kris" <kr***********@gmail.com> schrieb im Newsbeitrag
news:11*********************@g43g2000cwa.googlegro ups.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

Feb 13 '06 #3

P: n/a
CMM
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."
--
-C. Moya
www.cmoya.com
Feb 13 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.