473,756 Members | 6,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

StackOverflowEx ception with attribute

Hi,
I have a project based on .Net 1.1 and VS 2003,now I am trying to upgrade it
to .Net 2.0 and VS 2005.The project passes the 'Build Solution',but When I
start Debug, it suddenly comes StackOverflowEx ception and Debug stops.

The main Exception point is the function below:

public System.Componen tModel.Property DescriptorColle ction
GetStatefulProp ertyDescriptors ()
{
DataObject.Stat efulPropertyAtt ribute a = new
StatefulPropert yAttribute();
return this.GetPropert ies(new Attribute[] { a }); //exception point
//class System.Attribut e that is base class for customer attributes
}

[AttributeUsage( AttributeTarget s.Property, AllowMultiple=f alse,
Inherited=true)]
public class StatefulPropert yAttribute : Attribute{}

Under .Net 1.1 and VS 2003 there is no problem, no exception for the
function, but why does it come StackOverflowEx ception under .Net 2.0 and How
to solve it?

--
windsim
May 11 '07 #1
9 2498
Well, how is this.GetPropert ies(...) implemented? Is this an
ICustomTypeDesc riptor implementation? If so, what are you calling? It
should normally be something like
TypeDescriptor. GetProperties(G etType()) or (GetType(), attributes)...

Marc

May 11 '07 #2
windsim,

Well, more likely than not you have a recursive call somewhere (or
something that results in an endless loop of calls). Have you set a
breakpoint and looked a the call stack to see where the calls are repeating
in a loop?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"windsim" <wi*****@discus sions.microsoft .comwrote in message
news:AB******** *************** ***********@mic rosoft.com...
Hi,
I have a project based on .Net 1.1 and VS 2003,now I am trying to upgrade
it
to .Net 2.0 and VS 2005.The project passes the 'Build Solution',but When I
start Debug, it suddenly comes StackOverflowEx ception and Debug stops.

The main Exception point is the function below:

public System.Componen tModel.Property DescriptorColle ction
GetStatefulProp ertyDescriptors ()
{
DataObject.Stat efulPropertyAtt ribute a = new
StatefulPropert yAttribute();
return this.GetPropert ies(new Attribute[] { a }); //exception point
//class System.Attribut e that is base class for customer attributes
}

[AttributeUsage( AttributeTarget s.Property, AllowMultiple=f alse,
Inherited=true)]
public class StatefulPropert yAttribute : Attribute{}

Under .Net 1.1 and VS 2003 there is no problem, no exception for the
function, but why does it come StackOverflowEx ception under .Net 2.0 and
How
to solve it?

--
windsim

May 11 '07 #3
this.GetPropert ies(...) is a member function of class
PropertyDescrip torCollection:
public PropertyDescrip torCollection GetProperties(A ttribute[] attributes){... }

where

class PropertyDescrip torCollection : IList, IDictionary, ICollection,
IEnumerable
--
windsim
"Marc Gravell" wrote:
Well, how is this.GetPropert ies(...) implemented? Is this an
ICustomTypeDesc riptor implementation? If so, what are you calling? It
should normally be something like
TypeDescriptor. GetProperties(G etType()) or (GetType(), attributes)...

Marc

May 11 '07 #4
On May 11, 3:04 pm, windsim <wind...@discus sions.microsoft .comwrote:
this.GetPropert ies(...) is a member function of class
PropertyDescrip torCollection:
public PropertyDescrip torCollection GetProperties(A ttribute[] attributes){... }

where

class PropertyDescrip torCollection : IList, IDictionary, ICollection,
IEnumerable
--
windsim

"Marc Gravell" wrote:
Well, how is this.GetPropert ies(...) implemented? Is this an
ICustomTypeDesc riptor implementation? If so, what are you calling? It
should normally be something like
TypeDescriptor. GetProperties(G etType()) or (GetType(), attributes)...
Marc
The overflow exception is caused by the recursion depth that exceeds a
threshold value. If I understand this code correctly you should try
increasing this max recursion depth to solve the problem.

Cheers,
Stefan.

May 11 '07 #5
Thanks guys!

public PropertyDescrip torCollection GetProperties(A ttribute[] attributes)
{
PropertyDescrip torCollection globalizedProps ;
PropertyDescrip torCollection baseProps =
TypeDescriptor. GetProperties(t his, attributes, true);
....
}
I can not set break point at above code line and I think the problem is
maybe TypeDescriptor. GetProperties(. ..)

The info from call stack looks like a endless loop below :
....
[External Code]

SystemFramework s.dll!SystemFra meworks.DataObj ect.GlobalizedO bject.GetProper ties(System.Att ribute[] attributes = {Dimensions:[1]}) Line 350 + 0xd bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetStatef ulPropertyDescr iptors() Line 92 + 0x26 bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetModule PropertyListCur rent(SystemFram eworks.DataObje ct.ModuleProper ties
mp = {SystemFramewor ks.DataObject.D TMProperties}) Line 122 + 0x8 bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.ToString( )
Line 350 + 0xb bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetHashCo de() Line 313 + 0x7 bytes C#
[External Code]

by the way how to increase this max recursion depth in VS 2005?
--
windsim
"Nicholas Paldino [.NET/C# MVP]" wrote:
windsim,

Well, more likely than not you have a recursive call somewhere (or
something that results in an endless loop of calls). Have you set a
breakpoint and looked a the call stack to see where the calls are repeating
in a loop?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"windsim" <wi*****@discus sions.microsoft .comwrote in message
news:AB******** *************** ***********@mic rosoft.com...
Hi,
I have a project based on .Net 1.1 and VS 2003,now I am trying to upgrade
it
to .Net 2.0 and VS 2005.The project passes the 'Build Solution',but When I
start Debug, it suddenly comes StackOverflowEx ception and Debug stops.

The main Exception point is the function below:

public System.Componen tModel.Property DescriptorColle ction
GetStatefulProp ertyDescriptors ()
{
DataObject.Stat efulPropertyAtt ribute a = new
StatefulPropert yAttribute();
return this.GetPropert ies(new Attribute[] { a }); //exception point
//class System.Attribut e that is base class for customer attributes
}

[AttributeUsage( AttributeTarget s.Property, AllowMultiple=f alse,
Inherited=true)]
public class StatefulPropert yAttribute : Attribute{}

Under .Net 1.1 and VS 2003 there is no problem, no exception for the
function, but why does it come StackOverflowEx ception under .Net 2.0 and
How
to solve it?

--
windsim


May 11 '07 #6
I don't know what atlaste was trying to indicate by saying to raise the
maximum recursion depth, because in the end, if you have a loop that loops
infinitely, it's always going to be larger than whatever the threshold is.

To me, it would seem that the call to GetProperties on the
TypeDescriptor class is calling back into your GetProperities method, and
it's always going to instantiate another call.

You need to find some way to break this loop. What is it that you are
trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"windsim" <wi*****@discus sions.microsoft .comwrote in message
news:2C******** *************** ***********@mic rosoft.com...
Thanks guys!

public PropertyDescrip torCollection GetProperties(A ttribute[] attributes)
{
PropertyDescrip torCollection globalizedProps ;
PropertyDescrip torCollection baseProps =
TypeDescriptor. GetProperties(t his, attributes, true);
...
}
I can not set break point at above code line and I think the problem is
maybe TypeDescriptor. GetProperties(. ..)

The info from call stack looks like a endless loop below :
...
[External Code]

SystemFramework s.dll!SystemFra meworks.DataObj ect.GlobalizedO bject.GetProper ties(System.Att ribute[]
attributes = {Dimensions:[1]}) Line 350 + 0xd bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetStatef ulPropertyDescr iptors()
Line 92 + 0x26 bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetModule PropertyListCur rent(SystemFram eworks.DataObje ct.ModuleProper ties
mp = {SystemFramewor ks.DataObject.D TMProperties}) Line 122 + 0x8 bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.ToString( )
Line 350 + 0xb bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetHashCo de()
Line 313 + 0x7 bytes C#
[External Code]

by the way how to increase this max recursion depth in VS 2005?
--
windsim
"Nicholas Paldino [.NET/C# MVP]" wrote:
>windsim,

Well, more likely than not you have a recursive call somewhere (or
something that results in an endless loop of calls). Have you set a
breakpoint and looked a the call stack to see where the calls are
repeating
in a loop?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"windsim" <wi*****@discus sions.microsoft .comwrote in message
news:AB******* *************** ************@mi crosoft.com...
Hi,
I have a project based on .Net 1.1 and VS 2003,now I am trying to
upgrade
it
to .Net 2.0 and VS 2005.The project passes the 'Build Solution',but
When I
start Debug, it suddenly comes StackOverflowEx ception and Debug stops.

The main Exception point is the function below:

public System.Componen tModel.Property DescriptorColle ction
GetStatefulProp ertyDescriptors ()
{
DataObject.Stat efulPropertyAtt ribute a = new
StatefulPropert yAttribute();
return this.GetPropert ies(new Attribute[] { a }); //exception
point
//class System.Attribut e that is base class for customer
attributes
}

[AttributeUsage( AttributeTarget s.Property, AllowMultiple=f alse,
Inherited=true)]
public class StatefulPropert yAttribute : Attribute{}

Under .Net 1.1 and VS 2003 there is no problem, no exception for the
function, but why does it come StackOverflowEx ception under .Net 2.0
and
How
to solve it?

--
windsim



May 11 '07 #7
One more thing: This is an implementation of the ICustomTypeDesc riptor
interface, class name is GlobalizedObjec t.

Thia whole loop starts when some external code calls the GetHashCode() of my
object of type DTMProperties (inherits from ModulePropertie s, inherits from
GlobalizedObjec t). The stack trace shows below shows that my
ModulePropertie s.GetHashCode() method calls ModulePropertie s.ToString().

The ToString method calls the GlobalizedObjec t.GetProperties (...) method in
order to return the name/value pairs of all properties that have a special
attribute.

The code that now executes does the following:

public PropertyDescrip torCollection GetProperties(A ttribute[] attributes)
{
PropertyDescrip torCollection globalizedProps ;
PropertyDescrip torCollection baseProps =
TypeDescriptor. GetProperties(t his, attributes, true);
....
}

The next thing happening according to the stack trace, is that we call into
some external code (probably the TypeDescriptor. GetProperties(. ..)), and then
we get back into the GetHashCode. Thus an infinite loop.

So the question is whether the .NET 2.0 implementation of
TypeDescriptor. GetProperties(. ..) calls the GetHashCode method for some
reason now? And was that not the case in 1.1?

Here is a more readable version of my stack trace:
..... (it just repeats itself from here)
[External Code]
SystemFramework s.DataObject.Gl obalizedObject. GetProperties(S ystem.Attribute[] attributes = {Dimensions:[1]})
SystemFramework s.DataObject.Mo duleProperties. GetStatefulProp ertyDescriptors ()
SystemFramework s.DataObject.Mo duleProperties. GetModuleProper tyListCurrent(S ystemFrameworks .DataObject.Mod uleProperties
mp = {SystemFramewor ks.DataObject.D TMProperties})
SystemFramework s.DataObject.Mo duleProperties. ToString()
SystemFramework s.DataObject.Mo duleProperties. GetHashCode()
[External Code]

SystemFramework s.DataObject.Gl obalizedObject. GetProperties(S ystem.Attribute[]
attributes = {Dimensions:[1]})
SystemFramework s.DataObject.Mo duleProperties. GetStatefulProp ertyDescriptors ()
SystemFramework s.DataObject.Mo duleProperties. GetModuleProper tyListCurrent(S ystemFrameworks .DataObject.Mod uleProperties
mp = {SystemFramewor ks.DataObject.D TMProperties})
SystemFramework s.DataObject.Mo duleProperties. ToString()
SystemFramework s.DataObject.Mo duleProperties. GetHashCode()
[External Code]

--
windsim
"windsim" wrote:
Thanks guys!

public PropertyDescrip torCollection GetProperties(A ttribute[] attributes)
{
PropertyDescrip torCollection globalizedProps ;
PropertyDescrip torCollection baseProps =
TypeDescriptor. GetProperties(t his, attributes, true);
...
}
I can not set break point at above code line and I think the problem is
maybe TypeDescriptor. GetProperties(. ..)

The info from call stack looks like a endless loop below :
...
[External Code]

SystemFramework s.dll!SystemFra meworks.DataObj ect.GlobalizedO bject.GetProper ties(System.Att ribute[] attributes = {Dimensions:[1]}) Line 350 + 0xd bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetStatef ulPropertyDescr iptors() Line 92 + 0x26 bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetModule PropertyListCur rent(SystemFram eworks.DataObje ct.ModuleProper ties
mp = {SystemFramewor ks.DataObject.D TMProperties}) Line 122 + 0x8 bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.ToString( )
Line 350 + 0xb bytes C#

SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetHashCo de() Line 313 + 0x7 bytes C#
[External Code]

by the way how to increase this max recursion depth in VS 2005?
--
windsim
"Nicholas Paldino [.NET/C# MVP]" wrote:
windsim,

Well, more likely than not you have a recursive call somewhere (or
something that results in an endless loop of calls). Have you set a
breakpoint and looked a the call stack to see where the calls are repeating
in a loop?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"windsim" <wi*****@discus sions.microsoft .comwrote in message
news:AB******** *************** ***********@mic rosoft.com...
Hi,
I have a project based on .Net 1.1 and VS 2003,now I am trying to upgrade
it
to .Net 2.0 and VS 2005.The project passes the 'Build Solution',but When I
start Debug, it suddenly comes StackOverflowEx ception and Debug stops.
>
The main Exception point is the function below:
>
public System.Componen tModel.Property DescriptorColle ction
GetStatefulProp ertyDescriptors ()
{
DataObject.Stat efulPropertyAtt ribute a = new
StatefulPropert yAttribute();
return this.GetPropert ies(new Attribute[] { a }); //exception point
//class System.Attribut e that is base class for customer attributes
}
>
[AttributeUsage( AttributeTarget s.Property, AllowMultiple=f alse,
Inherited=true)]
public class StatefulPropert yAttribute : Attribute{}
>
Under .Net 1.1 and VS 2003 there is no problem, no exception for the
function, but why does it come StackOverflowEx ception under .Net 2.0 and
How
to solve it?
>
--
windsim
May 11 '07 #8
I figured that the recursion wasn't infinite (but just deep). Since
semantics of methods (like GetProperties) change that could explain
the behaviour (it worked in 1.1 but not in 2.0). Changing the max
recursion depth not only helps to identify the problem in that
particular case but also helps to solve the special case problem. I
used to have these kind of problems all the time...

However, it seems like it's the GetHashCode that makes the thing
infinite so you were right after all.

I can think of a dozen reasons why they opted for using GetHashCode in
2.0 and not in 1.1. After all, the features of the language evolved. I
would make a new implementation of getHashcode and equals.

Cheers,
Stefan.
On May 11, 4:00 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guar d.caspershouse. comwrote:
I don't know what atlaste was trying to indicate by saying to raise the
maximum recursion depth, because in the end, if you have a loop that loops
infinitely, it's always going to be larger than whatever the threshold is.

To me, it would seem that the call to GetProperties on the
TypeDescriptor class is calling back into your GetProperities method, and
it's always going to instantiate another call.

You need to find some way to break this loop. What is it that you are
trying to do?

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard .caspershouse.c om

"windsim" <wind...@discus sions.microsoft .comwrote in message

news:2C******** *************** ***********@mic rosoft.com...
Thanks guys!
public PropertyDescrip torCollection GetProperties(A ttribute[] attributes)
{
PropertyDescrip torCollection globalizedProps ;
PropertyDescrip torCollection baseProps =
TypeDescriptor. GetProperties(t his, attributes, true);
...
}
I can not set break point at above code line and I think the problem is
maybe TypeDescriptor. GetProperties(. ..)
The info from call stack looks like a endless loop below :
...
[External Code]
SystemFramework s.dll!SystemFra meworks.DataObj ect.GlobalizedO bject.GetProper ties(System.Att ribute[]
attributes = {Dimensions:[1]}) Line 350 + 0xd bytes C#
SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetStatef ulPropertyDescr iptors()
Line 92 + 0x26 bytes C#
SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetModule PropertyListCur rent(SystemFram eworks.DataObje ct.ModuleProper ties
mp = {SystemFramewor ks.DataObject.D TMProperties}) Line 122 + 0x8 bytes C#
SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.ToString( )
Line 350 + 0xb bytes C#
SystemFramework s.dll!SystemFra meworks.DataObj ect.ModulePrope rties.GetHashCo de()
Line 313 + 0x7 bytes C#
[External Code]
by the way how to increase this max recursion depth in VS 2005?
--
windsim
"Nicholas Paldino [.NET/C# MVP]" wrote:
windsim,
Well, more likely than not you have a recursive call somewhere (or
something that results in an endless loop of calls). Have you set a
breakpoint and looked a the call stack to see where the calls are
repeating
in a loop?
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard .caspershouse.c om
"windsim" <wind...@discus sions.microsoft .comwrote in message
news:AB******* *************** ************@mi crosoft.com...
Hi,
I have a project based on .Net 1.1 and VS 2003,now I am trying to
upgrade
it
to .Net 2.0 and VS 2005.The project passes the 'Build Solution',but
When I
start Debug, it suddenly comes StackOverflowEx ception and Debug stops.
The main Exception point is the function below:
public System.Componen tModel.Property DescriptorColle ction
GetStatefulProp ertyDescriptors ()
{
DataObject.Stat efulPropertyAtt ribute a = new
StatefulPropert yAttribute();
return this.GetPropert ies(new Attribute[] { a }); //exception
point
//class System.Attribut e that is base class for customer
attributes
}
[AttributeUsage( AttributeTarget s.Property, AllowMultiple=f alse,
Inherited=true)]
public class StatefulPropert yAttribute : Attribute{}
Under .Net 1.1 and VS 2003 there is no problem, no exception for the
function, but why does it come StackOverflowEx ception under .Net 2.0
and
How
to solve it?
--
windsim

May 11 '07 #9
MGWell, how is this.GetPropert ies(...) implemented? Is this an
MGICustomTypeDe scriptor implementation?
---
wthis.GetProper ties(...) is a member function of class
wPropertyDescri ptorCollection:
wpublic PropertyDescrip torCollection GetProperties(A ttribute[]
attributes){... }
---
wThis is an implementation of the ICustomTypeDesc riptor
winterface, class name is GlobalizedObjec t.
---
Why didn't you say that the first time? Anyways... in the general
case, I would *definitely* be treating this as a huge warning sign;
you shouldn't be coming anywhere *near* blowing the stack just to read
metadata. For reference, I still think there is a loop in here: your
ICustomTypeDesc riptor implementation uses the *instance* form of
TypeDescriptor. GetProperties.. . and the first thing that does is ask
"does this instance implement ICustomTypeDesc riptor? If so, call that
instead..." - which is why I posted about using the *Type* form of
TypeDescriptor. GetProperties.

Actually, to avoid this hell, I quite like tke 2.0 approach of
TypeDescription Provider; this allows you to delegate metadata
provision to a separate class (helping keep each class targetted to
doing one job) - but more importantly it makes the distinction between
the *instance* and *Type* forms disappear; your CustomTypeDescr iptor
subclass can of course choose whether to care about instances or not.

Marc

May 11 '07 #10

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

Similar topics

5
17277
by: Jesee | last post by:
I am reading Jeffrey Richter's book "Applied Microsoft .NET Framework programming",i came across "Exception handing". Page 405 says "If the stack overflow occurs within the CLR itself,your application code won't be able to catch the StackOverflowException exception and none of your finally blocks will excute.",I don't understand it. Following C# statement: class App { static void Main() {
2
2833
by: Anders Both | last post by:
In a system with asynkronius socket and different collection, there are some times throw a System.StackOverflowException . I cannot really figur out why , Can someone say something clever about System.StackOverflowException ? Best Regards,
0
1353
by: Elizabeth | last post by:
I have C# dll which I compile using ComInterop True and generate tlb type library. When I call function from the C# dll using below code I get an error "StackOverflowException in mscorlib.dll" Excel vba code: sub callwrapper() dim oxml as object dim sreturnxml as string, spassxmlstring as string
3
3683
by: Vladimir Arkhipov | last post by:
Hi, I noticed that finally block is not executed once I got StackOverflowException. Is that a known feature or a bug?
11
2916
by: Alx Sharp | last post by:
Hello group... I've created a collection class that implements the following interfaces: IBindingList, IList, ICollection, IEnumerable and ITypedList: abstract class DataCollectionBase : IBindingList, IList, ICollection, IEnumerable, ITypedList { private ArrayList innerList = null; private System.Type itemType = null; public DataCollectionBase()
20
3389
by: zapov | last post by:
Hi! I'm having some wierd problems with this exception (error). If I use sql commands to insert data into sql server i get strange behaviour from my application. First I used a single threaded application and used Application.DoEvents() when i needed to wait some time. (I need to process some external information on events so I can't just use Thread.Sleep).
8
2499
by: Lars-Erik Aabech | last post by:
Hi! I've got an asp.net page that works for all users except one and that one user only gets the error with a certain parameter set to a certain value. (Same value as the others, but for this one it fails). I manage to reproduce the error on my development computer, but it's completely impossible to debug or trace the error. The page had for some reason aspCompat set to true, and that gave a short stack trace, when set to false there's...
10
14854
by: Mae Lim | last post by:
Dear all, I'm new to C# WebServices. I compile the WebService project it return no errors "Build: 1 succeeded, 0 failed, 0 skipped". Basically I have 2 WebMethod, when I try to invoke the first method it is working fine. Then when I try to invoke the second method it return me an error, Just In-Time Debugging, with error message "An exception 'System.StackOverflowException' has occurred in WebServices"
2
4096
by: etienne.maitre | last post by:
Hi, I work against .NET 2.0 using C# 2.0. I am facing a problem trying to serialize the class foo (given below). Basically, foo can contain other foos in a list. When I try to create a serializer, using the test() method below, I get a superb StackOverflowException. I googled for it but didn't found any answer to why I got this exception and how to serialize foo. Any help accepted :-)
0
9487
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9297
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10069
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9904
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9735
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8736
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7285
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5324
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2697
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.