CrackingKeygenning and Programmingsaludos need help on how to embed music in a compiled form in CodeGear C + + Builder 2009

09 Aug 2009, 22:03

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

Rating 0 Comments 4
Office Jesus
0
Office Jesus 09 Aug 2009, 22:55 #
Looks like you're missing the uFMOD libs or imports. Make sure you installed it correctly.
zelt@
0
zelt@ 10 Aug 2009, 22:33 #
I too have this problem seriously someone please put a tutorial together with UFMOD to use please
zelt@
0
zelt@ 13 Aug 2009, 20:00 #
solved my problem and it's easy and you do Wait a tutorial so you can more easily understand
zelt@
0
zelt@ 15 Aug 2009, 19:05 #
here is a tuto on how inscrustar music xm in c + + builder greetings

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

You have to login or register to post comments.

s0ph0kl3s
s0ph0kl3s
0 ♠ 0 ♣