Author Topic: How i can include Mo3 music to a Delphi 7 Project?  (Read 17744 times)

Sn!per X

  • Posts: 9
I'm Delphi7 programmer, i liked the MO3 music Cu's its Little and pretty  :-*
so i want to include the booth Bass.dll and the Mo3 music in my project, how i can do that?
If you cant understand me its like the uFMOD Library.





_________________
sorry my English  ::)
thanks.

Ian @ un4seen

  • Administrator
  • Posts: 26028
Re: How i can include Mo3 music to a Delphi 7 Project?
« Reply #1 on: 14 May '08 - 16:25 »
After calling BASS_Init, you can use BASS_MusicLoad to load the MO3 file and then BASS_ChannelPlay to play it. Please look-up those functions in the documentation for further details.

Sn!per X

  • Posts: 9
Re: How i can include Mo3 music to a Delphi 7 Project?
« Reply #2 on: 15 May '08 - 12:30 »
Thanks, But i mean i want the Mo3 inside the executable file, e.g:
If you see the Razor ChipDisk #2 or 3, they using Mo3 music inside the exe.
____________________________e.g_______________________________________
http://www.razor1911.com/demo/prods/Chipdisk%203%20(2003)(Razor%201911)(Win32)(Chipdisk).zip
___________________________________________________________________

Ian @ un4seen

  • Administrator
  • Posts: 26028
Re: How i can include Mo3 music to a Delphi 7 Project?
« Reply #3 on: 15 May '08 - 15:51 »
You could put the MO3 in a resource. You could then get its address (and size) and use that in the BASS_MusicLoad call.

Sn!per X

  • Posts: 9
Re: How i can include Mo3 music to a Delphi 7 Project?
« Reply #4 on: 22 May '08 - 13:30 »
Thanks, Its Helped Me a lot.