[interfacekit] Re: Port Messaging

>       write_port(serverport,CREATE_APP,createmsg,sizeof(*createmsg)); 

You cannot do that ("createmsg,sizeof(*createmsg)"), you  need
to flatten the message, send it, and unflatten it server_side...

The whole process if of course encapsulated in the
BMessenger class..

As Dianne said recently most messaing to the app_server is
not BMEssage based, however.  Though you'd entitled to answer
by pointing out that this paprticular kind of message (CREATE_APP)
is not a bottleneck/CPU-intensive one.


Cedric.

--
http://cdegea.free.fr/ | BeDev E-16870
"One thing to rule them all" -- UserFriendly.org, 20011021



Other related posts: