× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>1. Save current user profile
>2. Get new user id handle
>3. Switch to new user id handle
>4. Do stuff
>5. Get handle of original user id
>6. Switch to handle of original user id
>7. Release handle of original user id

David,
In order to not run out of handles, it's better if you get the original ID's
handle first (at 0) and then get the new ID's handle.  That way you can
still switch back to the original if a problem occurs anywhere farther down.
I would:

0. Get current ID handle
1. Save current user profile
2. Get new user id handle
3. Switch to new user id handle
4. Do stuff
5. Switch to handle of original user id
6. Release new ID handle
7. Release handle of original user id
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.