Click here to Skip to main content
15,912,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can i make the toolbar active bt default. Pin
johny_koshy6-Mar-07 4:19
johny_koshy6-Mar-07 4:19 
Questionabout SetTimer Pin
mfc_dialog6-Mar-07 4:11
mfc_dialog6-Mar-07 4:11 
AnswerRe: about SetTimer Pin
Roger Stoltz6-Mar-07 4:51
Roger Stoltz6-Mar-07 4:51 
GeneralTemplate member functions Pin
hairy_hats6-Mar-07 1:35
hairy_hats6-Mar-07 1:35 
QuestionRe: Template member functions Pin
prasad_som6-Mar-07 1:54
prasad_som6-Mar-07 1:54 
GeneralRe: Template member functions Pin
Maximilien6-Mar-07 2:37
Maximilien6-Mar-07 2:37 
GeneralRe: Template member functions Pin
Stephen Hewitt6-Mar-07 11:52
Stephen Hewitt6-Mar-07 11:52 
Questionopen(char*,...) fails with "Too many open files" ..help me pls Pin
dharani6-Mar-07 1:32
dharani6-Mar-07 1:32 
HI all
I have a piece of code in C which fails . This function tries to open a .wav file ..
The function is
int audio_file =open(filename,flag,AUDIO_PERMISSION);
if(audio_file<0)
{
\\ ...failure to open file so restart the CPU
}
The return value as defined in errno.h is EMFILE=24 => "Too many files opened"

What could be the reason for this failure and how to prevent it ? This problem has not been reproduced by me but only at a customer's site .
Can anyone please help me ?




redindian

AnswerRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
David Crow6-Mar-07 2:49
David Crow6-Mar-07 2:49 
AnswerRe: open(char*,...) fails with &quot;Too many open files&quot; ..help me pls Pin
Nemanja Trifunovic6-Mar-07 3:15
Nemanja Trifunovic6-Mar-07 3:15 
AnswerRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
Blake Miller6-Mar-07 6:50
Blake Miller6-Mar-07 6:50 
GeneralRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
dharani6-Mar-07 17:23
dharani6-Mar-07 17:23 
GeneralRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
kakan6-Mar-07 19:14
professionalkakan6-Mar-07 19:14 
GeneralRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
Blake Miller7-Mar-07 10:14
Blake Miller7-Mar-07 10:14 
QuestionRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
David Crow7-Mar-07 2:54
David Crow7-Mar-07 2:54 
QuestionHow to disable CD drive Pin
VC_RYK6-Mar-07 1:23
VC_RYK6-Mar-07 1:23 
AnswerRe: How to disable CD drive Pin
Newbie006-Mar-07 2:16
Newbie006-Mar-07 2:16 
AnswerRe: How to disable CD drive Pin
Super Hornet6-Mar-07 6:37
Super Hornet6-Mar-07 6:37 
GeneralRe: How to disable CD drive Pin
VC_RYK6-Mar-07 20:22
VC_RYK6-Mar-07 20:22 
QuestionIPadderss details mfc Pin
deeps_cute6-Mar-07 1:20
deeps_cute6-Mar-07 1:20 
AnswerRe: IPadderss details mfc Pin
James R. Twine6-Mar-07 1:25
James R. Twine6-Mar-07 1:25 
GeneralRe: IPadderss details mfc --please help me i need it Pin
deeps_cute6-Mar-07 1:32
deeps_cute6-Mar-07 1:32 
GeneralRe: IPadderss details mfc --please help me i need it Pin
David Crow6-Mar-07 2:53
David Crow6-Mar-07 2:53 
AnswerRe: IPadderss details mfc Pin
David Crow6-Mar-07 2:50
David Crow6-Mar-07 2:50 
GeneralRe: IPadderss details mfc Pin
deeps_cute6-Mar-07 3:27
deeps_cute6-Mar-07 3:27 

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.