send a message from a managed C# program to an unmanaged program

  • Thread starter Thread starter Romain TAILLANDIER
  • Start date Start date
R

Romain TAILLANDIER

hi group.

I have a program that get some data, parse it and then resend it in a
standard format, each time.
I develop this application in C#.
Then i have to send the fomatted data to an other program that my customer
develop, in unmanaged language (WinDev which i don't know about.)
the the formated data may be text or xml.
assuming that my customer's program never know when i will send the data, it
have no other choice that listen, and treat it when it occurs.

So how can i send an unmanaged message ?
And how my customer will listen it ??

any idea wellcome
thank you for your help.
ROM
 
Hi,

I don't know that the unmanaged code will do hand shacking with managed.

You can get something as

1. Write your unmanaged code to check a folder with some interval. When a
file (either xml / text file) the unmanaged code should get the data from the
file.
2. write your managed code to put the file in that folder.


-rajaManickam
 
Huh. This WinDev seems like an interesting thing, thanks for the mention of
it.

In what I see on their site "Windev does .Net" (what exactly that means is a
good question, maybe it interprets to C# IL?), anyway, since it does "do
..Net" then woudl it be possible for you to ask the program vendor to provide
you with a .Net callable wrapper so that your mainstream apps can
communicate with their utility app? It might benefit other customers of
theirs as well as satifying your immediate needs and thus could increase
their sales ... but you don't know if you don't ask.

http://www.pcsoft.fr/us/windev/broch8/newfeatures.html

Robert Smith
Kirkland, WA
www.smithvoice.com
 
Back
Top