Perhaps someone can point me in the right direction in finding code, or
finding reading information on how to pass information (ie. ArrayList,
string, etc) between two running window applications, that won't
neccessarily be on the same machine.
This will be my first attempt at this, and I'm not sure if this falls under
COM, or ActiveX.
Any and all help is appreciated.
Thanks in advance.
Mike
Nov 29 '07
11 2002
Hi Willy,
its been a long time when i used shared memory. I am sure
this is also a very fas way to communicate. I am not a friend
of hidden windows, so i even dont mentioned that. I cant
remember how fast it was compared to WM_COPYDATA.
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Kerem,
While Sendmessage/WM_COPYDATA is really fast when it comes to small messages
(max. 2Kb), shared memory is a clear winner when you have to deal with
somewhat larger data messages (>8Kb ).
Using WCF (NetNamedPipeBi nding ) in a service application I was able to pass
data structures of 8Kb at a rate of ~70Mb/sec. The highest rate I measured
using WM_COPYDATA was ~55Mb/sec using 2Kb messages.
Note that whether you like hidden windows or not, Sendmessage/WM_COPYDATA
needs a window to send your message at, in a Windows Service (or Console
application) there is no other option, after all that's what COM uses under
the covers too.
Willy.
"Kerem Gümrükcü" <ka*******@hotm ail.comwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Hi Willy,
its been a long time when i used shared memory. I am sure
this is also a very fas way to communicate. I am not a friend
of hidden windows, so i even dont mentioned that. I cant
remember how fast it was compared to WM_COPYDATA.
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied." This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: TempMan |
last post by:
I want this text field to always display a number variable.
The variable "num" is defined in the head, how can I get a text box to
display this varibale??
<input name="Balance" type="text" value="num" size="8" maxlength="8">
Cheers
|
by: Hamed |
last post by:
Hello
I have employed as a developer in a software company that its team uses
FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to
migrate to VS.NET. There is a project modified that is to upgrade a big,
more than 100,000 lines DOS based program developed by FoxPro 2.x to .NET
platform. The design is as previous and the implementation will be
reprogrammed. As a duty in my job I should find an answer about the
|
by: wayne |
last post by:
Hey there... I'm having some problems passing url parameters with an
open.window command. I'm not terribly familiar with java script but
here is the code below.
When executed it opens the window properly but does not pass the
parameter.
(this is part of a coldfusion template)
<a href="##"
|
by: Simon Harvey |
last post by:
Hi,
In my application I get lots of different sorts of information from
databases. As such, a lot of information is stored in DataSets and DataTable
objects.
Up until now, I have been passing around chunks of data in
DataTables/DataSets, simply because that was the format that they were in
when the data was taken from the database. Now, I know this maybe a pretty
silly question with a standard "it depends" answer, but I'm going to...
|
by: Mike Fellows |
last post by:
Ok, im not sure if this is at all possible and if it is how i go about it is
beyond me
i have a piece of client side code that requires a piece of data from the
server side (an ID number in this case)
how can i pass the data from one side to the other, or retrieve it from the
webform on the client side?
i hope ive explained this properly
| |
by: ruca |
last post by:
Hi gurus,
I have a little complex question for you all, that I hope you can help me.
I have a windows application that comunicate with another dll's
applications. My Win app have some menus (like Outlook bar) and each menu
can have many icons or function as you want. This icons can call forms from
any dll app that I have too. Ok, so far so good.... Know I want to have a
form that have a Web Browser control for calling a page that I made...
|
by: Jaime Stuardo |
last post by:
Hi all..
I have created a business logic component that is used from my ASP.NET
webform. It works, but connection string to the database is hard coded, as
in this method :
public DataSet GetCategories()
{
SqlConnection conn = new SqlConnection("Data Source=DEVSERVER;Initial
Catalog=XXXX;User ID=X;Password=Y");
|
by: hl |
last post by:
Hi,
I'm a beginner and need a little help with getting data back from a web
service.
I am using VB.Net and have added a web reference to a Wsdl that was
provided to me.
My reference.vb file that was generated has the following code at the end.
<System.Xml.Serialization.SoapTypeAttribute("Map",
|
by: anthony |
last post by:
Hi,
I have searched this news group for ways to pass data between two vb.net
application, there are a few come up, can anyone list the pros and cons or
the best solution, I am using 2003 but I don't want to use database for the
two applications to exchange info. So far, I have seen Windows Message,
Hooks, SystemWide variable DLL. The two applications can be run in XP and
XP embedded. Which one of these methods requires the least...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |