|
|
in the end i get this error !?
Do you remember "Bad command or file name" in dos,dos(windows 3.1,gwbasic,qbasic,pascal,turbo c)
and clrscr equal cls and....(many years)
whitesky
|
|
|
|
|
Hi..
Actually there is no any error for the program. The program is correct and can be run.How can i get 4 circle shape instead of square?
There are some command missing for the program.
U hv to include this on the top of the program.
After each #include, please key in the folowing code for each #include
#include windows.h
#include gl\gl.h
#include gl\glaux.h
#include math.h
Please delete this and replace with the above code.
#include
#include
#include
#include
Thanks
|
|
|
|
|
Dear all,
Is there an API function that will hide a partition and/or folder in a USB Memory Stick, so the folder will be inaccessible from other computers - that is protecting the contents of the memory stick. Ideally, the program should be stand alone, and no installation would be required on any computers.
Thanks in advance
Derek
|
|
|
|
|
See:-
SetFileAttributes
Regards,
FarPointer
Blog:FARPOINTER
|
|
|
|
|
thanks for your reply, SetFileAttributes worked successfully, but i need something that is OS independent, as if the user selects to view all files, the hidden files would also be disclosed. I need to hide a folder on a USB stick which would only be revealed if the correct password is entered using a program independent on the OS settings...im thinking of having some settings at FAT32 level, some way or another
thanks in advance
derek
|
|
|
|
|
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
|
|
|
|