Results 1 to 6 of 6

Thread: mcisendstring

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Sydney, Australia
    Posts
    74

    Arrow

    Thanks to Dennis Wrenn, i now have code that will play an mp3. But I am unsure as to what requirements the code places on the users machine. Do they need to have media player installed or any other software before the sound will play? Will the code work on any 32 bit windows machine or could there be some problens with early versions of win 95?



  2. #2
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    299

    I think there is...

    very little difference. I have been using MCISendstring, and there seems to be no problems with early 95 computers. Even NT and 2000 seem to work fine (so far) which i find surprising.
    BW

  3. #3
    Guest
    The requirements for Dennis Wrenn's code are these files:

    winmm.dll
    kernel32.dll
    user32.dll

    The user should already have these files, they come with Windows, so there is no need to worry.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Sydney, Australia
    Posts
    74
    thanks for that, although I'm still a bit confused as to what is actually used to play the sound. Does it eventually come back to media player or direct sound?

  5. #5
    Guest
    This is the api that is used to play Mp3 Files:

    Code:
    Public Declare Function mciSendString Lib "winmm.dll" _
    Alias "mciSendStringA" (ByVal lpstrCommand As String, _
    ByVal lpstrReturnString As String, ByVal uReturnLength _
    As Long, ByVal hwndCallback As Long) As Long
    So winmm.dll is the Dll file that makes it all possible.
    I think Media Player is what uses the winmm.dll file, so it's like you are playing the Media Player without the need to put the ocx and use it on your form.

  6. #6
    New Member
    Join Date
    Jul 2000
    Location
    Belguim
    Posts
    15

    Arrow VB upgrade

    <advert deleted - James>

    [Edited by James on 09-05-2000 at 05:08 AM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width