|
-
Aug 22nd, 2000, 10:02 PM
#1
Thread Starter
Lively Member
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?
-
Aug 22nd, 2000, 10:22 PM
#2
Hyperactive Member
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
-
Aug 22nd, 2000, 10:58 PM
#3
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.
-
Aug 22nd, 2000, 11:41 PM
#4
Thread Starter
Lively Member
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?
-
Aug 23rd, 2000, 05:03 PM
#5
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.
-
Aug 23rd, 2000, 05:56 PM
#6
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|