I am trying to use QLocalServer in service application on win7. QLocalServer's windows implementation uses named pipes, and since winVista try to access it from GUI causes error. There was even QT bug about it, but trolls closed it without any fixing. So my question is: Is there a way to change security attributes of already created in service named pipe to make it accessible from gui applications? Or the only way is copypaste QT QLocalServer object and add security attributes to its code which creates pipe? I grant access to pipes handles with
template <class To, class From> inline To* d_ptr(From* ptr)
{
return (To*)QObjectPrivate::get(ptr);
}
...
QLocalServerPrivate* p=d_ptr<QLocalServerPrivate>(this);
But what to do with them now?