473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

making code native in a C++/CLI program

Under certain circumstances I get:
First-chance exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe:
0xC0020001: The string binding is invalid.
First-chance exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe: Microsoft
C++ exception: [rethrow] at memory location 0x00000000..
Unhandled exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe: 0xC0020001:
The string binding is invalid.

Googling this exception brought me to a blog posting by Chris Brumme
indicating that this is a result of making an unmanaged->managed transition
while the CLR is shutting down
(http://blogs.msdn.com/cbrumme/archiv.../15/51318.aspx)

However, on the line where the debugger stops, I do not believe the compiler
should be generating a call into managed code. I do not want this thread to
make a call to managed code. I do not want this code to crash if the CLR
shuts down. I do not want this code to stop when the CLR does a garbage
collection.

The debugger stops in the following function:

/**
** \brief Performs in-place default construction
** \param[in] length Number of elements to allocate/construct
** \return Pointer to memory containing \c length elements, default
constructed
**/
static T* init( size_t const length )
{
// would like p = new T[length]
// but can't mix and match in-place copy construction
// with array form of new, since one needs to be freed with
// ::operator delete, and the other with T::operator delete[]
T* p = (T*)::operator new(length * sizeof (T));
size_t left = length;

try {
while (left-- 0)
new (p + left) T(); // 0xC0020001 thrown here
}
catch (...) {
// in case of exception, destroy any elements already created
while (++left < length)
(p + left)->~T();

throw;
}

return p;
}
T is a typename template parameter which is a pointer to native struct. The
template definition is bracketed by pragma managed(push, off). So is the
declaration of the instantiating variable. The first function on the stack
not in the template class is in a .cpp file protected by pragma unmanaged.

Why is the compiler using managed code, and how do I make it stop!?! A
placement new for a pointer type shouldn't do anything anyway.
Dec 26 '06 #1
14 7500

"Ben Voigt" <rb*@nospam.nospamwrote in message
news:up**************@TK2MSFTNGP02.phx.gbl...
Under certain circumstances I get:
First-chance exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe:
0xC0020001: The string binding is invalid.
First-chance exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe:
Microsoft C++ exception: [rethrow] at memory location 0x00000000..
Unhandled exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe:
0xC0020001: The string binding is invalid.
BTW here is the call stack:
kernel32.dll!_RaiseException@16() + 0x52 bytes
mscorwks.dll!COMPlusThrowBoot() + 0x1c bytes
mscorwks.dll!_StubRareDisableTHROWWorker@8() + 0x24 bytes
mscorwks.dll!_StubRareDisableTHROW() + 0x9 bytes
XYZ.dll!lenarray<ABC *>::init(const unsigned int length=1) Line 97 + 0x11
bytes C++
Dec 26 '06 #2
Hi Ben,

What's version of .Net are you using? .Net1.1 managed C++ or .Net2.0 CLI?
Based on your post title, I assume you are using VS2005 and .Net2.0, yes?

Based on the exceptions information you provided, there are 3 records:
1. First-chance exception at 0x7c812a5b
2. First-chance exception at 0x7c812a5b (C++ exception: [rethrow] at memory
location 0x00000000)
3. Unhandled exception at 0x7c812a5b

It reveals that 0xC0020001 first chance exception generates in try block,
which is caught by catch block. Then the "throw" statement rethrows the
exception again, which is not caught by any other exception handler, so it
will finally result in an unhandled second chance exception in debugger.

Although T* points to a native structure, the init() method executes in
/clr mode, which means the init() method is the managed function. So the
"throw" statement is implement by the CLR instead of the CRT native code.
However, based on the cbrumme's blog entry, when the exception is rethrown
by the "throw" statement, the CLR has started shutting down. Then the
"throw" statement calls into the CLR for managed exception throwing, which
results in the BOOTUP_EXCEPTION_COMPLUS generated with the stack trace you
got.

I am not sure if this design is what you expected. If you want to execute
the init() method "throw" statement in native mode, you may also use
#pragma managed(push, off) to mark init() method:
http://msdn2.microsoft.com/en-us/lib...xe(VS.80).aspx

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 27 '06 #3

""Jeffrey Tan[MSFT]"" <je***@online.microsoft.comwrote in message
news:gk***************@TK2MSFTNGHUB02.phx.gbl...
Hi Ben,

What's version of .Net are you using? .Net1.1 managed C++ or .Net2.0 CLI?
Based on your post title, I assume you are using VS2005 and .Net2.0, yes?
Yes, C++/CLI compiler from VS2005 w/SP1 beta. Is the final SP1 released
yet?
>
Based on the exceptions information you provided, there are 3 records:
1. First-chance exception at 0x7c812a5b
2. First-chance exception at 0x7c812a5b (C++ exception: [rethrow] at
memory
location 0x00000000)
3. Unhandled exception at 0x7c812a5b

It reveals that 0xC0020001 first chance exception generates in try block,
which is caught by catch block. Then the "throw" statement rethrows the
exception again, which is not caught by any other exception handler, so
it
will finally result in an unhandled second chance exception in debugger.

Although T* points to a native structure, the init() method executes in
/clr mode, which means the init() method is the managed function. So the
"throw" statement is implement by the CLR instead of the CRT native code.
Thanks for looking at this problem. The init function is however defined
inline inside a template class, which is inside pragma managed(push, off).
The typename parameter to the class is a "pointer to native struct". The
variable declared using the template, and the call point for the init
function, are also inside pragma managed(push, off).
However, based on the cbrumme's blog entry, when the exception is rethrown
by the "throw" statement, the CLR has started shutting down. Then the
"throw" statement calls into the CLR for managed exception throwing, which
results in the BOOTUP_EXCEPTION_COMPLUS generated with the stack trace you
got.
The BOOTUP_EXCEPTION_COMPLUS is not being generated by my throw statement,
the throw statement rethrows BOOTUP_EXCEPTION_COMPLUS that occurred inside
the try block.

It is the call to placement new that the compiler has translated as a
managed call which is producing the exception. I'm somewhat surprised that
this call to placement new isn't optimized away during template
instantiation, even in release mode (since the constructor for a pointer
type is a no-op), followed by the loop, and exception frame.

In general I believe these two sequences should be equivalent for any T,
barring stack unwinding:

{
T temp; // reserves memory; calls default constructor
} // destructor called at end of scope

or

BYTE untyped[sizeof (T)]; // reserve memory
new (untyped) T(); // call default constructor
{
T& temp = *(T*)untyped;
}
((T*)untyped)->~T(); // destructor called at end of scope
>
I am not sure if this design is what you expected. If you want to execute
the init() method "throw" statement in native mode, you may also use
#pragma managed(push, off) to mark init() method:
http://msdn2.microsoft.com/en-us/lib...xe(VS.80).aspx

Hope this helps.
I have implemented alternate versions of the function and used type traits
to select an empty init function in the case where T is a pointer type.
I've eliminated another source of the BOOTUP_EXCEPTION_COMPLUS by placing
pragma managed(push, off) around the STL headers. Is there any way to
ensure that a particular thread doesn't call into managed code? Can I
inspect TLS to determine if the managed runtime ever initialized on the
thread?
>
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Dec 27 '06 #4
Hi Ben,

Thanks for your feedback and confirm.

Yes, based on your further information, it seems that init() method should
also execute the native code, which makes the exception very strange.

Is it possible for you to create a little sample project to demonstrate
this problem? So that I will give a reproduce on my side. This will be
easier for us to understand and debug this problem, thanks.

To identify if one thread is managed or not, you may use windbg to attach
your application and then use SOS.dll "!threads" command to list all the
managed threads. John Robbins' article below shows the steps of using
SOS.dll in windbg:
http://msdn.microsoft.com/msdnmag/is.../06/Bugslayer/

I will wait for the reproduce project for debugging. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 28 '06 #5
Ben Voigt wrote:
Yes, C++/CLI compiler from VS2005 w/SP1 beta. Is the final SP1 released
yet?
Was releasedon on Dec 14, but there is not a single reference to it on
MSDN. They kept it in secret, its not announced or linked anywhere. It's
not on the MSDN Subscribers Download page either. The only way to find
it is performing a google search, which of course returns the download link:

http://www.microsoft.com/downloads/d...displaylang=en

Tom
Dec 28 '06 #6
"Tamas Demjen" <td*****@yahoo.comwrote in message
news:eU****************@TK2MSFTNGP04.phx.gbl...
Ben Voigt wrote:
>Yes, C++/CLI compiler from VS2005 w/SP1 beta. Is the final SP1 released
yet?

Was releasedon on Dec 14, but there is not a single reference to it on
MSDN. They kept it in secret, its not announced or linked anywhere. It's
not on the MSDN Subscribers Download page either. The only way to find it
is performing a google search, which of course returns the download link:

http://www.microsoft.com/downloads/d...displaylang=en
While there isn't much fanfare on the MSDN site, it's not quite as bad as
you describe -

From the MSDN home page, clicking on "Visual Studio" and then "Downloads"
and then "Product Updates" and then "Service Packs" takes you to

http://msdn2.microsoft.com/en-us/vstudio/aa718359.aspx

which has the download link.

-cd
Dec 29 '06 #7
Carl Daniel [VC++ MVP] wrote:
While there isn't much fanfare on the MSDN site, it's not quite as bad as
you describe -
Thanks Carl. There is, indeed, a link to SP1 on the front page now. When
I was checking it last time around the 21st of December, it was not on
Subscribers Downloads, Announcements, nor the VS 2005 Developer Center
section. If they had a download link, I must have missed it. Right now
it's very visible, which is a good thing.

Tom

Dec 29 '06 #8
Hi Tamas,

Thank you for pointing this out. I forget to provide it to Ben.

Additionally, below recently released KB documented the bugs fixed by SP1:
"List of bugs that are fixed in Visual Studio 2005 Service Pack 1"
http://support.microsoft.com/kb/918526

Hope it helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 29 '06 #9

""Jeffrey Tan[MSFT]"" <je***@online.microsoft.comwrote in message
news:IB**************@TK2MSFTNGHUB02.phx.gbl...
Hi Ben,

Thanks for your feedback and confirm.

Yes, based on your further information, it seems that init() method should
also execute the native code, which makes the exception very strange.

Is it possible for you to create a little sample project to demonstrate
this problem? So that I will give a reproduce on my side. This will be
easier for us to understand and debug this problem, thanks.
Since I've since corrected the registry settings that caused our software to
bail out such that the CLR exited early and caused the exception, I can no
longer get the exception to reproduce. However, generating the undesired
unmanaged->managed code transition is quite straightforward. Simply
instantiating the function I gave you on the type void* generates managed
constructor calls.

The compiler generates a managed function call for "new (p + left) T();",
even when T is void* or (struct native)*.

#pragma managed(push, off)
template <typename T>
class lenarray
{
/**
** \brief Performs in-place default construction
** \param[in] length Number of elements to allocate/construct
** \return Pointer to memory containing \c length elements, default
constructed
**/
static T* init( size_t const length )
{
// would like p = new T[length]
// but can't mix and match in-place copy construction
// with array form of new, since one needs to be freed with
// ::operator delete, and the other with T::operator delete[]
T* p = (T*)::operator new(length * sizeof (T));
size_t left = length;

try {
while (left-- 0)
new (p + left) T(); // 0xC0020001 thrown here
}
catch (...) {
// in case of exception, destroy any elements already created
while (++left < length)
(p + left)->~T();

throw;
}

return p;
}

size_t m_Length;
T* m_pElements;
public:
lenarray(size_t length) : m_Length(length), m_pElements(init(length)) {}
// copy constructor, destructor, accessors, operator[] all not needed for
reproducing problem
};

lenarray<void*>test(10);

#pragma managed(off)

>
To identify if one thread is managed or not, you may use windbg to attach
your application and then use SOS.dll "!threads" command to list all the
managed threads. John Robbins' article below shows the steps of using
SOS.dll in windbg:
http://msdn.microsoft.com/msdnmag/is.../06/Bugslayer/

I will wait for the reproduce project for debugging. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Dec 29 '06 #10

""Jeffrey Tan[MSFT]"" <je***@online.microsoft.comwrote in message
news:d1**************@TK2MSFTNGHUB02.phx.gbl...
Hi Tamas,

Thank you for pointing this out. I forget to provide it to Ben.

Additionally, below recently released KB documented the bugs fixed by SP1:
"List of bugs that are fixed in Visual Studio 2005 Service Pack 1"
http://support.microsoft.com/kb/918526
Some of those look like they will help various issues I've experienced and
had to work around in the past.

When I ran the SP1 installer, it updated Team Explorer, but never said
anything about Visual Studio Professional.... how can I check that I'm using
the SP1 final compiler?
>
Hope it helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Dec 29 '06 #11
Hi Ben,

You may open "Help"->"About Microsoft Visual Studio" option to check if the
SP1 is applied.

For the VS2005 with SP1 installed, there will be one item in the listbox
with the information below:

"Microsoft Visual Studio 2005 Team Suite - ENU Service Pack 1 (KB926601)

This service pack is for Microsoft Visual Studio 2005 Team Suite - ENU.
If you later install a more recent service pack, this service pack will be
uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601"

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 2 '07 #12
Hi Ben,

Happy New Year!

Yes, I have consulted this issue with some other MS devs, below is their
comment:

"Once you give the /clr switch, which code is managed and which is native
is not easily predicted.
"pragma managed" doesn't work 100%.

If you want native code, don't use /clr.

And then you can link it all together no problem."

Hope it helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 2 '07 #13

""Jeffrey Tan[MSFT]"" <je***@online.microsoft.comwrote in message
news:k2**************@TK2MSFTNGHUB02.phx.gbl...
Hi Ben,

You may open "Help"->"About Microsoft Visual Studio" option to check if
the
SP1 is applied.

For the VS2005 with SP1 installed, there will be one item in the listbox
with the information below:

"Microsoft Visual Studio 2005 Team Suite - ENU Service Pack 1 (KB926601)
I have VS2005 Pro installed along with Team Explorer.... my Help About
contains:

Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005 77626-009-0000007-41845
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77626-009-0000007-41845
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77626-009-0000007-41845
Microsoft Visual C++ 2005

Microsoft Visual J# 2005 77626-009-0000007-41845
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41845
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77626-009-0000007-41845
Microsoft Web Application Projects 2005
Version 8.0.50727.363

Visual Studio 2005 Team Explorer 77626-009-0000007-41845
Microsoft Visual Studio 2005 Team Explorer
Version 8.0.50727.762

Microsoft.SpecSharp 1.0.6404.0
Microsoft® Spec# Compiler, Version 1.0.6404.0

Team Foundation PowerToys 1.0
PowerToys that extend the Team Foundation integration with Visual Studio
>
This service pack is for Microsoft Visual Studio 2005 Team Suite - ENU.
If you later install a more recent service pack, this service pack will be
uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601"

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Jan 3 '07 #14
Hi Ben,

Yes, I think the SP1 is actived on your VS2005. After applying the SP1, the
version will upgrade from "Version 8.0.50727.42 (RTM.050727-4200)" to
"Version 8.0.50727.762 (SP.050727-7600)".

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 4 '07 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
67
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
235
by: napi | last post by:
I think you would agree with me that a C compiler that directly produces Java Byte Code to be run on any JVM is something that is missing to software programmers so far. With such a tool one could...
351
by: CBFalconer | last post by:
We often find hidden, and totally unnecessary, assumptions being made in code. The following leans heavily on one particular example, which happens to be in C. However similar things can (and...
84
by: Peter Olcott | last post by:
Is there anyway of doing this besides making my own string from scratch? union AnyType { std::string String; double Number; };
1
by: Bern McCarty | last post by:
We upgraded a bunch of MEC++ code to C++/CLI about 10 months ago and we've noticed that our images bloated quite a lot in the process. Upon investigating I observed that when a /clr compiland...
5
by: Bern McCarty | last post by:
We upgraded a bunch of MEC++ code to C++/CLI about 11 months ago and we've noticed that our images bloated quite a lot in the process. Upon investigating I observed that when a /clr compiland...
0
by: walve_wei | last post by:
<1>use the D3D control panel, enable the debug DLL and maximum validation,for D3D control panel ,you need to install the directx sdk. <2>Start up the debug monitor (<MSVC install...
15
by: colemanj4 | last post by:
Here is what I have so far, it loops while the PW is incorrect, or until cancel is selected. I want it to lock the tables for adds, deletes, and edits when cancel is selected, and if the PW is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.