September 14th, 2006 06:39 PM
Exterminator, If this code works it is exately what I want. I´ll try it.
Thank you all for replies.
September 6th, 2006 02:00 PM
I´m new to Sysbase and I´m working on a stored procedure that I need to commit on blocks of 1000 rows. Is there any parameter that I can set for example <BlockCommit=1000> ? if not, Is there any...
August 8th, 2006 03:00 PM
Ok, thank you all for your explantions.
August 7th, 2006 03:32 PM
I´ve read that this call before any use of streams will improved performance because it breaks the sincronization of C++ with C on io operations.
questions:
1) It improves the performance only on...
February 11th, 2006 12:30 PM
Hi all,
I´m working with a MDI aplication and I have several (about 3 or 4) windows opened. the situation is if an indicated window is closed, another indicated windows cannot be closed anymore. I...
January 25th, 2006 03:44 PM
Is all I was looking for, thank you very much golanshahar.
January 24th, 2006 01:08 PM
hi all,
I just wanna know if C is really a "deprecated" language. It´s last one stardizations (ANSI) was publicated in 1999, is this correct? I´ve seen on ANSI site a standard named "Programming...
January 24th, 2006 11:26 AM
I’m working in a program that deal with CD in a low level and need to learn how to format a CD on Windows. My background on this stuff is that on DOS times I worked with programs that format...
January 2nd, 2006 12:10 PM
Yes, but I´ll need to read all document at first time without print it just to get its extents. I would like to avoid this step. I would like to try another solution (if it exists).
Thank you
January 2nd, 2006 09:54 AM
That is the problem, on OnSize I don´t have the document sizes yet. I have the sizes only after the first draw. I compute the size doing:
CMyScrollView::OnDraw(CDC* pDC)
{
...
if(Extremex <...
January 2nd, 2006 07:38 AM
Hi!!
I´m using SetScrollSizes to set the bars of a CScroolView Window. I only know the document size after the very first time I print it (on OnDraw). So I´m declaring a flag that sinalizes if it is...
December 1st, 2005 09:15 AM
Ok Philip, is it! Thank you very much.
December 1st, 2005 08:05 AM
Hi all,
I´m using a std::stringstream and filling it with several lines. I need to print these lines 2 times and I´m not getting to use it at the second time. I presume that the eofbit is set...
November 22nd, 2005 01:40 PM
I can´t belive!!!! It was .c ..... :lol: I am working on a third party project and this detail wasn´t noticed... :eek:
Thank you !
November 22nd, 2005 09:40 AM
At the beggining of the program:
#include <set>
#define _TESTEC_C_
#include <windows.h>
#include "calcpoints.h"
.....
And I don´t declare any class of type std::set. The error occurs inside...
November 22nd, 2005 09:22 AM
That is the funny part. I just included the set. I commented the set declaration and the error persist. if I comment the #include <set>, the program compile ok.
November 22nd, 2005 09:14 AM
You do xx[3]*points[i] twice on this calculation, try creating a variable and save this 2nd calculation. You can also put these 2 fors variables in a register(for (register inti=0 ; ...) , if the...
November 22nd, 2005 08:46 AM
hi all,
I´m using a std::set in a simple aplication in VC6.0. I´m not using MFC neither precompiled headers. The problem is that the compile complains when I include <set> the error is c:\program...
October 31st, 2005 06:16 PM
I´m still having problems... The WaitForSingleObject is returning WAIT_ABANDONED
See what I did:
on the outer dialog:
HANDLE Evento = NULL; // global
...
Evento = new...
October 31st, 2005 04:10 PM
thank you very much, for your help and corrections.
October 29th, 2005 12:33 PM
hi ,
I have an aplication that has a dialog and inside this dialog I have another dialog that is on a work thread. When I show the outer dialog I run the thread on the inner dialog and have to...
October 12th, 2005 11:23 AM
wow rajesh_krec !!! Congratulations!!! (the variable name dosen't matter)
Baby Guru: ... ( Just one character....)
Eli Gassert: The first I tried. Doesn´t work because 0 > -42...
sunnypalsingh...
October 12th, 2005 08:19 AM
Recently I was questioned about a test in C that I couldn´t find the answer. Can anybody Help me to find it?
...
int i,num = 42;
for (i=0 ; i < num ; i--)
printf("*");
...
The intent is...
October 2nd, 2005 09:39 AM
Very unusual.... I´m thinking on the user trying to find something on this TreeView. He will get very confused, how to find something in a so big tree?
I think that it would be better if you divide...
October 2nd, 2005 07:32 AM
Actually it does make difference. The second case, using initialization list has better performance im most of the cases. On the 1st case the = operator is called, and on the 2nd it is not called.