Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. qlocalserver
    Log in to post

    • SOLVED Wrong Implementation of single instance application
      General and Desktop • ipc qlocalsocket qlocalserver qtsingleapplica • • AyushExel204  

      12
      0
      Votes
      12
      Posts
      2658
      Views

      sender() returns the pointer to the object which emitted the signal (http://doc.qt.io/qt-5.6/qobject.html#sender). In this case it is a pointer to QLocalSocket, so you need to cast it from QObject* to QLocalSocket* using qobject_cast
    • QLocalSocket: Send data that large 4096 bytes
      General and Desktop • windows data ipc qlocalsocket data loss qlocalserver • • lolopolosko  

      8
      0
      Votes
      8
      Posts
      4187
      Views

      @LuGRU Why not to use: QSharedMemory and You don't need to worry about message formatting. Because I run process with different account. First process run from System account and second from local account When I read SharedMemory in another process I have error "QSharedMemory handle doesn't exist"