0
0

alguem pode me dizer como abrir arquivos pelo opendialog?

tentei esse metodo e não funcionou:

procedure button1.click (…)
begin
if opendialog1.execute then
edit1.text := opendialog1.filename;
end;

e depois criar uma stream:

result := FMOD_System_createStream(system, (pchar(edit1.text)), FMOD_hardware, nil, sound);
result := FMOD_Sound_SetMode(sound, FMOD_LOOP_OFF);
ErrCheck(result);

alguem pode me dizer por que ele não pega o caminho do arquivo pelo edit1.text?

  • You must to post comments
0
0

а если я буду писать вопросы на русском?

please make your question in english, because is’s more simply for understand…

  • You must to post comments
0
0

rigth…

how can i open files from opendialog?

this method does work :

procedure button1.click (…)

if opendialog1.execute then

edit1.text := opendialog1.filename;

result := fmod_createstream (system, [color=cyan:3432fdq9](pchar(edit1.text), [/color:3432fdq9]…..)

what’s wrong?

  • You must to post comments
0
0

anyone??????

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.