Results 1 to 12 of 12

Thread: How do I read shared memory data written by Qt using boost ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: How do I read shared memory data written by Qt using boost ?

    Quote Originally Posted by rawfool View Post
    3. Expecting the Boost program to display size (std::cout << "Shared Mem Size: " << size << std::endl; ) and string (std::cout << i2 << std::endl;). But no result, in cygwin the promt appears again.
    If you don't get the size output, doesn't that mean that shared_memory_object::get_size() has returned false?
    Wouldn't that indicate that you didn't access the shared memory correctly?

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    rawfool (17th May 2013)

Similar Threads

  1. How to read value which written inside the QLineEdit
    By RENOLD in forum Qt Programming
    Replies: 4
    Last Post: 16th February 2012, 14:59
  2. shared memory - the right way to do it
    By fearu in forum Newbie
    Replies: 0
    Last Post: 27th October 2011, 00:46
  3. Replies: 1
    Last Post: 18th October 2010, 17:07
  4. QPixmap: X11 "memory leak" due to shared pixmap data?
    By chezifresh in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2009, 20:53
  5. QT shared memory
    By sweetsubha2020 in forum Qt Programming
    Replies: 2
    Last Post: 18th January 2009, 06:30

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.