|
derek john grech wrote: but i need something that is OS independent
no way...
hidden file notion is OS/FS dependant, simply because not every OS/FS can choose to implement such a feature.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
hi thanks for your reply...
yep it seems to be impossible, i didnt find any good programs that feature this...however, once i had a USB memory stick and the program that came along with it allowed to partition the USB memory stick in two, one is unprotected, and the other partition is only revealed if the correct password is entered
i was wondering that this could be accomplished by modifying the FAT32 table indirectly through some API functions...
thanks once again for your assistance
derek
|
|
|
|
|
derek john grech wrote: i was wondering that this could be accomplished by modifying the FAT32 table indirectly through some API functions...
i don't think so. FAT32 FileSystem don't store security infos... you would have to format your partition into NTFS for example, but on a USB stick, i doubt this could be achieved.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
My guess is that they did some kind of trick with the partition table, making the protected partition invisible until the correct password had been given.
|
|
|
|
|
hi kakan,
yep they did some sort of a trick...that is why i think there a possibility of hiding a partition through FAT32 table...but i do not know how....there are many programs that do hide folders and files but the programs must be installed on the system...where ideally i would require something portable that will work on windows OS platform (windows 2000,XP) using one small exe program ... i know that it could be accomplished in some way or another
i did some research but unfortunately i did not find much
thanks for your help
derek john grech
|
|
|
|
|
The FAT file system (used to) flag an erased file by replacing the first character in the file name with a (hex) E5 character, if I remember it right.
That could be one approach to hiding files (while maintaing the proper FAT table entries for the file in question).
Maybe that's a way to go?
|
|
|
|
|
i will do some research on FAT and experiment a bit...alternatively, do you have some good links that gives detailed (but not too complicated) information of FAT32...
thanks kakan
|
|
|
|
|
Hello.
I have no links for you from the top of my head, sorry.
But there must be heaps of documentation for the FAT file system in the net.
I wrote a program to repair broken FAT-diskettes a few years ago, I have gone through my source code, but there were no links.
So you have to Google for it. Maybe it's better to search with Alta Vista, since this is old information.
Good luck.
Kakan
|
|
|
|
|
Hello EB,
I want to create how to create a socket which will work on a PC having connectivity to internet through proxy.
I use CSocket::Create() but it creates socket on a ip address of server, so my application doesn't able to listen on that socket as it is running on another machine. How can i redirect the msges from server to my PC.
Thanks in advance..
Thanks and Regards,
Amit
|
|
|
|
|
i want to draw a smooth curve given two points.
how do i do that??
|
|
|
|
|
Give first point in x, y and draw the curve to second point
pDC->MoveTo(x,y);
pDC->LineTo(x,y+200)
|
|
|
|
|
This will only draw a line.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
_AnShUmAn_ wrote: This will only draw a line.
Let's say a very smooth curve!
|
|
|
|
|
:->Hmm.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
wow its a line (only)
whitesky
|
|
|
|
|
What type of curve?
Have a look at CDC::Arc() if it suits your needs.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
To draw a curve, you need three points. With two points, you can only draw a line.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
|
Hi All,
I try to read ( use ReadFile method )from pipe and always fail.
I check the Error ( by using GetLastError()) and i found that the Error is 183 ( ERROR_ALREADY_EXISTS ) i found in the MSDN that this error meed that Cannot create a file when that file already exists.
I don't know what to do ....
Please someone can help me ?
Thanks.
-- modified at 1:47 Thursday 22nd June, 2006
|
|
|
|
|
My guess is that the error you get comes from CreateFile, rather than ReadFile.
Since you wan't to read from the pipe, my guess is that some other application already has created the pipe, right?
In that case, use OPEN_EXISTING in your CreateFile call.
|
|
|
|
|
No ,
I create the pipe - when i try to read in some state ( in the startup of the application i my reading from this pipe is ok ) my read fail.
|
|
|
|
|
Are you sure you get error 183 from the ReadFile func?
According to MSDN, that's not possible.
|
|
|
|
|
yes - its 183.
but i add some more method that check if the pipe already open and if its not it will reopen it.
now i getting error code 142
142 = The system cannot perform a JOIN or SUBST at this time. ERROR_BUSY_DRIVE
|
|
|
|
|
I'm sorry, but this is getting more and more peculiar.
Can you post some source code?
|
|
|
|
|
The following problem occurs in unicode debug config:
A socket connection handler class CMclSocket has a derived class
CHttpProtoFile. A function Send() of the base class is called in the
derived class in the OnConnect handler. Untill this function is called
in the derived class the member variables of the base class r
acessible. Once this function is called, accessing the member variables
inside this function in the base class throws '0xC0000005: Access
Violation.' error while running the application. This application works
fine in debug config.
Harshapaul Pinto
|
|
|
|