Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OLE DB record counting Pin
João Paulo Figueira25-Aug-03 1:01
professionalJoão Paulo Figueira25-Aug-03 1:01 
GeneralCrystal Report Viewer Pin
Archigal12-Aug-03 6:28
Archigal12-Aug-03 6:28 
GeneralRe: Crystal Report Viewer Pin
Heath Stewart12-Aug-03 8:47
protectorHeath Stewart12-Aug-03 8:47 
GeneralRe: Crystal Report Viewer Pin
Jörgen Sigvardsson12-Aug-03 13:39
Jörgen Sigvardsson12-Aug-03 13:39 
GeneralCSocket Pin
MemLeak12-Aug-03 6:25
MemLeak12-Aug-03 6:25 
GeneralRe: CSocket Pin
valikac12-Aug-03 6:51
valikac12-Aug-03 6:51 
GeneralInserting metafiles in RichEdit Pin
Trapper12-Aug-03 6:08
Trapper12-Aug-03 6:08 
Generalprogram access to locked directory Pin
IdUnknown12-Aug-03 5:31
IdUnknown12-Aug-03 5:31 
Hi Everyone,

First time poster on this site, I hope someone can help me with this problem.

Let say my program is install in C:\myprog and everytime before it exits, it writes a string to a file. It works ok because I logged in as an Admin. But, if a user logs in and doesn't have write permission, then the program cannot save data to the file in that directory when it exits. Is it possible for my program to write to the directory, even though, the user does not have the access rights? If so, how can I programmatically do it using Win32 API? Any helpful suggestions or hints would be appreciated.

It runs on WinNT with NTFS.

Thanks,

ing
GeneralRe: program access to locked directory Pin
Steve S12-Aug-03 5:43
Steve S12-Aug-03 5:43 
GeneralUsing old Visual Studio 6 Lib/dlls Pin
Dirk Vandenheuvel12-Aug-03 4:44
Dirk Vandenheuvel12-Aug-03 4:44 
GeneralMFC question Pin
Beer2612-Aug-03 4:28
Beer2612-Aug-03 4:28 
GeneralRe: MFC question Pin
Nish Nishant12-Aug-03 4:39
sitebuilderNish Nishant12-Aug-03 4:39 
GeneralRe: MFC question Pin
Beer2612-Aug-03 5:52
Beer2612-Aug-03 5:52 
GeneralODBC Pin
Ortie12-Aug-03 4:16
Ortie12-Aug-03 4:16 
GeneralRe: ODBC Pin
basementman12-Aug-03 4:24
basementman12-Aug-03 4:24 
GeneralHelp on DLLs Pin
Radha Nair12-Aug-03 4:03
Radha Nair12-Aug-03 4:03 
GeneralRe: Help on DLLs Pin
Chris Meech12-Aug-03 5:01
Chris Meech12-Aug-03 5:01 
GeneralRe: Help on DLLs Pin
Nish Nishant12-Aug-03 5:53
sitebuilderNish Nishant12-Aug-03 5:53 
GeneralRe: Help on DLLs Pin
Chris Meech12-Aug-03 6:11
Chris Meech12-Aug-03 6:11 
GeneralRe: Help on DLLs Pin
Radha Nair12-Aug-03 6:22
Radha Nair12-Aug-03 6:22 
GeneralRe: Help on DLLs Pin
igor196012-Aug-03 10:51
igor196012-Aug-03 10:51 
GeneralRe: Help on DLLs Pin
Rick York12-Aug-03 12:55
mveRick York12-Aug-03 12:55 
GeneralRe: Help on DLLs Pin
Radha Nair13-Aug-03 3:13
Radha Nair13-Aug-03 3:13 
GeneralContext menu on ActiveX control Pin
Ed K12-Aug-03 3:40
Ed K12-Aug-03 3:40 
GeneralI need help in timers or conversions Pin
Snyp12-Aug-03 3:37
Snyp12-Aug-03 3:37 

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.