Click here to Skip to main content
15,913,349 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStartServiceCtrlDispatcher - need Help!!! Pin
**bamboo**5-Aug-04 20:30
**bamboo**5-Aug-04 20:30 
GeneralRe: StartServiceCtrlDispatcher - need Help!!! Pin
Blake Miller6-Aug-04 8:54
Blake Miller6-Aug-04 8:54 
Generala Dialog Bar Question ! Pin
Renjith Ramachandran5-Aug-04 20:00
Renjith Ramachandran5-Aug-04 20:00 
GeneralRe: a Dialog Bar Question ! Pin
Bhaskar5-Aug-04 23:11
Bhaskar5-Aug-04 23:11 
GeneralDLL Programming Pin
Snillet2k5-Aug-04 19:53
Snillet2k5-Aug-04 19:53 
Questionhow to find the length or Time of the WAV file will be played using VC++ Pin
shiva shankar5-Aug-04 19:05
shiva shankar5-Aug-04 19:05 
AnswerRe: how to find the length or Time of the WAV file will be played using VC++ Pin
Sivaji5-Aug-04 23:24
Sivaji5-Aug-04 23:24 
AnswerRe: how to find the length or Time of the WAV file will be played using VC++ Pin
DavidR_r7-Aug-04 1:49
DavidR_r7-Aug-04 1:49 
Wav file is divide to chunks
This is the chank format:
----------------------------------
'RIFF' 4 bytes
size 4 bytes (ulong)
'WAVE' 4 bytes
'fmt ' 4 bytes
size 4 bytes (ulong)
<wave-format> 14 bytes
<format_specific> 2 bytes (PCM)
'data' 4 bytes
size 4 bytes (ulong)
<wave-data> N bytes
----------------------------------
the format of <wave-format> field is as follows:
wFormatTag, ushort
nChannels, ushort
nSamplesPerSec, ulong
nAvgBytesPerSec, ulong
nBlockAlign, ushort

Using this data and the previous snder reply you can calculater the duration of the wav file

DavidR
GeneralAbout Focus. Pin
Zero_One_ADO5-Aug-04 18:40
Zero_One_ADO5-Aug-04 18:40 
GeneralRe: About Focus. Pin
ThatsAlok5-Aug-04 21:39
ThatsAlok5-Aug-04 21:39 
GeneralDrag n Drop a file Pin
zahid_ash5-Aug-04 18:27
zahid_ash5-Aug-04 18:27 
GeneralStrange screen resolution problem Pin
Stan the man5-Aug-04 16:25
Stan the man5-Aug-04 16:25 
GeneralRe: Strange screen resolution problem Pin
Christian Graus5-Aug-04 16:44
protectorChristian Graus5-Aug-04 16:44 
GeneralRe: Strange screen resolution problem Pin
Stan the man5-Aug-04 18:16
Stan the man5-Aug-04 18:16 
GeneralRe: Strange screen resolution problem Pin
Ryan Binns5-Aug-04 20:25
Ryan Binns5-Aug-04 20:25 
GeneralCreating Thread in DLL Pin
aman20065-Aug-04 14:57
aman20065-Aug-04 14:57 
GeneralRe: Creating Thread in DLL Pin
oustar5-Aug-04 16:21
oustar5-Aug-04 16:21 
GeneralRe: Creating Thread in DLL Pin
aman20066-Aug-04 6:46
aman20066-Aug-04 6:46 
GeneralPicture control question Pin
ben25-Aug-04 13:12
ben25-Aug-04 13:12 
GeneralRe: Picture control question Pin
oustar5-Aug-04 16:41
oustar5-Aug-04 16:41 
GeneralRe: Picture control question Pin
Ryan Binns5-Aug-04 18:09
Ryan Binns5-Aug-04 18:09 
GeneralCreate a MSFlexGrid within my ActiveX Control Pin
Pinhead_Me5-Aug-04 12:08
Pinhead_Me5-Aug-04 12:08 
QuestionCan Tcp/Ip &quot;Accept() &quot; Be Made &quot;Non Blocking&quot; Pin
jerry1211a5-Aug-04 12:02
jerry1211a5-Aug-04 12:02 
AnswerRe: Can Tcp/Ip &quot;Accept() &quot; Be Made &quot;Non Blocking&quot; Pin
Ravi Bhavnani5-Aug-04 13:58
professionalRavi Bhavnani5-Aug-04 13:58 
GeneralRe: Can Tcp/Ip &quot;Accept() &quot; Be Made &quot;Non Blocking&quot; Pin
Ryan Binns5-Aug-04 18:33
Ryan Binns5-Aug-04 18:33 

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.