MCI sample from Borland Code Center not saves the filename ok - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

MCI sample from Borland Code Center not saves the filename ok

I tested an MCI sample from Borland Code Center and it works ok, but it not saves the filename ok, and I don't understand why.

This is the code (i have changed testing to solve the problem the instruction wsprintf of the sample to strcpy)

char file[96]="";
strcpy(file,"aud.wav");
//
// now stop audio and save to disk
MCIWndStop(m_hMCIWnd);
MCIWndSave(m_hMCIWnd, file);
MCIWndClose(m_hMCIWnd);

It saves the file but with name like ⹤v

Someone knows a solution to this?




Comments

Sign In or Register to comment.