Re: problem of serialization
Do you write your BYTE* pointer to file ?
I hope no.
I suppose you use CArchive with a memory file which is shared between client and server, isn't it?
Beware to use shared memory with semaphores.
hope it helps.
C++ developer
Faculté de Médecine
27 Bd Jean Moulin
13385 Marseille cedex 05
Re: problem of serialization
I do not send a pointer , I mind the content of a
BYTE *pointer
Is it posible to share memory file using CArchive between two applications if they aren' t in the same computer
if yes , How!
Re: problem of serialization
Well, packages like Corba are Client Server specialized.
I'm not expert with it but friends of mine are.
So I don't know if you can use CArchive this way.
But if clients and server are running on the same computer, there is a way to share memory among clients and, why not with the server ?
I'm not sure in this case, that CArchive is the solution (probably not).
I would try to read documentation about DCOM or ActiveX components that might solve the problem.
I'm sorry but I can't help you much about that.
Cheers,
Bruno
C++ developer
Faculté de Médecine
27 Bd Jean Moulin
13385 Marseille cedex 05
Re: problem of serialization
I would suggest using COM (or CORBA) for client-server data exchange and communication, CArchive serialisation is more appropriate for object persistence within a single application.
Dave