Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 19 in printed book and digital formats -- plus a one-year subscription (beginning with 20.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 2.3

COLUMN

Types of Disk Drives

Whether a disk drive is a CD-ROM or not.

Issue: 2.3 (December/January 2003)
Author: Christian Schmitz
Author Bio: Christian Schmitz is the creator of the Monkeybread Software REALbasic Plugins.
Article Description: No description available.
Article Length (in bytes): 3,272
Starting Page Number: 42
Article Number: 2320
Related Link(s): None

Excerpt of article text...

What we want to know

One of our readers sent an email and asked how to check whether or not a path points to a CD-ROM. For Mac OS you can easily check this with a small AppleScript, so he was looking for a solution on Windows.

This article shows a universal function to get the dsk type of a disk based on the drive letter, including network disks.

The declare code

From Microsoft's developer network, we know this function declaration in C:

...End of Excerpt. Please purchase the magazine to read the full article.