|
-
Jan 31st, 2001, 05:42 PM
#1
Thread Starter
Banned
i just started api. im makeing a media player. and i was looking threw the win api viewer. i saw the const that would make winmm.dll goto the end of the sound file. so i but in the code. but it dosent work.
parksie told me "You're using mciSendString so you need to send a string, not a numeric value"
then he went somewhere becuase hes not on the post race thing anymore.
code:
Module:
Public Const MCI_SEEK_TO_END = &H200&
Form:
i = mciSendString(MCI_SEEK_TO_END, 0&, 0&, 0&)
to me it should work. but it dosent. can some one help me. plz!!!
-
Feb 9th, 2001, 08:28 PM
#2
Addicted Member
Parksie is correct. The first arg should be a string in mciSendString. To Seek To The End Of File (In Secs) ::
Use mciSendString's set time format milliseconds
Then If The Sound Is Playing Use
mciSendString's play from Secs
or else
mciSendString seek to Secs
__
For More Details EMail Me.
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
|