How to debug Multithreaded application using Visual studio 6.0

All,

Can you guys tell me on how to debug the Multi threaded application using
Visual studio 6.0.

Also can any one update me on the following query.

Using the new operator can we specify starting memory location during
allocating the memory for the objects.


Elango C
CompuApps, Inc.
Chennai, India.
website:http://celango.blogspot.com

“Obstacles are those frightful things you see
when you take your eyes off your goal.”

This is a user mode question that couldn’t reasonably be answered on any list because it’s WAY to large.

Cheers,

mm

Elango C wrote:

All,

Can you guys tell me on how to debug the Multi threaded application using
Visual studio 6.0.

Also can any one update me on the following query.

Using the new operator can we specify starting memory location during
allocating the memory for the objects.


Elango C
CompuApps, Inc.
Chennai, India.
website:http://celango.blogspot.com

“Obstacles are those frightful things you see
when you take your eyes off your goal.”

> Can you guys tell me on how to debug the Multi threaded application using Visual studio 6.0.

This is what MSFT NGs are for - IIRC, there is a NG that is dedicated specifically to Visual C++. However, we are kernel-level guys…

Using the new operator can we specify starting memory location during
allocating the memory for the objects.

Of course - after al, ‘new’ operator is overloadable, which opens doors to some certain tricks that allow you to call constructors without actually allocating new memory (i.e. something that you are not supposed to do in C++) . However, again, this is a wrong question for this NG…

Anton Bassov

Anton Bassov wrote:

Elango C wrote:
> Using the new operator can we specify starting memory
> location during
> allocating the memory for the objects.

Of course - after al, ‘new’ operator is overloadable, which
opens doors to some certain tricks that allow you to call
constructors without actually allocating new memory (i.e.
something that you are not supposed to do in C++) . However,
again, this is a wrong question for this NG…

Off-topic, of course - but “placement new” is standard C++.
http://www.parashift.com/c++-faq-lite/dtors.html#faq-11.10

>Off-topic, of course - but “placement new” is standard C++.

What is “standard C++”??? The very concept of operator overload makes it already not-so-standard in itself, because it gives you a chance to define a different meaning for predefined operators., so that the rest depends on your proficiency in C++ (indeed, “placement new” happens to be among well-known tricks)…

Anton Bassov

> Using the new operator can we specify starting memory location during

allocating the memory for the objects.

Only if you have the operator new routine in the class with additional
parameters.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

Anton Bassov wrote:

What is “standard C++”???
The very concept of operator overload makes it already not-so-standard in itself,
because it gives you a chance to define a different meaning for predefined operators.,
so that the rest depends on your proficiency in C++
(indeed, “placement new” happens to be among well-known tricks)…

Standard C++ is programming language as defined by ANSI Standard 14882. More precisely -

ISO/IEC 14882:2003
Programming languages - C++
International Organization for Standardization/International Electrotechnical Commission / 01-Oct-2003 /

Placement new is defined by this standard - so it is not a “trick” but part of language definition.
It just happens to be the exact answer for OP’s question.
Now, let’s stop here - before starting new record-length OT thread ?