Search:
Type: Posts; User: Oliver M.
Search:
Search took 0.05 seconds.
-
February 24th, 2006, 09:16 AM
I am also on VC++ 6.0 SP6.
Now that I disable VA every time before I debug, I experience much fewer lockups.
Another thing to be checked is what other programs are installed and running, for...
-
February 22nd, 2006, 10:07 AM
Well, I'd rather restart when VS hangs than rebuild all every time, this would take less time in case of my project (legacy code bload) :(
Do you have any plugins in VS installed? I had relatively...
-
February 22nd, 2006, 04:32 AM
I also lived with the described symptom on Windows XP for a few years now, every now and then searching for a solution. Did anybody already solved this issue?
-
February 6th, 2006, 02:10 PM
The terminating null is not required by the ID3v1 tag, just store 29 chars without terminating null. Sorry for being OT.
-
February 6th, 2006, 02:48 AM
This declares a "C" Bitfield e.g. in a struct. AFAIK only integral types (signed, unsigned, int) are allowed. You basically say that the is_key variable should use 1 bit. Example:
struct SFoo {...
-
February 3rd, 2006, 08:43 AM
Interesting what you read from the line "issues of multithreading (although it is not that safe)"... I meant "safe" in regards to debugging issues, nothing more.
-
February 3rd, 2006, 03:29 AM
You cannot use the CListCtrl class from multiple threads because MFC uses thread-local storage to map window handles to MFC objects.
Try to use the window handle of the list control instead of the...
-
February 2nd, 2006, 03:42 AM
The OP obviously does not want to create a typical clone function. I think he wants to create an object of a type that is defined dynamically by the type of another object. Thus he wants to 'clone'...
-
February 2nd, 2006, 03:29 AM
Right: just make it a habit to always set pointers to deleted objects to NULL and forget about it. It will not harm you (much) but might help you. :)
-
February 1st, 2006, 01:02 PM
You are right, I overlooked your statement
But be honest: how many compilers and systems do you know where the memory is neither sweeped in debug mode nor the access of an unallocated memory...
-
February 1st, 2006, 10:25 AM
You cannot dynamically bind default values in function definitions because the function type is defined statically and the default value is part of the function type. Thus the compiler must know the...
-
February 1st, 2006, 10:12 AM
The last call to foo->someFunc() calls the function code correctly, but the object the function points to is already deleted. The point is that after ~Foo has been called and may even have set foo->p...
-
November 7th, 2005, 02:37 AM
The switch statement was just an example; the real code is much more complicated. Anyway, it's my decision whether to write optimized or readable code in the first place, and I should strive for...
-
November 4th, 2005, 07:55 AM
Aaahhrrgg! Even more typing! Aaahhrrgg! ;) Just kidding - this is a very good idea and I think that a good optimizing compiler will not leave any overhead. Thank you!
-
November 4th, 2005, 07:10 AM
bummer :(Maybe you're right ;)
Ok, I also felt it would increase code readability in some places, but well, then I have to use multiple using declarations (although they are non-standard).
...
-
November 4th, 2005, 06:49 AM
Consider the following:
struct SColors
{
enum enColors { red, green,blue };
};
void Foo(SColors::enColor Color)
{
switch(Color)
-
September 13th, 2005, 04:56 AM
@humptydumpty
Thanks for your comment. I also realized this behavior, since I am playing around with this issue quite a few days. The question was *why* both function calls have the same address.
...
-
September 13th, 2005, 03:20 AM
Well, I think I am stuck:
template<int TSIZE>
struct A
{
int get_size() const { return TSIZE; };
char buffer[TSIZE];
};
template<int TSIZE>
-
August 11th, 2005, 01:30 AM
I experience a strange behavior of the MSXML3 parser: My code uses the MSXML3 component (CLSID_XMLDocument, through the IXMLDocument, IXMLElement, IXMLElementCollection interfaces) to parse XML...
-
July 26th, 2005, 04:04 AM
A possible solution would be
1) add a string member variable to the dialog, e.g. m_sError
2) store the change deny message in the member variable instead of displaying it in OnItemChangingLC
3)...
-
July 14th, 2005, 02:24 AM
Occasionally found another solution for accessing the numeric_limits::min/max while peeking into the boost library code. Sometimes it's so simple after all:
// Will not compile if max(a,b) macro...
-
July 13th, 2005, 12:11 AM
Based on your answer I assume that you did not understand the issue. Please reread my post!
I need to use e.g. std::numeric_limits<>::max(), so how can I do so if the max(a,b) macro is defined? Or...
-
July 12th, 2005, 01:41 PM
@marten_range
Ah, the pragma's! I'll enclose them with #ifdef _MSC_VER and off I go!
Thank you, this is a life-safer!
And thank you for your applause. I'm not so critical with MS code, most of...
-
July 12th, 2005, 08:03 AM
Yes, but as I wrote, I'm working on a project that makes heavy use of these macros. I cannot tell all developers to rewrite their code just because I globally undefine these macros.
So I'm looking...
-
July 12th, 2005, 06:30 AM
I'm just working on a project that makes heavy use of the min(a,b) and max(a,b) macros defined in Windef.h. I would really prefer using std::min(...) and std::max(...) instead, not to mention...
|
Click Here to Expand Forum to Full Width
|