Click here to Skip to main content
15,894,540 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ddraw.h causing ambiguous symbol error Pin
avenger_sb258-Apr-04 12:42
avenger_sb258-Apr-04 12:42 
GeneralDebuging a service with VC++ Pin
mmica7-Apr-04 7:52
mmica7-Apr-04 7:52 
GeneralRe: Debuging a service with VC++ Pin
Rob Caldecott7-Apr-04 9:56
Rob Caldecott7-Apr-04 9:56 
GeneralRe: Debuging a service with VC++ Pin
Blake Miller7-Apr-04 10:41
Blake Miller7-Apr-04 10:41 
GeneralMSOffice 97-XP service pack detections Pin
Vigen Dolbakyan7-Apr-04 7:44
Vigen Dolbakyan7-Apr-04 7:44 
GeneralMSOffice 97-XP service pack detections Pin
yeghia7-Apr-04 7:43
professionalyeghia7-Apr-04 7:43 
QuestionAre FSCTL_GET_NTFS_VOLUME_DATA and FSCTL_GET_RETRIEVAL_POINTERS valid as dwIoControlCode for DeviceIoControl() on NT4? Pin
Defenestration7-Apr-04 7:34
Defenestration7-Apr-04 7:34 
Questionazroles.dll anyone? Pin
Dave Tyldesley7-Apr-04 7:25
Dave Tyldesley7-Apr-04 7:25 
I'm using the Runtime azroles.dll to implement some Authorization Management stuff on Win2K. I'm trying to implement the example code from MSDN that can be found at

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/openprocesstoken.asp

Everything runs fine right up to the call to AccessCheck(...) and there I get E_INVALIDARG with all the parameters set up exactly as in the example code. As I don't have sources, I can't debug and I have no idea which argument is invalid.

Has anyone written any code for this piece (from the MS sample) that works?:

//  Check access.<br />
hr = pClientContext->AccessCheck(<br />
    objectName,<br />
    myVar,<br />
    varOperationIdArray,<br />
    myVar,               // use default application scope<br />
    myVar,<br />
    myVar,<br />
    myVar,<br />
    myVar,<br />
    &varResultsArray);


Could you show me how you passed in the various arguments?
Many thanks
dave

DaveT
Generaldisplaying a variable's value every 30 seconds Pin
Keylee7177-Apr-04 6:49
Keylee7177-Apr-04 6:49 
GeneralRe: displaying a variable's value every 30 seconds Pin
Daniel Turini7-Apr-04 7:23
Daniel Turini7-Apr-04 7:23 
GeneralRe: displaying a variable's value every 30 seconds Pin
beetung7-Apr-04 8:33
beetung7-Apr-04 8:33 
GeneralRe: displaying a variable's value every 30 seconds Pin
Daniel Turini7-Apr-04 8:33
Daniel Turini7-Apr-04 8:33 
GeneralRe: displaying a variable's value every 30 seconds Pin
Daniel Turini7-Apr-04 9:23
Daniel Turini7-Apr-04 9:23 
GeneralRe: displaying a variable's value every 30 seconds Pin
Daniel Turini7-Apr-04 9:49
Daniel Turini7-Apr-04 9:49 
GeneralRe: displaying a variable's value every 30 seconds Pin
David Crow7-Apr-04 10:43
David Crow7-Apr-04 10:43 
GeneralRe: displaying a variable's value every 30 seconds Pin
Renjith Ramachandran7-Apr-04 9:16
Renjith Ramachandran7-Apr-04 9:16 
GeneralRe: displaying a variable's value every 30 seconds Pin
toxcct7-Apr-04 10:26
toxcct7-Apr-04 10:26 
GeneralRe: displaying a variable's value every 30 seconds Pin
avenger_sb258-Apr-04 12:45
avenger_sb258-Apr-04 12:45 
GeneralUNICODE problem Pin
jancsi7-Apr-04 6:32
jancsi7-Apr-04 6:32 
GeneralRe: UNICODE problem Pin
PJ Arends7-Apr-04 14:26
professionalPJ Arends7-Apr-04 14:26 
GeneralConversion... Pin
Anonymous7-Apr-04 6:31
Anonymous7-Apr-04 6:31 
GeneralRe: Conversion... Pin
Ravi Bhavnani7-Apr-04 7:30
professionalRavi Bhavnani7-Apr-04 7:30 
GeneralRe: Conversion... Pin
Renjith Ramachandran7-Apr-04 8:38
Renjith Ramachandran7-Apr-04 8:38 
Questioncan different Desktop post message to each? Pin
tank10257-Apr-04 6:11
tank10257-Apr-04 6:11 
AnswerRe: can different Desktop post message to each? Pin
Mike Dimmick7-Apr-04 6:17
Mike Dimmick7-Apr-04 6:17 

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.