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

C / C++ / MFC

 
GeneralRe: string, basic_string, stl and UNICODE Pin
Tomasz Sowinski5-Nov-01 1:51
Tomasz Sowinski5-Nov-01 1:51 
GeneralRe: string, basic_string, stl and UNICODE Pin
Michael P Butler5-Nov-01 3:42
Michael P Butler5-Nov-01 3:42 
GeneralRe: string, basic_string, stl and UNICODE Pin
Tomasz Sowinski5-Nov-01 3:58
Tomasz Sowinski5-Nov-01 3:58 
QuestionPrinting specific area of the dialog form? Pin
Deian5-Nov-01 0:16
Deian5-Nov-01 0:16 
QuestionChange something on the other dialog? Pin
Rickard Andersson204-Nov-01 23:34
Rickard Andersson204-Nov-01 23:34 
AnswerRe: Change something on the other dialog? Pin
Tomasz Sowinski5-Nov-01 0:44
Tomasz Sowinski5-Nov-01 0:44 
AnswerRe: Change something on the other dialog? Pin
6-Nov-01 1:34
suss6-Nov-01 1:34 
GeneralDatabase exception Pin
Jimmy Ehrnström4-Nov-01 23:09
Jimmy Ehrnström4-Nov-01 23:09 
In my program I'm calling a stored procedure (SQL Server) several times. Most of the times it works fine, but eventually I get the following exception:

"Could not allocate a new object descriptor for required system catalog in database '6'. Another database must be closed or objects in another database dropped in order to open this database."

Here's the code that generates the exception:

prsStolpe->MoveFirst();
CString sql;
sql.Format("{CALL TabortBesiktning(%d, %d)}", 
prsStolpe->m_LinjeomradeId, prsStolpe->m_StolpeId);
prsStolpe->m_pDatabase->ExecuteSQL(sql);
prsStolpe->Edit();
Initiera();
prsStolpe->Update();


I suspect that the combination of recordset and ExecuteSQL might cause the exception, but then I don't understand why it works fine for several calls before the exception occurs.

I did a search on the exception string and read something about the cause being "resource limitation". What resource would that be?

Please help me out if you can. I'm as confused as a baby in a topless bar. Confused | :confused:

Thanks!
GeneralMemory Leak Queries! Pin
AJ1234-Nov-01 22:51
AJ1234-Nov-01 22:51 
QuestionCan we know the available memory at runtime? Pin
Dhanush4-Nov-01 22:29
professionalDhanush4-Nov-01 22:29 
AnswerRe: Can we know the available memory at runtime? Pin
Nish Nishant4-Nov-01 22:40
sitebuilderNish Nishant4-Nov-01 22:40 
AnswerRe: Can we know the available memory at runtime? Pin
Tomasz Sowinski4-Nov-01 22:56
Tomasz Sowinski4-Nov-01 22:56 
GeneralRe: Can we know the available memory at runtime? Pin
Dhanush10-Nov-01 1:25
professionalDhanush10-Nov-01 1:25 
Generalchanging the value of a recordset's property Pin
Yair Konfino4-Nov-01 22:26
Yair Konfino4-Nov-01 22:26 
GeneralColor Pin
Deian4-Nov-01 21:59
Deian4-Nov-01 21:59 
GeneralRe: Color Pin
Nish Nishant4-Nov-01 22:21
sitebuilderNish Nishant4-Nov-01 22:21 
GeneralRe: Color Pin
Eugene Pustovoyt4-Nov-01 22:31
Eugene Pustovoyt4-Nov-01 22:31 
GeneralRe: Color Pin
Joaquín M López Muñoz4-Nov-01 23:08
Joaquín M López Muñoz4-Nov-01 23:08 
GeneralRe: Color Pin
5-Nov-01 0:07
suss5-Nov-01 0:07 
GeneralSerialize problem Pin
bashi4-Nov-01 20:09
bashi4-Nov-01 20:09 
GeneralAveraging & Median Filters Pin
4-Nov-01 19:50
suss4-Nov-01 19:50 
GeneralRe: Averaging & Median Filters Pin
markkuk4-Nov-01 20:00
markkuk4-Nov-01 20:00 
QuestionBoot Disk? Pin
Stephen Caldwell4-Nov-01 18:16
Stephen Caldwell4-Nov-01 18:16 
AnswerRe: Boot Disk? Pin
markkuk4-Nov-01 20:28
markkuk4-Nov-01 20:28 
AnswerRe: Boot Disk? Pin
Jon Hulatt4-Nov-01 22:52
Jon Hulatt4-Nov-01 22:52 

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.