Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]QSharedMemory: unable to lock on Windows 7 under debug mode
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]QSharedMemory: unable to lock on Windows 7 under debug mode

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Peppy
    wrote on last edited by
    #1

    Well, title describes my problem very exactly...when I built my application with this tut: "http://www.qtcentre.org/wiki/index.php?title=SingleApplication":http://www.qtcentre.org/wiki/index.php?title=SingleApplication . It wrote: @QSharedMemory::create: unable to lock@

    Where could/should be problem?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      Are you using the tutorial code as-is (if so, which example?), or are you using code you've based off of the tutorial?

      Does it give you errors under release mode?

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Peppy
        wrote on last edited by
        #3

        First one type of class (first example). It's the same in the Release mode...

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Peppy
          wrote on last edited by
          #4

          EDIT: My fault. It was missing one line...

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved