Click here to Skip to main content
16,004,458 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralC++ with ms.access database Pin
_indra_m9-May-05 21:22
_indra_m9-May-05 21:22 
GeneralRe: C++ with ms.access database Pin
Aqueel9-May-05 22:10
Aqueel9-May-05 22:10 
GeneralRe: C++ with ms.access database Pin
Yulianto.9-May-05 22:58
Yulianto.9-May-05 22:58 
GeneralRe: C++ with ms.access database Pin
narendra_ b10-May-05 4:08
narendra_ b10-May-05 4:08 
GeneralDetecting file association changes and getting new icon Pin
Defenestration9-May-05 20:18
Defenestration9-May-05 20:18 
QuestionHow to chage attributes for a directory? Pin
hfrmobile9-May-05 19:50
hfrmobile9-May-05 19:50 
AnswerRe: How to chage attributes for a directory? Pin
David Crow10-May-05 2:19
David Crow10-May-05 2:19 
GeneralRe: How to chage attributes for a directory? Pin
hfrmobile10-May-05 3:22
hfrmobile10-May-05 3:22 
Hi thanks for your reply!

Sorry, I was a bit inaccurately...

I am using RAPI version of SetFileAttributes() --> CeSetFileAttributes() because I need to do this on a remote device (on a Pocket PC running Windows CE)

It seems that there is a difference between SetFileAttributes() and CeSetFileAttributes().

CeSetFileAttributes() works fine for files but not for directories. The only thing I have found about this issue is that the .NET Compact Framework does not support changing attributes on directories... (files are supported).

Since the project is written in VC++ this should not matter...

CeSetFileAttributes() always returns false and CeGetLastError() returns 0x2 (file not found...)

Any idea why CeSetFileAttributes() does not work for directories?

thx

D'Oh! | :doh:

GeneralRe: How to chage attributes for a directory? Pin
David Crow10-May-05 4:46
David Crow10-May-05 4:46 
GeneralRe: How to chage attributes for a directory? Pin
hfrmobile10-May-05 5:08
hfrmobile10-May-05 5:08 
GeneralRe: How to chage attributes for a directory? Pin
David Crow10-May-05 5:15
David Crow10-May-05 5:15 
GeneralRe: How to chage attributes for a directory? Pin
hfrmobile10-May-05 9:05
hfrmobile10-May-05 9:05 
GeneralRe: How to chage attributes for a directory? Pin
hfrmobile12-May-05 21:00
hfrmobile12-May-05 21:00 
GeneralDTW Pin
Jaymahinda9-May-05 18:39
Jaymahinda9-May-05 18:39 
Generalabout "delete" Pin
simon wan9-May-05 15:56
simon wan9-May-05 15:56 
GeneralRe: about "delete" Pin
PJ Arends9-May-05 16:09
professionalPJ Arends9-May-05 16:09 
GeneralRe: about "delete" Pin
Jörgen Sigvardsson10-May-05 1:46
Jörgen Sigvardsson10-May-05 1:46 
GeneralRe: about "delete" Pin
Nemanja Trifunovic10-May-05 3:58
Nemanja Trifunovic10-May-05 3:58 
GeneralRe: about "delete" Pin
hfrmobile12-May-05 21:05
hfrmobile12-May-05 21:05 
GeneralRe: about "delete" Pin
Nemanja Trifunovic13-May-05 3:56
Nemanja Trifunovic13-May-05 3:56 
GeneralRe: about "delete" Pin
hfrmobile16-May-05 20:35
hfrmobile16-May-05 20:35 
Generaljust finished my 2d game engine Pin
tom_dx9-May-05 14:56
tom_dx9-May-05 14:56 
GeneralRe: just finished my 2d game engine Pin
Christian Graus9-May-05 15:22
protectorChristian Graus9-May-05 15:22 
GeneralRe: just finished my 2d game engine Pin
tom_dx10-May-05 12:20
tom_dx10-May-05 12:20 
GeneralLooking for calendar control Pin
David Crow9-May-05 10:20
David Crow9-May-05 10:20 

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.