473,507 Members | 3,706 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

communication between 2 diff applications

Hello NG,

My scenario is --
-----------------------------------
Application A (AppA)
Application B (AppB)

AppA & B are accessing same DB. AppA might start first or AppB might get
started first, depending on user's will. Few bin files are shared between
them. Basically AppA & B are part of a big suite of application.

My use is --
----------------------------------
AppA starts and changes information according to the actions performed on
AppBs. Also AppB might do the same.

My problem is --
----------------------------------
How to make AppA & B communicate events (real time) and information between
each other?

What I am not looking is--
----------------------------------
A solution that deals with sockets etc. Both A & B are running on same
machine so socket solution do not feel like a great solution (but I have
thought about it). Also sharing files is not a good idea. I am totally not
looking for any COM/DCOM related solutions as well. I am not familier with
remoting but could be a solution (maybe !!).
Thanks,
Po
Nov 17 '05 #1
7 2846
Hi Po
You have rejected most of the options, but there are still other
options available which will help you to send and receive notification
between two different application...

One of such method is using APIs...
Use SendMessage Api to send message to the another window... and
Receive the send message in the wndproc of the another application...

Hope this will help you out...

--
M. Aamir Maniar

Nov 17 '05 #2
Hi,

What you are looking for is Interprocess Communication...
Take a look at this: http://www.habjansoftware.com/ipc_library.aspx

This is IPC Library for .NET, it supports Named Pipes, Shared Memory and
Shared Events.

Regards,
Josip Habjan
"Pohihihi" <po******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
Hello NG,

My scenario is --
-----------------------------------
Application A (AppA)
Application B (AppB)

AppA & B are accessing same DB. AppA might start first or AppB might get
started first, depending on user's will. Few bin files are shared between
them. Basically AppA & B are part of a big suite of application.

My use is --
----------------------------------
AppA starts and changes information according to the actions performed on
AppBs. Also AppB might do the same.

My problem is --
----------------------------------
How to make AppA & B communicate events (real time) and information
between each other?

What I am not looking is--
----------------------------------
A solution that deals with sockets etc. Both A & B are running on same
machine so socket solution do not feel like a great solution (but I have
thought about it). Also sharing files is not a good idea. I am totally not
looking for any COM/DCOM related solutions as well. I am not familier with
remoting but could be a solution (maybe !!).
Thanks,
Po

Nov 17 '05 #3
any examples?
"Aamir" <aa**********@countrywide.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi Po
You have rejected most of the options, but there are still other
options available which will help you to send and receive notification
between two different application...

One of such method is using APIs...
Use SendMessage Api to send message to the another window... and
Receive the send message in the wndproc of the another application...

Hope this will help you out...

--
M. Aamir Maniar

Nov 17 '05 #4
thanks but I will rather like to learn the process and implement it. More
over seems like networking is used in the end of your product. That was one
of the thing I list I don't want to do.
"Josip Habjan" <jh*****@SPAM-OFF.net.hr> wrote in message
news:dj**********@magcargo.vodatel.hr...
Hi,

What you are looking for is Interprocess Communication...
Take a look at this: http://www.habjansoftware.com/ipc_library.aspx

This is IPC Library for .NET, it supports Named Pipes, Shared Memory and
Shared Events.

Regards,
Josip Habjan
"Pohihihi" <po******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
Hello NG,

My scenario is --
-----------------------------------
Application A (AppA)
Application B (AppB)

AppA & B are accessing same DB. AppA might start first or AppB might get
started first, depending on user's will. Few bin files are shared between
them. Basically AppA & B are part of a big suite of application.

My use is --
----------------------------------
AppA starts and changes information according to the actions performed on
AppBs. Also AppB might do the same.

My problem is --
----------------------------------
How to make AppA & B communicate events (real time) and information
between each other?

What I am not looking is--
----------------------------------
A solution that deals with sockets etc. Both A & B are running on same
machine so socket solution do not feel like a great solution (but I have
thought about it). Also sharing files is not a good idea. I am totally
not looking for any COM/DCOM related solutions as well. I am not familier
with remoting but could be a solution (maybe !!).
Thanks,
Po


Nov 17 '05 #5
no problem.

....btw. i did not use any networking, i used only API's (CreateNamedPipe,
CreateFile, CreateFileMapping , CreateEvent, CreateMutex, CreateSemaphore
and so on....)...

Regards,
Josip Habjan
"Pohihihi" <po******@hotmail.com> wrote in message
news:ul**************@TK2MSFTNGP09.phx.gbl...
thanks but I will rather like to learn the process and implement it. More
over seems like networking is used in the end of your product. That was
one of the thing I list I don't want to do.
"Josip Habjan" <jh*****@SPAM-OFF.net.hr> wrote in message
news:dj**********@magcargo.vodatel.hr...
Hi,

What you are looking for is Interprocess Communication...
Take a look at this: http://www.habjansoftware.com/ipc_library.aspx

This is IPC Library for .NET, it supports Named Pipes, Shared Memory and
Shared Events.

Regards,
Josip Habjan
"Pohihihi" <po******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
Hello NG,

My scenario is --
-----------------------------------
Application A (AppA)
Application B (AppB)

AppA & B are accessing same DB. AppA might start first or AppB might get
started first, depending on user's will. Few bin files are shared
between them. Basically AppA & B are part of a big suite of application.

My use is --
----------------------------------
AppA starts and changes information according to the actions performed
on AppBs. Also AppB might do the same.

My problem is --
----------------------------------
How to make AppA & B communicate events (real time) and information
between each other?

What I am not looking is--
----------------------------------
A solution that deals with sockets etc. Both A & B are running on same
machine so socket solution do not feel like a great solution (but I have
thought about it). Also sharing files is not a good idea. I am totally
not looking for any COM/DCOM related solutions as well. I am not
familier with remoting but could be a solution (maybe !!).
Thanks,
Po



Nov 17 '05 #6
Hi,

An annoying issue in .NET 1.1 is the lack of broad possibilities to do
IPC. MS seemed to take note and solved it in .NET 2.

An interesting solution is using the message WM_COPYDATA, more info at:

http://www.codeproject.com/csharp/wm_copydata_use.asp
http://msdn.microsoft.com/library/de...m_copydata.asp

Regards,
Sebastian Wain
--
http://www.nektra.com
Pohihihi wrote:
thanks but I will rather like to learn the process and implement it. More
over seems like networking is used in the end of your product. That was one
of the thing I list I don't want to do.
"Josip Habjan" <jh*****@SPAM-OFF.net.hr> wrote in message
news:dj**********@magcargo.vodatel.hr...
Hi,

What you are looking for is Interprocess Communication...
Take a look at this: http://www.habjansoftware.com/ipc_library.aspx

This is IPC Library for .NET, it supports Named Pipes, Shared Memory and
Shared Events.

Regards,
Josip Habjan
"Pohihihi" <po******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
Hello NG,

My scenario is --
-----------------------------------
Application A (AppA)
Application B (AppB)

AppA & B are accessing same DB. AppA might start first or AppB might get
started first, depending on user's will. Few bin files are shared between
them. Basically AppA & B are part of a big suite of application.

My use is --
----------------------------------
AppA starts and changes information according to the actions performed on
AppBs. Also AppB might do the same.

My problem is --
----------------------------------
How to make AppA & B communicate events (real time) and information
between each other?

What I am not looking is--
----------------------------------
A solution that deals with sockets etc. Both A & B are running on same
machine so socket solution do not feel like a great solution (but I have
thought about it). Also sharing files is not a good idea. I am totally
not looking for any COM/DCOM related solutions as well. I am not familier
with remoting but could be a solution (maybe !!).
Thanks,
Po



Nov 17 '05 #7
Thanks Raul.
"(Sebastian) Raul Wain" <se************@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hi,

An annoying issue in .NET 1.1 is the lack of broad possibilities to do
IPC. MS seemed to take note and solved it in .NET 2.

An interesting solution is using the message WM_COPYDATA, more info at:

http://www.codeproject.com/csharp/wm_copydata_use.asp
http://msdn.microsoft.com/library/de...m_copydata.asp

Regards,
Sebastian Wain
--
http://www.nektra.com
Pohihihi wrote:
thanks but I will rather like to learn the process and implement it. More
over seems like networking is used in the end of your product. That was
one
of the thing I list I don't want to do.
"Josip Habjan" <jh*****@SPAM-OFF.net.hr> wrote in message
news:dj**********@magcargo.vodatel.hr...
> Hi,
>
> What you are looking for is Interprocess Communication...
> Take a look at this: http://www.habjansoftware.com/ipc_library.aspx
>
> This is IPC Library for .NET, it supports Named Pipes, Shared Memory
> and
> Shared Events.
>
> Regards,
> Josip Habjan
>
>
> "Pohihihi" <po******@hotmail.com> wrote in message
> news:%2******************@TK2MSFTNGP15.phx.gbl...
>> Hello NG,
>>
>> My scenario is --
>> -----------------------------------
>> Application A (AppA)
>> Application B (AppB)
>>
>> AppA & B are accessing same DB. AppA might start first or AppB might
>> get
>> started first, depending on user's will. Few bin files are shared
>> between
>> them. Basically AppA & B are part of a big suite of application.
>>
>> My use is --
>> ----------------------------------
>> AppA starts and changes information according to the actions performed
>> on
>> AppBs. Also AppB might do the same.
>>
>> My problem is --
>> ----------------------------------
>> How to make AppA & B communicate events (real time) and information
>> between each other?
>>
>> What I am not looking is--
>> ----------------------------------
>> A solution that deals with sockets etc. Both A & B are running on same
>> machine so socket solution do not feel like a great solution (but I
>> have
>> thought about it). Also sharing files is not a good idea. I am totally
>> not looking for any COM/DCOM related solutions as well. I am not
>> familier
>> with remoting but could be a solution (maybe !!).
>>
>>
>> Thanks,
>> Po
>>
>
>

Nov 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4086
by: MatthewRoberts | last post by:
Howdy All, I am having difficulty with two-way communication across AppDomains in an attempt to dynamically script applications. Everything works as expected, except when using ByRef parameters....
1
8986
by: Praveen | last post by:
Hi, I have installed WebSphere Portal on AIX and connected to DB2 on a remote machine, Getting the followin errors when trying to get the values from database thru applications installed on...
3
5918
by: james | last post by:
Hallo! How do I realise the communication between two applications that run two diffenrent processes, in a way to exchange some information? Thanks a lot for helping James
9
6501
by: Ching-Lung | last post by:
Hi all, I try to create a tool to check the delta (diff) of 2 binaries and create the delta binary. I use binary formatter (serialization) to create the delta binary. It works fine but the...
7
1731
by: [Gauthier] | last post by:
Hello, I've a simple question: On a server that run multiple asp.net HttpApplication, is there any way with the asp.net framework to exchange data between different application? I basically...
4
4934
by: Andreas Kasparek | last post by:
Hola! I'm preparing my master thesis about a XML Merge Tool implementation and was wondering if there is any open standard for XML diff regarding topics like: - is a diff result computed on...
4
2069
by: batista | last post by:
Hello all, I need suggestions and possibly solutions to the problem stated below: I have an application written purely in .NET ( Windows Form Application) and another application that is...
9
10712
by: cnixuser | last post by:
Hi, I was wondering if someone could give me some general pointers about creating client server applications that would be able to communicate with each other over not just the LAN which I am able...
6
3280
by: Aaron Gray | last post by:
Hi, I am working on an HTML WYSISYG Wiki and need to display a diff page like WikiPedia does if two people edit a file at the same time to give the second user the diff. Basically with additions...
0
7221
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5039
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3190
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1537
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.