home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!moose.slac.stanford.edu!user
- From: John_Shepardson.esh@qmail.slac.stanford.edu (John Shepardson)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: HELP: how can I ...
- Message-ID: <John_Shepardson.esh-210892100401@moose.slac.stanford.edu>
- Date: 21 Aug 92 17:01:47 GMT
- References: <BtBy0p.7Gt@usenet.ucs.indiana.edu>
- Sender: news@unixhub.SLAC.Stanford.EDU
- Followup-To: comp.sys.mac.programmer
- Organization: slac
- Lines: 28
- Nntp-Posting-Host: moose.slac.stanford.edu
-
-
- > 1. How can I find out what kind of video card is installed through my
- > program?
- >
- > 2. How can an application get the document name/path through which the
- > application is invoked?
- >
- > THANKS in advance!!
- >
-
- You should get a good sized hard disk and pump all the source code you can
- find onto it including all the source from apple's developer CD's and
- Mactutor.
- Then all you would have to do is search through the files using a text
- finder like On Location. This makes a personal library that is incredibly
- valuable!
-
- You'll have to use the slotmanager to get the video board name and very
- specific info, although finding out the depth's supported could be as easy
- as calling HasDepth using the gdevices found in the DeviceList.
-
- source to return the pathname can be found in MacTutor #05
- (Dec85-Jan86):c:hfs source 2-1. Also there is code in apples developer
- disks under Snippets: Parsefullpathname which does the reverse job.
-
-
- -------------------------------------------
- John_Shepardson.esh@qmail.slac.stanford.edu
-