Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalpdf: CMYK and RGB Pin
gis13-Jul-04 2:39
gis13-Jul-04 2:39 
GeneralRe: pdf: CMYK and RGB Pin
bikram singh13-Jul-04 6:37
bikram singh13-Jul-04 6:37 
GeneralRe: pdf: CMYK and RGB Pin
gis13-Jul-04 14:03
gis13-Jul-04 14:03 
GeneralRe: pdf: CMYK and RGB Pin
bikram singh13-Jul-04 22:00
bikram singh13-Jul-04 22:00 
GeneralNetwork install Pin
Monty213-Jul-04 2:37
Monty213-Jul-04 2:37 
GeneralRe: Network install Pin
Johnny ²13-Jul-04 3:16
Johnny ²13-Jul-04 3:16 
GeneralRe: Network install Pin
David Crow13-Jul-04 4:51
David Crow13-Jul-04 4:51 
Generalrecording with mcisendstring Pin
Anonymous13-Jul-04 2:02
Anonymous13-Jul-04 2:02 
I've got an mp3/wav player working quite well, but when i use the application to record and then play the file back, the time (length) is wrong. The file saves/plays fine.

mciSendString("open new type waveaudio alias current wait", 0, 0, 0);

mciSendString("set current format tag pcm bitspersample 16 channels 1 samplespersec 44100 wait", 0, 0, 0);

mciSendString("record current from 0 overwrite", 0, 0, 0);
.
.
.
if(m_saveFile.DoModal() == IDOK)
{
CString saveFile = "save current "+ m_saveFile.GetPathName() + " wait";
mciSendString(saveFile, 0, 0, 0);
mciSendString("close current wait", 0, 0, 0);

when i open the file and query the time format it returns "milliseconds", but the time it gives me (querying length) is usually about ten times what it actually is. The application gives the correct length of pre-saved files.....

ring any bells?
QuestionHow to handle a Slider Control Pin
Zeeshan Bilal13-Jul-04 1:29
Zeeshan Bilal13-Jul-04 1:29 
AnswerRe: How to handle a Slider Control Pin
gmn13-Jul-04 1:50
gmn13-Jul-04 1:50 
GeneralRe: How to handle a Slider Control Pin
Zeeshan Bilal13-Jul-04 2:18
Zeeshan Bilal13-Jul-04 2:18 
GeneralRe: How to handle a Slider Control Pin
gmn13-Jul-04 2:38
gmn13-Jul-04 2:38 
AnswerRe: How to handle a Slider Control Pin
ThatsAlok13-Jul-04 1:58
ThatsAlok13-Jul-04 1:58 
GeneralProblem Exporting the Modal Dialog from a Regular MFC DLL Pin
SriSubbu13-Jul-04 1:17
professionalSriSubbu13-Jul-04 1:17 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
ThatsAlok13-Jul-04 2:08
ThatsAlok13-Jul-04 2:08 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
SriSubbu13-Jul-04 2:14
professionalSriSubbu13-Jul-04 2:14 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
ThatsAlok13-Jul-04 2:35
ThatsAlok13-Jul-04 2:35 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
SriSubbu13-Jul-04 3:43
professionalSriSubbu13-Jul-04 3:43 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
bikram singh13-Jul-04 4:37
bikram singh13-Jul-04 4:37 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
SriSubbu13-Jul-04 5:45
professionalSriSubbu13-Jul-04 5:45 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
bikram singh13-Jul-04 6:22
bikram singh13-Jul-04 6:22 
GeneralRe: Problem Exporting the Modal Dialog from a Regular MFC DLL Pin
SriSubbu13-Jul-04 10:50
professionalSriSubbu13-Jul-04 10:50 
Generalobjectpointer through memory Pin
abhay10113-Jul-04 0:53
abhay10113-Jul-04 0:53 
Generalobjectpointer through memory Pin
abhay10113-Jul-04 0:53
abhay10113-Jul-04 0:53 
GeneralRe: objectpointer through memory Pin
bikram singh13-Jul-04 4:39
bikram singh13-Jul-04 4:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.