wxSingleInstanceChecker not work :(
..::pytajnik
pytajnik at poczta.niestety.nie.dziala.cn
Tue Aug 1 02:50:51 PDT 2006
Vadim Zeitlin wrote:
> On Mon, 31 Jul 2006 23:33:30 +0200 "..::pytajnik" <pytajnik at poczta.niestety.nie.dziala.cn> wrote:
>
>
>>137: bool MyApp::OnInit()
>>138: {
>>139: const wxString name = wxString::Format(".bib-%s", GetUserId().c_str());
>>140: m_SingleInstance = new wxSingleInstanceChecker(name);
>
> It'd better be a pointer. C++ is not like Java and objects and pointers
> are different.
thx. it working but not good. The lock file is not making (/.bib-number
the / is obligarory? ). But it generaly works. thanks
More information about the wx-users
mailing list