in reply to Set Volume with winmm and mciSendString

Win32::MCI::Basic
#synopsis use Win32::MCI::Basic; my $lpszCommand = "status cdaudio number of tracks"; # example MCI c +ommand my ($APICallReturnValue, $lpszReturnString) = mciSendString($lpszCom +mand); print "Number of tracks: $lpszReturnString\n"; my $lpszErrorText = mciGetErrorString($ReturnValue); print "Error: $lpszErrorText\n";

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: use Win32::MCI::Basic;
by slloyd (Hermit) on Jun 28, 2004 at 13:14 UTC
    Win32::MCI::Basic module does not help as I cannot get the syntax for the 'setaudio' command correctly. Either that or it simply does not work.
      The module works. I've used it successfully in the form of Win32::MCI::CD despite the typo.

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.