|
-
April 15th, 1999, 06:58 AM
#1
CDROM
How can I open/close CDROM in my program?
Thanks.
-
April 15th, 1999, 07:52 AM
#2
Re: CDROM
Hallo .
If you want to write only a console application, you can open a CDROM file
by the function fopen and you can close the file by fclose function .
If you write a windows application, you can use the API function
GetOpenFileName: this allows you (by a dialog window) to select the CDROM file
that you want to open (infact in the structure LPOPENFILENAME
(in field lpstrFile) this function stores the string that contains the path
of chosen file); then you can use the function fopen to open a chosen file,
and the function fclose to close this file .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|