Click here to Skip to main content
16,008,010 members
Home / Discussions / COM
   

COM

 
GeneralCreating Search Engine Component for Intranet Pin
6-Apr-02 19:57
suss6-Apr-02 19:57 
QuestionHow to access method in other object in COM Pin
chq126-Apr-02 11:13
chq126-Apr-02 11:13 
AnswerRe: How to access method in other object in COM Pin
Mazdak6-Apr-02 17:52
Mazdak6-Apr-02 17:52 
GeneralRe: How to access method in other object in COM Pin
chq127-Apr-02 8:32
chq127-Apr-02 8:32 
GeneralRe: How to access method in other object in COM Pin
Mazdak7-Apr-02 9:21
Mazdak7-Apr-02 9:21 
GeneralRe: How to access method in other object in COM Pin
chq127-Apr-02 16:30
chq127-Apr-02 16:30 
GeneralCoUninitialize doesn't return Pin
sefip3-Apr-02 21:24
sefip3-Apr-02 21:24 
Generalenable delegation to work Pin
David Dal Zot3-Apr-02 3:38
David Dal Zot3-Apr-02 3:38 
Hi all,

in the code below, hToken is an impersonation token which I
duplicate into a primary token in order to use with
CreateProcessAsUser. I ask the new token to have the
DELEGATION level of impersonation but I get error 1346 :
ERROR_BAD_IMPERSONATION_LEVEL. NTLM is running on W2K as
the SSP provider, but it seem that delegation is not supported. Is it possible to have the impersonation level with CLOAKING enabled with NTLM ? does this provide a
one hop machine-cross delegation level (which is sufficient for my server) ? All this is done with a calling from an ASP page, how can i set the impersonation level for the client ?. All this confuse me, thank to bring some light ...;)

if ( !DuplicateTokenEx(
hToken, // handle to token to duplicate
TOKEN_ALL_ACCESS | TOKEN_QUERY |
TOKEN_ASSIGN_PRIMARY | TOKEN_DUPLICATE,
NULL,
SecurityDelegation,
TokenPrimary,
&hDup ) ) {
err = GetLastError();}
QuestionWhat does this code do? Pin
Gerald Schwab1-Apr-02 16:57
Gerald Schwab1-Apr-02 16:57 
AnswerRe: What does this code do? Pin
Michael Dunn1-Apr-02 21:15
sitebuilderMichael Dunn1-Apr-02 21:15 
GeneralRe: What does this code do? Pin
Gerald Schwab2-Apr-02 5:28
Gerald Schwab2-Apr-02 5:28 
GeneralRe: What does this code do? Pin
Michael Dunn5-Apr-02 16:19
sitebuilderMichael Dunn5-Apr-02 16:19 
GeneralRe: What does this code do? Pin
Nick Parker5-Apr-02 10:02
protectorNick Parker5-Apr-02 10:02 
GeneralRe: What does this code do? Pin
Michael Dunn5-Apr-02 16:20
sitebuilderMichael Dunn5-Apr-02 16:20 
QuestionWhat does this code do? Pin
Gerald Schwab1-Apr-02 16:52
Gerald Schwab1-Apr-02 16:52 
AnswerRe: What does this code do? Pin
czer4-Apr-02 3:05
czer4-Apr-02 3:05 
GeneralCComBSTR objects Pin
Madmaximus1-Apr-02 10:40
Madmaximus1-Apr-02 10:40 
GeneralRe: CComBSTR objects Pin
Michael Dunn1-Apr-02 17:04
sitebuilderMichael Dunn1-Apr-02 17:04 
GeneralRe: CComBSTR objects Pin
Madmaximus2-Apr-02 1:54
Madmaximus2-Apr-02 1:54 
GeneralATL Control Containment problem Pin
31-Mar-02 7:57
suss31-Mar-02 7:57 
QuestionBuild a CA ??? Pin
dlhson31-Mar-02 3:48
dlhson31-Mar-02 3:48 
AnswerRe: Build a CA ??? Pin
Jon Newman31-Mar-02 4:04
Jon Newman31-Mar-02 4:04 
GeneralRe: Build a CA ??? Pin
dlhson31-Mar-02 4:10
dlhson31-Mar-02 4:10 
GeneralRe: Build a CA ??? Pin
Jon Newman31-Mar-02 4:12
Jon Newman31-Mar-02 4:12 
Generalactivex control problem Pin
29-Mar-02 15:22
suss29-Mar-02 15:22 

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.