|
Yes, I'm working on a project, a part of which is creation of a file format that contains just plain data of files, stored sequentaly, so that such file can be mounted as a directory. 'Container' in other words. ISO, ZIP etc are good examples.
|
|
|
|
|
Assuming you're using an NTFS filesystem, I think reparse points[^] sound like they could fit the bill?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Well, this looks like a solution, but a bit complicated (only for me? ) Anyway, many thanks for the reply.
|
|
|
|
|
gospel567 wrote: Well, this looks like a solution, but a bit complicated
Stuart gave you some excellent advice. Have a look at the Microsoft MSDN sample code:
Creating a Mounted Folder[^]
Hopefully viewing code samples will shed some light on this mysterious function and reduce the percieved complexity level.
Best Wishes,
-David Delaune
|
|
|
|
|
You could use CreateHardLink[^] to create a link to a file in another folder.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Sounds to me like you want to create a Shell Extenstion.
It's not easy. You need to implement a wide variety of interfaces.
Look up Shell Extensions, and you'll see that it does what you want.
|
|
|
|
|
Hello,
I am developing a small application that reads remote machine's username by reading "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon" key. Even when I logoff remote machine, I still get the same username. I want to ask are my following assumptions correct:
1) This registry key stores the last logged on username.
2) Its value changes when another user logs into the system.
|
|
|
|
|
hackcrackvirus wrote: I want to ask are my following assumptions correct:
1) This registry key stores the last logged on username.
The DefaultUserName value stores the name of the last user to log on to a computer.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
I am working on a C++ project, in this I have to change the access of a temporary drive to read only or readwrite. I have code to find the temporary drive but the problem is to change the access properties (Read only, Read Write, Locked etc something like this).
If anyone have any idea to solve this please reply me.
Thanks in advance
|
|
|
|
|
ACLs[^]? Disks are objects, you can set ACLs on them, I believe.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
basically i need to change access of the usb device driver to read only
i want to know which api i need to use to make the usb device drive read only
i am using vc++ and visual studio 2005
i didn't understand how the ACL will help here
|
|
|
|
|
If you need to do something with the device driver, then you probably need an appropriate IOCTL[^]
Or maybe this article[^] is of relevance?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
that article explains the procedure for changing access through registry keys. it will fails if we have more than one usb device plugged in to the machine.
i want to use win32 api to change the access of usb device driver through vc++ application.
can you please explain me how can modify the acl of the volume stack of the usb device to make it read only
or is there any setupDi... function which makes a usb driver to read only
|
|
|
|
|
What you want is not achieved by adjusting the USB driver.
Stuart is right. You need to learn how to use ACL's if you want to control access to the files and folders on the USB drive.
|
|
|
|
|
Nekkantidivya wrote: i didn't understand how the ACL will help here
Since you are wanting to control access to the device, an Access Control List/Entry will help.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Iam trying to hook to a window.This window has tab controle in it.In one the page ,ocx is placed.This ocx opens word document using automation.
I want to hook to this word document.Iam getting parent window,then enumerating all child windows till I get the word document.Then, hook to it.Now i want to get cursor position in it.Not able to get proper cursor position.
Please help to get cursor position in child window.
Also Not able to set word document window as foreground window.
|
|
|
|
|
You can get the current cursor position in screen coordinates using GetCursorPos[^].
You can then convert that to window relative coordinates using ScreenToClient[^].
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Hello,
I want to create a static library using .net 2008 Framework 3.5 and export a function.
In order to call this function from a vc6 enviroment what project type I should use on the .net Enviroment and how should I call this function from vc6 application?
I would appreciate if you could send me a short code of both sides(.net,vc6) Smile
Thanks in advance...
|
|
|
|
|
|
Hi,
in my application was having double space after the toolbar..
i.e., after file menu, there is more gap to the child window.. where do we usually adjust this height??
thanks,
rakesh
|
|
|
|
|
Could you please stop spamming the forum ? You posted this 1/2 hour ago. And, as a side note, your question is not clear at all. May I suggest you read the posting guidelines before posting again (this is the message at the top of this forum).
|
|
|
|
|
It would be really helpful if you could provide some sort of screen shot exhibiting the problem.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
can u pls tell me how to attach a screen shot while replying??
sorry for troubling u...
rakesh
|
|
|
|
|
Rakesh5 wrote: can u pls tell me how to attach a screen shot while replying??
http://www.flickr.com/[^]
http://tinyurl.com/6krq69[^]
http://imageshack.us/[^]
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hello!
I am using a C51 compiler for a microcontroller (so not visual studio)
I am trying to convert a long int variable to a char*, using C-specific functions (no atoi and the rest)
long Value="1234";
char String[15];
sprintf(String,"%d",Value);
This puts in "String" the value "0".
If I make Value of type integer, it works. What seems to be the problem ?
Are there any (other) functions to help me do this ?
Where can I find the source code for ltoa and the family, to declare it ?
Thanks,
Shpid3r
|
|
|
|