home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / tools / 578 < prev    next >
Encoding:
Text File  |  1992-07-29  |  775 b   |  22 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!brunix!brunix!sp
  3. From: sp@cs.brown.edu (Seth Padowitz)
  4. Subject: Re: VB and sound
  5. Message-ID: <1992Jul29.174421.27543@cs.brown.edu>
  6. Sender: news@cs.brown.edu
  7. Organization: Brown University Department of Computer Science
  8. References: <1992Jul21.223156.21625@cs.brown.edu> <36720005@hpgrla.gr.hp.com>
  9. Date: Wed, 29 Jul 1992 17:44:21 GMT
  10. Lines: 10
  11.  
  12. Just thought I'd point out that the samples given for using
  13. mciSendString were incorrect.
  14. The samples should have used mciExecute(), since it only takes a
  15. single string parameter.  mciSendString takes 4 parameters.
  16.  
  17. Also, note that mciExecute returns TRUE/FALSE (1/0) for
  18. success/failure, whereas mciSendString returns an error code,
  19. which is 0 for success.
  20.  
  21. Seth
  22.