|
Do you mean to check whether a directory is locked for access by some other software and still you intend to do some operations in it like copying files etc?
For a shared resource I gave you the API to be used.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Ya something like you mentioned "Do you mean to check whether a directory is locked for access by some other software and still you intend to do some operations in it like copying files etc?"
|
|
|
|
|
V.K 2009 wrote: Ya something like you mentioned
'Something' like that? So, you don't know it for yourself. If you can't tell what *exactly* you need, you will get no help. Besides all, you are just wasting others time with your silly posts.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Rajesh R Subramanian wrote: 'Something' like that?
May be requirement is not clear. He might be developing first and gathering requirement later!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
That's the funniest thing I've heard in a while. Thanks for the humor.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Rajesh R Subramanian wrote: That's the funniest thing I've heard in a while. Thanks for the humor
No, thats true, almost half application which never see light of day is due to fact requirement isnot clear or application is developed just on assumption and actual requirement is quite different
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Use _stat[^]. It will fail if you can't access the directory.
Of course, it fails if the path you give it a) ends in a \, or b) is a UNC path - but I'm sure you can work around those issues.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Try GetFileAttributes().
Beyond that, you can jump through hoops using security attributes or you could just create a temporary file using the DELETE_ON_CLOSE flag to ensure it goes away.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
How can i write an application that can "copy" all files from an NTFS volume, without permissions.
I need this to backup an NTFS partition.
Please help!
Thanks
~Salil
|
|
|
|
|
Member 4431097 wrote: How can i write an application that can "copy" all files from an NTFS volume
Read point #2 in this post[^]
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Ok, I have an application running off a linux live CD, now this will access the partition in which windows is installed (NTFS) Now, when i try to access the "Documents and Settings" folder, i cannot do it because the NTFS partition permissions do not allow me to get access to it. How do I bypass this, I need to access the file, (Only copy it not necessarily use it!)
Please tell me if you need any more information!
Thank You
~Salil
|
|
|
|
|
If you're accessing an NTFS partition from Linux, then NTFS permissions can only be enforced by the NTFS driver in Linux. Now, that driver has no idea of the Windows accounts and things...so it can't enforce them!
Most likely, your driver's not set up quite right, or the particular folder you want to access is encrypted or compressed - most Linux NTFS drivers can't access those.
So - look at how you've mounted the NTFS partition!
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hi,
I want to implement page turn effect for the dialog.
Means, at the time of hiding the dialog, it should be hidden with the effect of page turn.
It should look like we turning a page.
Can we do this in MFC?
Thanks in advance.
-Vinayak
|
|
|
|
|
That would be difficult to do with MFC.
A few effects are supported using AnimateWindow .
For additional effects I suggest you go for flash or flex.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Here is one article that shows some animation for the dialogSliding Dialog Windows[^].
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
|
Hi! Programs CMOS Boot from USB
Vietnam I
The level of the average programmer.
Sorry, because I asked many questions.
Assembler too difficult, I do not know it.
I see the bochs-2.4-msvc-src but I do not know.
Please, help me Who wrote the CMOS Boot from USB to 1
Partition of the HDD 1 is divided into 4 Partition.Using
memory: 510K.
Boot-> create 1 window with Style, interface (GUI) by
my style + 1 ImageButton with event: Shutdown
computer.On window that displays mouse position.
All use VC6 viet.Please, sourcecode
Vietnam
Thank you very much!
Vietnam is very beautiful country to invite me.
|
|
|
|
|
tuan1111 wrote: I have read Development Operating System Part I
great!!! How about reading the second part just to check if everything written in there is correct?
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
which book are you referring too? same book we studied in our graduation?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
ThatsAlok which book are you referring too? same book we studied in our graduation?
nope!
I graduated reading MSDN
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
_AnsHUMAN_ wrote:
I graduated reading MSDN
ohh i missed that during graduation
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
look for linux sourcecode.. google it
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi i have to use _RecordSetPtr in my code .but i am not able to do .I have included the follwing file .
#import "D:\\..\\..\\..\\..\\Microsoft\\Redistribute\\MSADO15.dll" \
no_namespace \
rename("EOF", "adoEOF") \
no_implementation
Still I am not able to access _RecordsetPtr ..But i can access '_RecordSet'..
What is the diffrence between the two. Please provide comments
|
|
|
|
|
pandit84 wrote: Still I am not able to access _RecordsetPtr ..But i can access '_RecordSet'..
What is the diffrence between the two.
_Recordset is the interface pointer type for which _RecordsetPtr is the managed equivalent.
_RecordsetPtr will be defined like this in your msado15.tlh file: _COM_SMARTPTR_TYPEDEF(_Recordset, __uuidof(_Recordset));
I added this line to import ADO - it defined both _Recordset and _RecordsetPtr
#import "libid:B691E011-1797-432E-907A-4D8C69339129" no_namespace rename("EOF", "ADO_EOF") no_implementation
I'd rebuild your solution, see what comes out.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart Dootson wrote: _RecordsetPtr is the managed equivalent.
Can't use managed like that anymore dude, it's been .NETisized
|
|
|
|