Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding and removing imagelist from CListCtrl Pin
Alex_Y16-Jul-05 14:43
Alex_Y16-Jul-05 14:43 
GeneralRe: Adding and removing imagelist from CListCtrl Pin
Dale Fugier18-Jul-05 5:58
Dale Fugier18-Jul-05 5:58 
GeneralRe: Adding and removing imagelist from CListCtrl Pin
Alex_Y18-Jul-05 8:04
Alex_Y18-Jul-05 8:04 
GeneralAdd a CTreeCtrl to a CTabCtrl Pin
adonisv15-Jul-05 12:44
adonisv15-Jul-05 12:44 
GeneralAnother worker thread question Pin
Tom Wright15-Jul-05 9:35
Tom Wright15-Jul-05 9:35 
GeneralRe: Another worker thread question Pin
Blake Miller18-Jul-05 5:18
Blake Miller18-Jul-05 5:18 
GeneralDuplicateToken & DuplicateTokenEx Pin
Blake Miller15-Jul-05 6:55
Blake Miller15-Jul-05 6:55 
GeneralRe: DuplicateToken & DuplicateTokenEx Pin
Jose Lamas Rios15-Jul-05 7:51
Jose Lamas Rios15-Jul-05 7:51 
Blake Miller wrote:
Okay, so with the DuplicateToken, do you need to close the returned token handle from it as well?

Seems so. Here's some sample code from MS (is written for .NET but using the Win32 API), in which CloseHandle is used on a handle returned by DuplicateToken...
WindowsIdentity.Impersonate Method[^]


--
jlr
http://jlamas.blogspot.com/[^]
GeneralRe: DuplicateToken & DuplicateTokenEx Pin
Blake Miller15-Jul-05 8:32
Blake Miller15-Jul-05 8:32 
GeneralRemove duplicates Pin
Andrew Admire15-Jul-05 6:38
Andrew Admire15-Jul-05 6:38 
GeneralRe: Remove duplicates Pin
Blake Miller15-Jul-05 6:51
Blake Miller15-Jul-05 6:51 
GeneralRe: Remove duplicates Pin
Andrew Admire15-Jul-05 6:59
Andrew Admire15-Jul-05 6:59 
GeneralRe: Remove duplicates Pin
Blake Miller15-Jul-05 7:09
Blake Miller15-Jul-05 7:09 
GeneralRe: Remove duplicates Pin
Andrew Admire15-Jul-05 7:27
Andrew Admire15-Jul-05 7:27 
GeneralRe: Remove duplicates Pin
Blake Miller15-Jul-05 7:34
Blake Miller15-Jul-05 7:34 
GeneralRe: Remove duplicates Pin
Jose Lamas Rios15-Jul-05 7:32
Jose Lamas Rios15-Jul-05 7:32 
GeneralRe: Remove duplicates Pin
Roland Pibinger15-Jul-05 8:55
Roland Pibinger15-Jul-05 8:55 
GeneralRe: Remove duplicates Pin
Michael Dunn15-Jul-05 10:19
sitebuilderMichael Dunn15-Jul-05 10:19 
GeneralDLL Pin
act_x15-Jul-05 6:16
act_x15-Jul-05 6:16 
GeneralRe: DLL Pin
Michael Dunn15-Jul-05 6:24
sitebuilderMichael Dunn15-Jul-05 6:24 
GeneralRe: DLL Pin
berndg15-Jul-05 7:01
berndg15-Jul-05 7:01 
GeneralRe: DLL Pin
AntonlioX15-Jul-05 19:50
AntonlioX15-Jul-05 19:50 
Generalstring in .mc file or as IDS_ resource Pin
xcavin15-Jul-05 4:36
xcavin15-Jul-05 4:36 
GeneralRe: string in .mc file or as IDS_ resource Pin
David Crow15-Jul-05 4:59
David Crow15-Jul-05 4:59 
GeneralRe: string in .mc file or as IDS_ resource Pin
Michael Dunn15-Jul-05 6:25
sitebuilderMichael Dunn15-Jul-05 6:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.