erifash Posted March 28, 2006 Posted March 28, 2006 I have one question: How can you raw read/write from/to a drive in C (not C++)? I am interested in this because I am working on a project for school and I have always wondered how AutoIt does it. It would be very useful in understanding how utilities (like RawRite) function. Thanks! My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
cdkid Posted March 28, 2006 Posted March 28, 2006 Why not look at the au3 source? AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
erifash Posted March 28, 2006 Author Posted March 28, 2006 Why not look at the au3 source?The AutoIt public source does not provide code in FileOpen() for raw read mode (4). My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
erifash Posted March 29, 2006 Author Posted March 29, 2006 Ack! I have been searching on google for about 50 minutes now and I haven't found anything useful. All I am getting is linux source code and stuff about cd-rom burning. Who knows, maybe I'm just bad at searching. I know for a fact that what I am trying to accomplish is possible and has been done before. The only problem now is finding the correct information (preferably code ). Is anyone here willing to help? My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
erifash Posted March 29, 2006 Author Posted March 29, 2006 Have I posted in the wrong forum? I will try asking in help and support. My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
erifash Posted March 29, 2006 Author Posted March 29, 2006 Thanks, that really helped! I am now able to finish my project. My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now