Click here to Skip to main content
15,918,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FileSystemObject Pin
pnpfriend17-May-05 8:03
pnpfriend17-May-05 8:03 
GeneralRe: FileSystemObject Pin
David Crow17-May-05 9:43
David Crow17-May-05 9:43 
GeneralRe: FileSystemObject Pin
pnpfriend18-May-05 9:34
pnpfriend18-May-05 9:34 
GeneralRe: FileSystemObject Pin
David Crow18-May-05 9:39
David Crow18-May-05 9:39 
GeneralRe: FileSystemObject Pin
pnpfriend23-May-05 10:56
pnpfriend23-May-05 10:56 
GeneralPlease Help with File Access Pin
Dimitris Vikeloudas17-May-05 5:20
Dimitris Vikeloudas17-May-05 5:20 
GeneralRe: Please Help with File Access Pin
Blake Miller17-May-05 6:29
Blake Miller17-May-05 6:29 
GeneralRe: Please Help with File Access Pin
Blake Miller17-May-05 6:44
Blake Miller17-May-05 6:44 
I also forgot to mention you initialize the Generic Mappings incorrectly.
It is a data structure with four 32-bit fields.

Try

GENERIC_MAPPING genericMapping;<br />
<br />
genericMapping.GenericAll = READ_CONTROL | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA,<br />
FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | FILE_WRITE_DATA | FILE_APPEND_DATA,<br />
READ_CONTROL | FILE_READ_ATTRIBUTES | FILE_EXECUTE,<br />
FILE_ALL_ACCESS;<br />
<br />
genericMapping.GenericExecute = genericMapping.GenericAll;<br />
genericMapping.GenericRead = genericMapping.GenericAll;<br />
genericMapping.GenericWrite = genericMapping.GenericAll;


I am not suggesting these should all be the same value, only that this syntax is 'more corrct' than what you had before.
GeneralRe: Please Help with File Access Pin
Dimitris Vikeloudas17-May-05 22:47
Dimitris Vikeloudas17-May-05 22:47 
Generalencrytping files Pin
dSolariuM17-May-05 4:50
dSolariuM17-May-05 4:50 
GeneralRe: encrytping files Pin
Blake Miller17-May-05 4:56
Blake Miller17-May-05 4:56 
GeneralRe: encrytping files Pin
David Crow17-May-05 5:54
David Crow17-May-05 5:54 
Generalnamespaces Pin
scratchmonkey17-May-05 4:24
scratchmonkey17-May-05 4:24 
GeneralRe: namespaces Pin
Trollslayer17-May-05 4:47
mentorTrollslayer17-May-05 4:47 
GeneralRe: namespaces Pin
scratchmonkey17-May-05 5:16
scratchmonkey17-May-05 5:16 
GeneralRe: namespaces Pin
Anthony_Yio17-May-05 17:27
Anthony_Yio17-May-05 17:27 
GeneralProblem in DLL Pin
rajas17-May-05 4:16
rajas17-May-05 4:16 
GeneralRe: Problem in DLL Pin
Blake Miller17-May-05 4:55
Blake Miller17-May-05 4:55 
GeneralRe: Problem in DLL Pin
rajas17-May-05 5:13
rajas17-May-05 5:13 
GeneralRe: Problem in DLL Pin
Blake Miller17-May-05 5:40
Blake Miller17-May-05 5:40 
GeneralRe: Problem in DLL Pin
rajas17-May-05 6:06
rajas17-May-05 6:06 
GeneralRe: Problem in DLL Pin
rajas17-May-05 10:04
rajas17-May-05 10:04 
GeneralThread priority management Pin
ilgale17-May-05 4:04
ilgale17-May-05 4:04 
GeneralRe: Thread priority management Pin
Bob Stanneveld17-May-05 4:59
Bob Stanneveld17-May-05 4:59 
GeneralRe: Thread priority management Pin
ilgale17-May-05 5:16
ilgale17-May-05 5:16 

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.