HighTechTalks DotNet Forums  

data between applications.

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss data between applications. in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ville Pirhonen
 
Posts: n/a

Default data between applications. - 07-02-2003 , 07:27 AM






here is the scenario:
I have windows service and "standard" windows forms applications. what kind
of methods there is to share data between those applications? Applications
will be in same machine, so any remoting is futile. Are there similar stuff
like shared memories in linux in .Net framework? I would like to chance just
some numeric data between applications and if possible send objects. How
could this be done?

Thanks for your efforts.

Best regards
Ville Pirhonen



Reply With Quote
  #2  
Old   
David Browne
 
Posts: n/a

Default Re: data between applications. - 07-02-2003 , 01:18 PM







"Ville Pirhonen" <ville.pirhonen (AT) profimill (DOT) com> wrote

Quote:
here is the scenario:
I have windows service and "standard" windows forms applications. what
kind
of methods there is to share data between those applications? Applications
will be in same machine, so any remoting is futile.
On the contrary, remoting is exactly the ticket anytime you need to
communicate from one AppDomain to another.

Other options include MSMQ, sockets, HTTP etc.

David




Reply With Quote
  #3  
Old   
Michael Giagnocavo [MVP]
 
Posts: n/a

Default Re: data between applications. - 07-03-2003 , 10:11 AM



You could also use DDE or shared memory. But, you'll need to look
into the Platform SDK and use Platform Invocation. Remoting is
probably the nicest way to go unless you need to work on lots of data
and need the extra performance that shared memory could give.
-mike
MVP

"Ville Pirhonen" <ville.pirhonen (AT) profimill (DOT) com> wrote

Quote:
here is the scenario:
I have windows service and "standard" windows forms applications.
what kind
of methods there is to share data between those applications?
Applications
will be in same machine, so any remoting is futile. Are there
similar stuff
like shared memories in linux in .Net framework? I would like to
chance just
some numeric data between applications and if possible send objects.
How
could this be done?

Thanks for your efforts.

Best regards
Ville Pirhonen





Reply With Quote
  #4  
Old   
Ville Pirhonen
 
Posts: n/a

Default Re: data between applications. - 07-04-2003 , 08:28 AM



The extra perfonmance benefit from shared memory would be very nice. How can
I use those in VB.NET? Don't I need use kernel32 functions, how can I import
them in VB?

Thanks again

Ville Pirhonen


"Michael Giagnocavo [MVP]" <mggUNSPAM (AT) Atrevido (DOT) net> wrote

Quote:
You could also use DDE or shared memory. But, you'll need to look
into the Platform SDK and use Platform Invocation. Remoting is
probably the nicest way to go unless you need to work on lots of data
and need the extra performance that shared memory could give.
-mike
MVP

"Ville Pirhonen" <ville.pirhonen (AT) profimill (DOT) com> wrote in message
news:OXaU40IQDHA.3088 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
here is the scenario:
I have windows service and "standard" windows forms applications.
what kind
of methods there is to share data between those applications?
Applications
will be in same machine, so any remoting is futile. Are there
similar stuff
like shared memories in linux in .Net framework? I would like to
chance just
some numeric data between applications and if possible send objects.
How
could this be done?

Thanks for your efforts.

Best regards
Ville Pirhonen







Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.