0
0

Relevant code from frmmain.frm
[code:1llh0i7w]
Public musicmod As Long
[/code:1llh0i7w]

Releavant code from frmvolume.frm
[code:1llh0i7w]
Dim musicname As String

musicname = FMUSIC_GetName(frmmain.musicmod)

lblinfo.Caption = “Current playing track is “”” & musicname & “”””
[/code:1llh0i7w]

The music plays fine, as do all the other functions, however,
lblinfo.Caption reads “Current playing track is “92169420” “
instead of the actual song name.

I have tested this with several songs, and they all produce this phonomenom. All of these songs have names, as they all work fine displaying names in the example apps.

(the songs are .mod files btw)

Any ideas?[/code]

  • You must to post comments
0
0

Yeah, that number is a pointer to the songs name, you have to use the function in FMOD.bas called GetStringFromPointer.

[code:atxm2jvd]
musicname = GetStringFromPointer(FMUSIC_GetName(frmmain.musicmod))
[/code:atxm2jvd]

  • You must to post comments
0
0

Cheers.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.