wxPILS: previous running instance
Ole Nielsby
ole.nielsby at tekare-you-spamminglogisk.dk
Wed Aug 1 08:14:05 PDT 2007
I'd like to be able to open several documents/programs with my app
so that they use the same wxPILS process if possible.
Should the first wxPILS process create a wxServer which subsequent
processes will then try to connect to by a wxClient - or is this overkill?
Is there a simpler way which I have overlooked?
Does the Document/view model provide a ready-made solution for
this? (I haven't found it there but I may have looked the wrong places.)
(In my old Win32 PILS, a newly started PILS process will check for
existing PILS windows and try to transfer the command line to them
so that the old PILS process can parse it and open the new document
or do whatever is required. But I don't think wxWidgets has the
functions required for this - and I'm not sure it's the best way.)
More information about the wx-users
mailing list