> On Mon, Jan 31, 2005 at 09:32:14PM +0800, James Matthew Miraflor wrote: > I just want to ask, can I pass a pointer to a structure using pipes in > C. I really want to pass the pointer to a head of a linked list, but I > get nothing.
pipe wont work.. You'll need a absolute memory address, youll need to re-calculate the offset...its like hacking off another program's memory or device DMA but you might still get a protection error is the thread is running in protected mode Try using C++/ACE library they use message space for that.. i think theres also a JACE for allowing C++/ACE and J++/ACE interopt (http://www.cs.wustl.edu/~doc/RandD/ACE/Java/) ;p im sorry i forgot that book we were using for ACE and its been a while since i used that library. good luck. -- - Godie's MoBLOG, check-out: http://fingerapps.com/desk/?q=moblog - Home of Friendster Mobile (w/Webcam) http://fingerapps.com/desk/ - Friendster Mobile is here! Text FRIENDSTER for more info or view our greetings (see if your there!), text FRIENDSTER GREETS and send to 2276 for Globe/Sun and 227 for Smart/TnT. ---- Roger P. Filomeno *Systems Developer / R&D - Finger Apps Inc, http://fingerapps.com *Systems Developer - Entertainment Gateway Group, http://egg.ph *Systems Developer - Friendster Mobile Philippines, http://friendster.com *Registered Linux User # 367694 *VOIP # 7041530 (InPhonex) -- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
