473,774 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is there an alternative to remoting?

In vb6 it was possible to create an exe as an activeX exe and communicate
between 2 apps. Now we have remoting which requires opening a tcp port to
listen on, which seems kinda crappy cause another app might be using the
same port. Is there an alternative way of communicating between 2 exes on
the same machine?

Thanks,
Michael Culley
Nov 15 '05 #1
10 5574
Hello Michael,

You can perform cross-AppDomain calls as well. The biggest problem here
would probably be how to get a reference to another application's AppDomain.
This way, as far as I remember, uses the same Remoting mehcanics underneath.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Michael Culley" <mi**@nospam.co m> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
In vb6 it was possible to create an exe as an activeX exe and communicate
between 2 apps. Now we have remoting which requires opening a tcp port to
listen on, which seems kinda crappy cause another app might be using the
same port. Is there an alternative way of communicating between 2 exes on
the same machine?

Thanks,
Michael Culley


Nov 15 '05 #2

Hi Michael,

Thank you for posting in this group.

You can create your own http channel to implement inter-process
communication.
Also, you can refer to the .Net interop to use the Windows inter-process
communication technologies
such as Named pipe, Memory Mapping file and so on.

Hope this helps,

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "Michael Culley" <mi**@nospam.co m>
| Subject: Is there an alternative to remoting?
| Date: Tue, 16 Sep 2003 15:14:45 +1000
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#E************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: cpe-144-137-26-13.vic.bigpond. net.au 144.137.26.13
| Path:
cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8
.phx.gbl!TK2MSF TNGP10.phx.gbl
| Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1844 18
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| In vb6 it was possible to create an exe as an activeX exe and communicate
| between 2 apps. Now we have remoting which requires opening a tcp port to
| listen on, which seems kinda crappy cause another app might be using the
| same port. Is there an alternative way of communicating between 2 exes on
| the same machine?
|
| Thanks,
| Michael Culley
|
|
|

Nov 15 '05 #3

"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.c om> wrote
in message news:OH******** ******@TK2MSFTN GP10.phx.gbl...
Hello Michael,

You can perform cross-AppDomain calls as well. The biggest problem here
would probably be how to get a reference to another application's AppDomain. This way, as far as I remember, uses the same Remoting mehcanics underneath.
That brings up a question of my own, is there a way in the framework to
perform cross app-domain communication without using external methods (TCP,
pipes, shared memory, etc) or remoting. A low-level inproc communication
system that doesn't have the annoyances or restrictions of remoting between
appdomains could have its uses...
Or I could just be crazy, does it matter?
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Michael Culley" <mi**@nospam.co m> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
In vb6 it was possible to create an exe as an activeX exe and communicate between 2 apps. Now we have remoting which requires opening a tcp port to listen on, which seems kinda crappy cause another app might be using the
same port. Is there an alternative way of communicating between 2 exes on the same machine?

Thanks,
Michael Culley

Nov 15 '05 #4
Not crazy. I have looked for more info on this with little uncovered. I
seem to remember reading the help pages one time and they talked about
remoting in the same machine uses optimized communication somehow. However,
you still need to ref ports so maybe they just mean they use the local
loopback instead of going all the way down the network stack. IMO, they
could use an LPC channel (that maybe uses named pipes under the hood) for
remoting too. I think a third party makes one. For that matter a shared
memory arc in the clr would be nice and remove the need for remoting for
some things. How about being able to publish a shared stream or array (or
int) and have another app subscribe to that stream using just attributes on
fields to denote the intentions.

--
William Stacey, DNS MVP

"Daniel O'Connell" <on******@comca st.net> wrote in message
news:tSz9b.4671 47$YN5.318200@s ccrnsc01...

"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.c om> wrote
in message news:OH******** ******@TK2MSFTN GP10.phx.gbl...
Hello Michael,

You can perform cross-AppDomain calls as well. The biggest problem here
would probably be how to get a reference to another application's AppDomain.
This way, as far as I remember, uses the same Remoting mehcanics

underneath.


That brings up a question of my own, is there a way in the framework to
perform cross app-domain communication without using external methods

(TCP, pipes, shared memory, etc) or remoting. A low-level inproc communication
system that doesn't have the annoyances or restrictions of remoting between appdomains could have its uses...
Or I could just be crazy, does it matter?
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Michael Culley" <mi**@nospam.co m> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
In vb6 it was possible to create an exe as an activeX exe and communicate between 2 apps. Now we have remoting which requires opening a tcp port to listen on, which seems kinda crappy cause another app might be using the same port. Is there an alternative way of communicating between 2 exes on the same machine?

Thanks,
Michael Culley


Nov 15 '05 #5
Michael,

If you want, you can also use component services to do this. If you
create a COM+ component that runs in a service process, and that is pooled
so that there is only one instance at a time, you will get the same thing.
Because both processes will access the same instance, you can use that
instance as a bridge between the two. You can also use loosely coupled
events to indicate when other listeners should wake up (which applications
would subscribe to dynamically).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni************* *@exisconsultin g.com

"Michael Culley" <mi**@nospam.co m> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
In vb6 it was possible to create an exe as an activeX exe and communicate
between 2 apps. Now we have remoting which requires opening a tcp port to
listen on, which seems kinda crappy cause another app might be using the
same port. Is there an alternative way of communicating between 2 exes on
the same machine?

Thanks,
Michael Culley

Nov 15 '05 #6

Hi All,

The Name pipe also uses Memory Mapping file under the hood.
Before the appear of the .Net Framework, the windows uses these ways of
inter-proc
communication, so I think the .Net Remoting also uses these classic windows
inter-proc
communication under the hood.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "William Stacey" <st*****@mvps.o rg>
| References: <#E************ **@TK2MSFTNGP10 .phx.gbl>
<OH************ **@TK2MSFTNGP10 .phx.gbl> <tSz9b.467147$Y N5.318200@sccrn sc01>
| Subject: Re: Is there an alternative to remoting?
| Date: Tue, 16 Sep 2003 10:14:28 -0400
| Lines: 65
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <ek************ *@TK2MSFTNGP12. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: 66.188.59.114.b ay.mi.chartermi .net 66.188.59.114
| Path:
cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8
.phx.gbl!TK2MSF TNGP12.phx.gbl
| Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1845 63
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| Not crazy. I have looked for more info on this with little uncovered. I
| seem to remember reading the help pages one time and they talked about
| remoting in the same machine uses optimized communication somehow.
However,
| you still need to ref ports so maybe they just mean they use the local
| loopback instead of going all the way down the network stack. IMO, they
| could use an LPC channel (that maybe uses named pipes under the hood) for
| remoting too. I think a third party makes one. For that matter a shared
| memory arc in the clr would be nice and remove the need for remoting for
| some things. How about being able to publish a shared stream or array (or
| int) and have another app subscribe to that stream using just attributes
on
| fields to denote the intentions.
|
| --
| William Stacey, DNS MVP
|
| "Daniel O'Connell" <on******@comca st.net> wrote in message
| news:tSz9b.4671 47$YN5.318200@s ccrnsc01...
| >
| > "Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.c om>
wrote
| > in message news:OH******** ******@TK2MSFTN GP10.phx.gbl...
| > > Hello Michael,
| > >
| > > You can perform cross-AppDomain calls as well. The biggest problem
here
| > > would probably be how to get a reference to another application's
| > AppDomain.
| > > This way, as far as I remember, uses the same Remoting mehcanics
| > underneath.
| > >
| >
| > That brings up a question of my own, is there a way in the framework to
| > perform cross app-domain communication without using external methods
| (TCP,
| > pipes, shared memory, etc) or remoting. A low-level inproc communication
| > system that doesn't have the annoyances or restrictions of remoting
| between
| > appdomains could have its uses...
| > Or I could just be crazy, does it matter?
| >
| > > --
| > > Dmitriy Lapshin [C# / .NET MVP]
| > > X-Unity Test Studio
| > > http://x-unity.miik.com.ua/teststudio.aspx
| > > Bring the power of unit testing to VS .NET IDE
| > >
| > > "Michael Culley" <mi**@nospam.co m> wrote in message
| > > news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
| > > > In vb6 it was possible to create an exe as an activeX exe and
| > communicate
| > > > between 2 apps. Now we have remoting which requires opening a tcp
port
| > to
| > > > listen on, which seems kinda crappy cause another app might be using
| the
| > > > same port. Is there an alternative way of communicating between 2
exes
| > on
| > > > the same machine?
| > > >
| > > > Thanks,
| > > > Michael Culley
| > > >
| > > >
| > >
| >
| >
|
|
|

Nov 15 '05 #7
Thanks everyone who replied. It's good to see I'm not crazy. Nicholas, can
you give me more info?

Jeffrey,
Also, you can refer to the .Net interop to use the Windows inter-process
communication technologies
such as Named pipe, Memory Mapping file and so on.


Can you give me some more info on this?

Cheers,
Michael Culley
Nov 15 '05 #8

"Jeffrey Tan[MSFT]" <v-*****@online.mi crosoft.com> wrote in message
news:jA******** ******@cpmsftng xa06.phx.gbl...

Hi All,

The Name pipe also uses Memory Mapping file under the hood.
Before the appear of the .Net Framework, the windows uses these ways of
inter-proc
communication, so I think the .Net Remoting also uses these classic windows inter-proc
communication under the hood.
So I would suspect, however I was more curious as to if the communications
mechanism was exposed (pretty sure its not). Rolling my own memory
mapping\named pipe communication system isn't something I want to do often,
actually, lol.
Not that I have any reason to need to, just curious. Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "William Stacey" <st*****@mvps.o rg>
| References: <#E************ **@TK2MSFTNGP10 .phx.gbl>
<OH************ **@TK2MSFTNGP10 .phx.gbl> <tSz9b.467147$Y N5.318200@sccrn sc01> | Subject: Re: Is there an alternative to remoting?
| Date: Tue, 16 Sep 2003 10:14:28 -0400
| Lines: 65
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <ek************ *@TK2MSFTNGP12. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: 66.188.59.114.b ay.mi.chartermi .net 66.188.59.114
| Path:
cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8 phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1845 63 | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| Not crazy. I have looked for more info on this with little uncovered. I | seem to remember reading the help pages one time and they talked about
| remoting in the same machine uses optimized communication somehow.
However,
| you still need to ref ports so maybe they just mean they use the local
| loopback instead of going all the way down the network stack. IMO, they
| could use an LPC channel (that maybe uses named pipes under the hood) for | remoting too. I think a third party makes one. For that matter a shared | memory arc in the clr would be nice and remove the need for remoting for
| some things. How about being able to publish a shared stream or array (or | int) and have another app subscribe to that stream using just attributes
on
| fields to denote the intentions.
|
| --
| William Stacey, DNS MVP
|
| "Daniel O'Connell" <on******@comca st.net> wrote in message
| news:tSz9b.4671 47$YN5.318200@s ccrnsc01...
| >
| > "Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.c om>
wrote
| > in message news:OH******** ******@TK2MSFTN GP10.phx.gbl...
| > > Hello Michael,
| > >
| > > You can perform cross-AppDomain calls as well. The biggest problem
here
| > > would probably be how to get a reference to another application's
| > AppDomain.
| > > This way, as far as I remember, uses the same Remoting mehcanics
| > underneath.
| > >
| >
| > That brings up a question of my own, is there a way in the framework to | > perform cross app-domain communication without using external methods
| (TCP,
| > pipes, shared memory, etc) or remoting. A low-level inproc communication | > system that doesn't have the annoyances or restrictions of remoting
| between
| > appdomains could have its uses...
| > Or I could just be crazy, does it matter?
| >
| > > --
| > > Dmitriy Lapshin [C# / .NET MVP]
| > > X-Unity Test Studio
| > > http://x-unity.miik.com.ua/teststudio.aspx
| > > Bring the power of unit testing to VS .NET IDE
| > >
| > > "Michael Culley" <mi**@nospam.co m> wrote in message
| > > news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
| > > > In vb6 it was possible to create an exe as an activeX exe and
| > communicate
| > > > between 2 apps. Now we have remoting which requires opening a tcp
port
| > to
| > > > listen on, which seems kinda crappy cause another app might be using | the
| > > > same port. Is there an alternative way of communicating between 2
exes
| > on
| > > > the same machine?
| > > >
| > > > Thanks,
| > > > Michael Culley
| > > >
| > > >
| > >
| >
| >
|
|
|

Nov 15 '05 #9
That would be cool. They should document that (If not already) if so. So
if you create a tcp or http channel and use remoting between another process
or appdomain on the same box, then it somehow figures that out and ignores
the tcp layer and just plugs in a named pipe under the hood?

--
William Stacey, DNS MVP

"Jeffrey Tan[MSFT]" <v-*****@online.mi crosoft.com> wrote in message
news:jA******** ******@cpmsftng xa06.phx.gbl...

Hi All,

The Name pipe also uses Memory Mapping file under the hood.
Before the appear of the .Net Framework, the windows uses these ways of
inter-proc
communication, so I think the .Net Remoting also uses these classic windows inter-proc
communication under the hood.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "William Stacey" <st*****@mvps.o rg>
| References: <#E************ **@TK2MSFTNGP10 .phx.gbl>
<OH************ **@TK2MSFTNGP10 .phx.gbl> <tSz9b.467147$Y N5.318200@sccrn sc01> | Subject: Re: Is there an alternative to remoting?
| Date: Tue, 16 Sep 2003 10:14:28 -0400
| Lines: 65
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <ek************ *@TK2MSFTNGP12. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: 66.188.59.114.b ay.mi.chartermi .net 66.188.59.114
| Path:
cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8 phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1845 63 | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| Not crazy. I have looked for more info on this with little uncovered. I | seem to remember reading the help pages one time and they talked about
| remoting in the same machine uses optimized communication somehow.
However,
| you still need to ref ports so maybe they just mean they use the local
| loopback instead of going all the way down the network stack. IMO, they
| could use an LPC channel (that maybe uses named pipes under the hood) for | remoting too. I think a third party makes one. For that matter a shared | memory arc in the clr would be nice and remove the need for remoting for
| some things. How about being able to publish a shared stream or array (or | int) and have another app subscribe to that stream using just attributes
on
| fields to denote the intentions.
|
| --
| William Stacey, DNS MVP
|
| "Daniel O'Connell" <on******@comca st.net> wrote in message
| news:tSz9b.4671 47$YN5.318200@s ccrnsc01...
| >
| > "Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.c om>
wrote
| > in message news:OH******** ******@TK2MSFTN GP10.phx.gbl...
| > > Hello Michael,
| > >
| > > You can perform cross-AppDomain calls as well. The biggest problem
here
| > > would probably be how to get a reference to another application's
| > AppDomain.
| > > This way, as far as I remember, uses the same Remoting mehcanics
| > underneath.
| > >
| >
| > That brings up a question of my own, is there a way in the framework to | > perform cross app-domain communication without using external methods
| (TCP,
| > pipes, shared memory, etc) or remoting. A low-level inproc communication | > system that doesn't have the annoyances or restrictions of remoting
| between
| > appdomains could have its uses...
| > Or I could just be crazy, does it matter?
| >
| > > --
| > > Dmitriy Lapshin [C# / .NET MVP]
| > > X-Unity Test Studio
| > > http://x-unity.miik.com.ua/teststudio.aspx
| > > Bring the power of unit testing to VS .NET IDE
| > >
| > > "Michael Culley" <mi**@nospam.co m> wrote in message
| > > news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
| > > > In vb6 it was possible to create an exe as an activeX exe and
| > communicate
| > > > between 2 apps. Now we have remoting which requires opening a tcp
port
| > to
| > > > listen on, which seems kinda crappy cause another app might be using | the
| > > > same port. Is there an alternative way of communicating between 2
exes
| > on
| > > > the same machine?
| > > >
| > > > Thanks,
| > > > Michael Culley
| > > >
| > > >
| > >
| >
| >
|
|
|

Nov 15 '05 #10

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

Similar topics

1
1829
by: f00sion | last post by:
I found a good tutorial of how to supply the objects without having the implementation files on the client. This was working great until I realized that I couldnt use any constructors with server activated objects, so I switched to client activated objects only to run into the next roadblock, doh! can't instantiate abstract classes... here is a simple example of the structure, im sure there is a way to do it to allow instantiation but I am...
0
1909
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
5
5689
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere 4.0, SourceOffSite 4.1, VSS Connect 1.5, SourceXT 2.1, VSS Remoting 2.5,
0
3292
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others.
0
1421
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
0
2463
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a light on the following: I have been given a sample winforms app, which works without problem, I can connect, send queries and become response from the other application. When I try to implement this in webforms, this unfortunately does not...
8
1754
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged package) to .NET. Our clients have been asking for lot of new stuff namely being able to send patient information to devices, being able to fix appointments online, etc.
1
1405
by: anilkoli | last post by:
When object are serialized they are stored physically in a file(e.g. XML). But if I want to deal with remote computers I have to provide details about file where object is serialized or send that file physically. Instead of serializing an object to a file I want alternative and I have following doughts/alternatives 1. Whether object can be serialized to a memory or cache instead to a disk
0
3403
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false); I get the following error - doesn't matter if I try it local from my machine or from a remote machine. (After the Errormessage is more text ;))
0
9621
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
10267
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
10106
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
9914
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
8939
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...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
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.