|
Posted by Tim Wallace on March 23, 2006, 12:23 am
Please log in for more thread options Riki:
Thanks for your reply, but I've coded this app in C#. I don't see how the
C++ wizard applies. Could you explain further?
Tim
> Tim Wallace wrote:
>> I have an application written in C# for Smartphone. I was (obviously)
>> mistaken in thinking that if my app is running and I press the Home key
>> and then click the icon to start my app again, that the OS would switch
>> to the already-running application. How does one accomplish this
>> singleton on a Smartphone (mutex, something else)? This is unknown
>> territory to me on Smartphone.
>
> the c++ wizard uses a names mutex to detect previous instances, then
> switches to the old instance using SetForegroundWindow();
>
> riki
>
> ----
> The history of liberty is a history of the limitation of governmental
> power, not the increase of it.-- Woodrow Wilson, 1912
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> Latest Betas have WM5 layout and speed dial support
|