The project I've been doing what I have compiled with CodeGear C + + Builder 2009 the ufmod I have used. and add the following command
uFMOD_PlaySong((void*)xm,(void*)sizeof(xm),XM_RESOURCE);
I have compiled the perfect
[ILINK32 Error] Error: Unresolved external 'uFMOD_PlaySong' referenced from C:\USERS\S0ph0kl3s\DOCUMENTS\RAD STUDIO\PROJECTS\DEBUG\UNIT3.OBJ
this is the complete program
//---------------------------------------------------------------------------
#include
#pragma hdrstop
#include "Unit3.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
#include "ufmod.h"
//#include "oalufmod.h"
__fastcall TForm3::TForm3(TComponent* Owner)
: TForm(Owner)
{
}
unsigned char xm[10200] = {
0x45,0x78,0x74,0x65,0x6E,0x64,0x65,0x64,0x20,0x4D,0x6F,0x64,0x75,0x6C,0x65,0x3A,
0x20,0x6C,0x69,0x74,0x74,0x6C,0x65,0x20,0x73,0x77,0x65,0x64,0x69,0x73,0x68,0x20,
0x67,0x69,0x72,0x6C,0x20,0x1A,0x46,0x61,0x73,0x74,0x54,0x72,0x61,0x63,0x6B,0x65,
0x72,0x20,0x76,0x32,0x2E,0x30,0x30,0x20,0x20,0x20,0x04,0x01,0x14,0x01,0x00,0x00,
0x09,0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x01,0x00,0x04,0x00,0x7D,0x00};
TForm3 *Form3;
void __fastcall TForm3::FormCreate(TObject *Sender)
{
//!uFMOD_OALPlaySong(xm, (void*)sizeof(xm), XM_MEMORY, OAL_source))
uFMOD_PlaySong((void*)xm,(void*)sizeof(xm),XM_RESOURCE);
}
//---------------------------------------------------------------------------
thank you very much
Cracking → Keygenning and Programming → saludos need help on how to embed music in a compiled form in CodeGear C + + Builder 200909 Aug 2009, 22:03 You have to login or register to post comments. |


http://www.mediafire.com/file/411riom324w/Incrustar musica XM en c++ builder by ZELT@.rar