I would like to test transmission of datas between two exe with shared memory (CreateFileMapping, OpenFileMapping, MapViewOfFile, UnmapViewOfFile).

I can do it work with strings (I can send a string and I can receive it in the second exe).

But now, I want to improve it : I would like to transmit 'objects' (things that are called 'structure' in C) like

DEFINE CLASS test AS custom
    toto = "toto"
    tata = "tata"
    tutu = -2
    titi = .T.
ENDDEFINE && test

XML seems to be my friend for that. I found on Ed's download page "ctxml.prg" that works with object built with SCATTER NAME but not with an instance of the 'test' class above.

1) has anyone already done this and can give me help and ... encouragement ;-)

2) is there a tool that can translate properties of classes to XML and 
vice-versa ?

The Foxil

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to