Drives

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
Drives

Submitted by Anonymous on Fri, 11/16/2001 - 05:39. Developers
how to get drives[ex;C,D,E,F...] using "File selection" Box,any one give me source code for getting drives,we are using windows2000 operating system.WAIT FOR REPLY

ICS_support

You`d need to write your own file search procedure which uses operating-system level calls to change drives, get a listing of files, and return the list to the widget. See the XmFileSelectionBox man page for the format of these functions.

Anonymous

any one send source code for retrieve drives[C,D,E...] from WINDOWSNT operating system,
using xmfileselectionbox.
Wait FOr Reply.

ICS_support

The implication here, by the way, is that you are running an application using a version of Motif which is native to Window NT -- the application is a true Windows application and has access to the operating system calls supported by NT.

If, however, you are really using a machine which supports both Linux and NT, and your application is using Linux, then you`ll have access to the view of the disk supported by Linux.