Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how comunicate datas between programs?

Status
Not open for further replies.

Robertge

Programmer
Jul 4, 2002
18
IT
Hi.
I need to pass some data (string) from one program to another.(and viceversa)

I tried with ShellExecute but it seems is not possible to pass more then 400 bytes (inside the lparam).

Reading and searching I saw that the best way is working with activex and class... but for me is a new world.

I tried and tried but nothing, my applications don't comunicate.

So, if is possible, I need a simple example for passing data between two different program using Activex

Thanks to everybody

All the best from Robert
 
There have been several posts over the past couple of weeks regarding inter-process communication using ActiveX.

There was another one that mentioned using Windows SendMessage API to pass data too. I can't remeber who wrote it, but I printed the quoted Microsoft article - look up Q176058 on the MSDN website.
 
Here's the a thread that discusses ways of doing this, including at least one full code example using ActiveX
 
Er...and here's the thread link I cleverly managed to not include...

thread222-298356
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top