hi to all, i am naveen newly joind to this group. i have problem in mp3 file accesing. 1. i want to invoke an mp3 file using C 2. i have to record in mp3 format i got some examples below using VC++ MSDN. i want to know about in detail of the solution, and i did'nt get solution for recording please help me out in that ///this is an sample prg i found in MSDN
MCI_OPEN_PARMS op; op.dwCallback = NULL; op.lpstrDeviceType = (char*)MCI_ALL_DEVICE_ID; op.lpstrElementName = "you_file_name.mp3"; op.lpstrAlias = NULL; // Open command mciSendCommand( NULL, MCI_OPEN, MCI_OPEN_ELEMENT | MCI_WAIT | MCI_OPEN_TYPE | MCI_OPEN_TYPE_ID, (DWORD)&op); // Play command MCI_PLAY_PARMS pp; pp.dwCallback = NULL; pp.dwFrom = 0; mciSendCommand(pDevice, MCI_PLAY, MCI_NOTIFY | MCI_FROM, (DWORD)&pp); regards, naveen
