473,836 Members | 1,586 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Receive biztalk request sample aspx please

I want to send a biztalk document to an aspx page, and I need to see some
sample code, because I just can't make it work. I have a port with transport
type HTTP, pointing to my aspx page, something like
http://myserver/mypage.aspx. From there it gets blurry, because I just can't
figure out how to do the rest.

Does anybody have a sample page for me that I can take a look at? Just a
simple one that takes whatever biztalk sends and saves it as an xml file on
the hard drive, with some pointers of what to check for, maybe some
exception handling? I am working with C#.NET, but VB.NET would be nice too,
either one.

Any help would be very much appreciated. I am not in the habit of
crossposting to more than one newsgroup, but I have been searching for a
long time, and I am getting nowhere.

Thanks,
Daniel.
Nov 15 '05 #1
6 3150
This is the piece of code i use in my ASPX page load function--

private void Page_Load(objec t sender, System.EventArg s e)
{
// Create a Stream object to capture entire InputStream from browser.
Stream str = Request.InputSt ream;

// Find number of bytes in stream.
int strLen = (int)str.Length ;

// Create a byte array to hold stream.
byte[] bArr = new byte[strLen];

// Read stream into byte array.
str.Read(bArr,0 ,strLen);

// Convert byte array to a text string.
String strmContents="" ;
for(int i = 0; i < strLen; i++)
{
strmContents = strmContents + (Char)bArr[i];
}
// write string into a file using filestream
string Filepath = "c:\\output.xml ";
FileStream fs = new
FileStream(File path,FileMode.C reateNew,FileAc cess.Write);
StreamWriter sw = new StreamWriter(fs );
sw.Write(strmCo ntents);
sw.Flush();
sw.Close();

}

hope it helps

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
I want to send a biztalk document to an aspx page, and I need to see some
sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something like
http://myserver/mypage.aspx. From there it gets blurry, because I just can't figure out how to do the rest.

Does anybody have a sample page for me that I can take a look at? Just a
simple one that takes whatever biztalk sends and saves it as an xml file on the hard drive, with some pointers of what to check for, maybe some
exception handling? I am working with C#.NET, but VB.NET would be nice too, either one.

Any help would be very much appreciated. I am not in the habit of
crossposting to more than one newsgroup, but I have been searching for a
long time, and I am getting nowhere.

Thanks,
Daniel.

Nov 15 '05 #2
Thanks for the sample code. I copied it into my aspx page, but it doesn't
work for me. My guess is that I need to do some header validation in the
aspx page too, I just don't know what, because I can find no documentation
about this. Biztalk puts my request in the retry Queue, saying there's no
processing server. I get the following error in the event log.

An error occurred in BizTalk Server.

Details:
------------------------------
[0x80004005] An error occurred during transmission:
Request information:

Proxy:
Proxy port:80
URL:http://myserver/mypage.aspx
Content-Type:text/plain; charset="utf-8"
User name:administra tor
Client certificate:
Request body:559 Bytes
Timeout duration (seconds): 600
Error code:80004005
====== ERROR =====
The HTTP server returned an unexpected response: 500 Internal Server Error
The following response was received:
<html>
<head>
<title>Parser Error</title>
<style>
body {font-family:"Verdana ";font-weight:normal;f ont-size:
..7em;color:bla ck;}
p
{font-family:"Verdana ";font-weight:normal;c olor:black;marg in-top: -5px}
b
{font-family:"Verdana ";font-weight:bold;col or:black;margin-top: -5px}
H1 {
font-family:"Verdana ";font-weight:normal;f ont-size:18pt;color :red }
H2 {
font-family:"Verdana ";font-weight:normal;f ont-size:14pt;color :maroon }
pre {font-family:"Lucida Console";font-size: .9emDans Test
[0x0159] The server encountered a transport error while processing the
messaging port "mytest", which uses a transport component with a ProgID of
"BizTalk.SendHT TPX.1".

[0x012b] A transmission attempt failed.


"Prashant Kondle" <pk*****@cox.ne t> wrote in message
news:Gaaqb.5512 $mb5.3344@fed1r ead02...
This is the piece of code i use in my ASPX page load function--

private void Page_Load(objec t sender, System.EventArg s e)
{
// Create a Stream object to capture entire InputStream from browser.
Stream str = Request.InputSt ream;

// Find number of bytes in stream.
int strLen = (int)str.Length ;

// Create a byte array to hold stream.
byte[] bArr = new byte[strLen];

// Read stream into byte array.
str.Read(bArr,0 ,strLen);

// Convert byte array to a text string.
String strmContents="" ;
for(int i = 0; i < strLen; i++)
{
strmContents = strmContents + (Char)bArr[i];
}
// write string into a file using filestream
string Filepath = "c:\\output.xml ";
FileStream fs = new
FileStream(File path,FileMode.C reateNew,FileAc cess.Write);
StreamWriter sw = new StreamWriter(fs );
sw.Write(strmCo ntents);
sw.Flush();
sw.Close();

}

hope it helps

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with

transport
type HTTP, pointing to my aspx page, something like
http://myserver/mypage.aspx. From there it gets blurry, because I just

can't
figure out how to do the rest.

Does anybody have a sample page for me that I can take a look at? Just a
simple one that takes whatever biztalk sends and saves it as an xml file

on
the hard drive, with some pointers of what to check for, maybe some
exception handling? I am working with C#.NET, but VB.NET would be nice

too,
either one.

Any help would be very much appreciated. I am not in the habit of
crossposting to more than one newsgroup, but I have been searching for a
long time, and I am getting nowhere.

Thanks,
Daniel.


Nov 15 '05 #3
can u send me the code where u actually post to the BizTalk HTTP receive
DLL..from your application..
the problem is with biztalk parsing..and not with http..u can try to change
the channel settings to pass-through.so no validation occurs..
u can also validate your XML in the editor..or use a sample XML from the
biztalk tutorial for testing..

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Thanks for the sample code. I copied it into my aspx page, but it doesn't
work for me. My guess is that I need to do some header validation in the
aspx page too, I just don't know what, because I can find no documentation
about this. Biztalk puts my request in the retry Queue, saying there's no
processing server. I get the following error in the event log.

An error occurred in BizTalk Server.

Details:
------------------------------
[0x80004005] An error occurred during transmission:
Request information:

Proxy:
Proxy port:80
URL:http://myserver/mypage.aspx
Content-Type:text/plain; charset="utf-8"
User name:administra tor
Client certificate:
Request body:559 Bytes
Timeout duration (seconds): 600
Error code:80004005
====== ERROR =====
The HTTP server returned an unexpected response: 500 Internal Server Error The following response was received:
<html>
<head>
<title>Parser Error</title>
<style>
body {font-family:"Verdana ";font-weight:normal;f ont-size:
.7em;color:blac k;}
p
{font-family:"Verdana ";font-weight:normal;c olor:black;marg in-top: -5px}
b
{font-family:"Verdana ";font-weight:bold;col or:black;margin-top: -5px}
H1 {
font-family:"Verdana ";font-weight:normal;f ont-size:18pt;color :red }
H2 {
font-family:"Verdana ";font-weight:normal;f ont-size:14pt;color :maroon }
pre {font-family:"Lucida Console";font-size: .9emDans Test
[0x0159] The server encountered a transport error while processing the
messaging port "mytest", which uses a transport component with a ProgID of
"BizTalk.SendHT TPX.1".

[0x012b] A transmission attempt failed.


"Prashant Kondle" <pk*****@cox.ne t> wrote in message
news:Gaaqb.5512 $mb5.3344@fed1r ead02...
This is the piece of code i use in my ASPX page load function--

private void Page_Load(objec t sender, System.EventArg s e)
{
// Create a Stream object to capture entire InputStream from browser.
Stream str = Request.InputSt ream;

// Find number of bytes in stream.
int strLen = (int)str.Length ;

// Create a byte array to hold stream.
byte[] bArr = new byte[strLen];

// Read stream into byte array.
str.Read(bArr,0 ,strLen);

// Convert byte array to a text string.
String strmContents="" ;
for(int i = 0; i < strLen; i++)
{
strmContents = strmContents + (Char)bArr[i];
}
// write string into a file using filestream
string Filepath = "c:\\output.xml ";
FileStream fs = new
FileStream(File path,FileMode.C reateNew,FileAc cess.Write);
StreamWriter sw = new StreamWriter(fs );
sw.Write(strmCo ntents);
sw.Flush();
sw.Close();

}

hope it helps

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with

transport
type HTTP, pointing to my aspx page, something like
http://myserver/mypage.aspx. From there it gets blurry, because I just

can't
figure out how to do the rest.

Does anybody have a sample page for me that I can take a look at? Just a simple one that takes whatever biztalk sends and saves it as an xml file
on
the hard drive, with some pointers of what to check for, maybe some
exception handling? I am working with C#.NET, but VB.NET would be nice

too,
either one.

Any help would be very much appreciated. I am not in the habit of
crossposting to more than one newsgroup, but I have been searching for

a long time, and I am getting nowhere.

Thanks,
Daniel.



Nov 15 '05 #4
I don't want to send anything TO Biztalk, I want to receive something FROM
Biztalk, so I don't need to use the Biztalk receive dll, because as far as I
understand it right now that dll is for receiving documents INTO biztalk. So
biztalk sends something using HTTP transport to an aspx page, and that aspx
page should then take the actual XML document out of the request, so I can
use the values to call another application.

I tried a sample ASP file in the Biztalk SDK, and that works. The problem,
however, is that this code does not work in .NET. The app I am calling is
MS-CRM, which only has an object model available in .NET, so I need
something that will work in .NET.

Code in a regular ASP page, that sits in my wwwroot, and gets called in my
port in Biztalk:
<%
' ASP Receive page which accepts XML and saves it to a file
On Error Resume Next
Dim EntityBody, PostedDocument, Stream, fso, f
' Get the post entity body
EntityBody = Request.BinaryR ead (Request.TotalB ytes )
' Convert to text
Set Stream = Server.CreateOb ject("AdoDB.Str eam")
Stream.Type = 1 'adTypeBinary
stream.Open
Stream.Write EntityBody
Stream.Position = 0
Stream.Type = 2 'adTypeText
Stream.Charset = "us-ascii"
PostedDocument = Stream.ReadText
Stream.Close
Set Stream = Nothing

set fso = Server.CreateOb ject("Scripting .FileSystemObje ct")
set f = fso.CreateTextF ile("C:\temp\My Test.xml", True)
f.WriteLine (PostedDocument )
f.Close
Set f = Nothing
Set fso = Nothing
%>

When I create a new aspx VB.NET project and copy this code into it, I can
build the project without any errors, but when I run the biztalk test, it
gives me the error from my earlier post. When I type the aspx page address
in a webbrowser, it gives me the following error:
Server Error in '/BTStoCRM' Application.
----------------------------------------------------------------------------
----

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'BTStoCRM.Globa l'.

Source Error:

Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
Inherits="BTSto CRM.Global" %>
Source File: c:\inetpub\wwwr oot\BTStoCRM\gl obal.asax Line: 1
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
Version:1.1.432 2.573
"Prashant Kondle" <pk*****@cox.ne t> wrote in message
news:o5cqb.5915 $mb5.369@fed1re ad02...
can u send me the code where u actually post to the BizTalk HTTP receive
DLL..from your application..
the problem is with biztalk parsing..and not with http..u can try to change the channel settings to pass-through.so no validation occurs..
u can also validate your XML in the editor..or use a sample XML from the
biztalk tutorial for testing..

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Thanks for the sample code. I copied it into my aspx page, but it doesn't
work for me. My guess is that I need to do some header validation in the
aspx page too, I just don't know what, because I can find no documentation about this. Biztalk puts my request in the retry Queue, saying there's no processing server. I get the following error in the event log.

An error occurred in BizTalk Server.

Details:
------------------------------
[0x80004005] An error occurred during transmission:
Request information:

Proxy:
Proxy port:80
URL:http://myserver/mypage.aspx
Content-Type:text/plain; charset="utf-8"
User name:administra tor
Client certificate:
Request body:559 Bytes
Timeout duration (seconds): 600
Error code:80004005
====== ERROR =====
The HTTP server returned an unexpected response: 500 Internal Server Error
The following response was received:
<html>
<head>
<title>Parser Error</title>
<style>
body {font-family:"Verdana ";font-weight:normal;f ont-size:
.7em;color:blac k;}
p
{font-family:"Verdana ";font-weight:normal;c olor:black;marg in-top: -5px}
b
{font-family:"Verdana ";font-weight:bold;col or:black;margin-top: -5px}
H1 {
font-family:"Verdana ";font-weight:normal;f ont-size:18pt;color :red }
H2 {
font-family:"Verdana ";font-weight:normal;f ont-size:14pt;color :maroon }
pre {font-family:"Lucida Console";font-size: .9emDans Test
[0x0159] The server encountered a transport error while processing the
messaging port "mytest", which uses a transport component with a ProgID of "BizTalk.SendHT TPX.1".

[0x012b] A transmission attempt failed.


"Prashant Kondle" <pk*****@cox.ne t> wrote in message
news:Gaaqb.5512 $mb5.3344@fed1r ead02...
This is the piece of code i use in my ASPX page load function--

private void Page_Load(objec t sender, System.EventArg s e)
{
// Create a Stream object to capture entire InputStream from browser. Stream str = Request.InputSt ream;

// Find number of bytes in stream.
int strLen = (int)str.Length ;

// Create a byte array to hold stream.
byte[] bArr = new byte[strLen];

// Read stream into byte array.
str.Read(bArr,0 ,strLen);

// Convert byte array to a text string.
String strmContents="" ;
for(int i = 0; i < strLen; i++)
{
strmContents = strmContents + (Char)bArr[i];
}
// write string into a file using filestream
string Filepath = "c:\\output.xml ";
FileStream fs = new
FileStream(File path,FileMode.C reateNew,FileAc cess.Write);
StreamWriter sw = new StreamWriter(fs );
sw.Write(strmCo ntents);
sw.Flush();
sw.Close();

}

hope it helps

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
> I want to send a biztalk document to an aspx page, and I need to see

some
> sample code, because I just can't make it work. I have a port with
transport
> type HTTP, pointing to my aspx page, something like
> http://myserver/mypage.aspx. From there it gets blurry, because I just can't
> figure out how to do the rest.
>
> Does anybody have a sample page for me that I can take a look at? Just a > simple one that takes whatever biztalk sends and saves it as an xml file on
> the hard drive, with some pointers of what to check for, maybe some
> exception handling? I am working with C#.NET, but VB.NET would be
nice too,
> either one.
>
> Any help would be very much appreciated. I am not in the habit of
> crossposting to more than one newsgroup, but I have been searching
for a > long time, and I am getting nowhere.
>
> Thanks,
> Daniel.
>
>



Nov 15 '05 #5
Thank you Prashant for your sample code. The error turned out to be on the
server not in your code. MS support helped me solve the problem this morning
(it was a missing assemply node in the machine.config file in the framework
folder). I then copied your code back into my aspx page and it created the
file.

I am so happy today!! well at least for now :)

"Prashant Kondle" <pk*****@cox.ne t> wrote in message
news:Gaaqb.5512 $mb5.3344@fed1r ead02...
This is the piece of code i use in my ASPX page load function--

private void Page_Load(objec t sender, System.EventArg s e)
{
// Create a Stream object to capture entire InputStream from browser.
Stream str = Request.InputSt ream;

// Find number of bytes in stream.
int strLen = (int)str.Length ;

// Create a byte array to hold stream.
byte[] bArr = new byte[strLen];

// Read stream into byte array.
str.Read(bArr,0 ,strLen);

// Convert byte array to a text string.
String strmContents="" ;
for(int i = 0; i < strLen; i++)
{
strmContents = strmContents + (Char)bArr[i];
}
// write string into a file using filestream
string Filepath = "c:\\output.xml ";
FileStream fs = new
FileStream(File path,FileMode.C reateNew,FileAc cess.Write);
StreamWriter sw = new StreamWriter(fs );
sw.Write(strmCo ntents);
sw.Flush();
sw.Close();

}

hope it helps

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with

transport
type HTTP, pointing to my aspx page, something like
http://myserver/mypage.aspx. From there it gets blurry, because I just

can't
figure out how to do the rest.

Does anybody have a sample page for me that I can take a look at? Just a
simple one that takes whatever biztalk sends and saves it as an xml file

on
the hard drive, with some pointers of what to check for, maybe some
exception handling? I am working with C#.NET, but VB.NET would be nice

too,
either one.

Any help would be very much appreciated. I am not in the habit of
crossposting to more than one newsgroup, but I have been searching for a
long time, and I am getting nowhere.

Thanks,
Daniel.


Nov 15 '05 #6
glad to help!..
initially i thought biztalk was the issue but based on your previous
mail..it seemed that problem lied with the .NET solution.
i had re-tested my code just to make sure...

-PK

"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:u1******** ********@TK2MSF TNGP09.phx.gbl. ..
Thank you Prashant for your sample code. The error turned out to be on the
server not in your code. MS support helped me solve the problem this morning (it was a missing assemply node in the machine.config file in the framework folder). I then copied your code back into my aspx page and it created the
file.

I am so happy today!! well at least for now :)

"Prashant Kondle" <pk*****@cox.ne t> wrote in message
news:Gaaqb.5512 $mb5.3344@fed1r ead02...
This is the piece of code i use in my ASPX page load function--

private void Page_Load(objec t sender, System.EventArg s e)
{
// Create a Stream object to capture entire InputStream from browser.
Stream str = Request.InputSt ream;

// Find number of bytes in stream.
int strLen = (int)str.Length ;

// Create a byte array to hold stream.
byte[] bArr = new byte[strLen];

// Read stream into byte array.
str.Read(bArr,0 ,strLen);

// Convert byte array to a text string.
String strmContents="" ;
for(int i = 0; i < strLen; i++)
{
strmContents = strmContents + (Char)bArr[i];
}
// write string into a file using filestream
string Filepath = "c:\\output.xml ";
FileStream fs = new
FileStream(File path,FileMode.C reateNew,FileAc cess.Write);
StreamWriter sw = new StreamWriter(fs );
sw.Write(strmCo ntents);
sw.Flush();
sw.Close();

}

hope it helps

-PK
"Daniel Rimmelzwaan" <ri*********@xh otmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with

transport
type HTTP, pointing to my aspx page, something like
http://myserver/mypage.aspx. From there it gets blurry, because I just

can't
figure out how to do the rest.

Does anybody have a sample page for me that I can take a look at? Just a simple one that takes whatever biztalk sends and saves it as an xml file
on
the hard drive, with some pointers of what to check for, maybe some
exception handling? I am working with C#.NET, but VB.NET would be nice

too,
either one.

Any help would be very much appreciated. I am not in the habit of
crossposting to more than one newsgroup, but I have been searching for

a long time, and I am getting nowhere.

Thanks,
Daniel.



Nov 15 '05 #7

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

Similar topics

3
1779
by: Bruno G. | last post by:
Hello! Is it possible for IIS to send some sort of notification when an ASP error occurs on a page? I can see them in the web logs, but I was wondering if there was a way to receive an email or some other alert... I thought about using CDO Send Mail, but this object is often what cause the error in the first place.
1
1859
by: Bhupesh Saini | last post by:
I am trying to call a ASPX page using HttpWebRequest class and pass cookie information to it. My ASPX pages gets called just fine, however none of the request cookies are available to the ASPX page. What do I need to do to have the cookies sent along with the request Below is the code snippet from the function I an using I am using to achieve the above. EVerything works except that I do not see any cookies in request object for the ASPX page...
6
1182
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something like http://myserver/mypage.aspx. From there it gets blurry, because I just can't figure out how to do the rest. Does anybody have a sample page for me that I can take a look at? Just a simple one that takes whatever biztalk sends and saves it...
2
6953
by: Amoril | last post by:
I am currently developing an app that will post an XML file (1 to 100MB+ in size) to an outside vendor application via HTTPS Post (doing this in a vb.net windows app). The vendor will then at some later date post an updated return XML file to my webserver (asp.net). The primary problem I'm having is getting the posted stream to load in an XMLDocument object. When trying to read the posted stream into the XMLDocument the following error is...
0
493
by: TCook | last post by:
Hello, I am trying to programmatically post (i.e. login, redirect & programmatically submit data) to a website not a webservice. I am receiving the error that is shown in the subject line of this posting. Based upon the MSDN article: http://msdn2.microsoft.com/en-us/library/debx8sh9.aspx I am using the following code in an attempt to simply login which is
2
2541
by: ken | last post by:
Hello everyone, I'm new to visual VB and I am trying to setup communications using the Function ReceiveSerialData() As String example found in the help section of Microsoft Visual Basic 2005 Express Edition. Sample Code: Function ReceiveSerialData() As String ' Receive strings from a serial port. Dim returnStr As String = ""
2
1412
by: BigDave | last post by:
For a previous employer, I did a lot of BizTalk 2004 development, but am no longer doing so, and do not even have BizTalk installed. One of the things I miss is the BizTalk Scheme Editor, and how it displayed elements in a vertical tree. (Visual Studio 2005 Schema Editor and XMLSpy seem to want to display elements in a horizontal tree, and to me, not as elegantly). Does anyone know if the BizTalk Schema Editor can be obtained and used
1
4473
by: Joe | last post by:
In ASP.NET 1.1 I could detected expired form authentication tickets (which closely coincide with my expired session) by checking for the Authentication Cookie when the login screen loads. If the cookie exists, then decrypt the forms auth. ticket and check to see if it is expired. If so display a message to the user letting them know why they are back on the login screen. The code I used was something like this: Dim cookie as HttpCookie...
5
8347
by: Henry Stock | last post by:
I am trying to understand the following error: Any thing you can tell me about this is appreciated. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: for the permission of type
0
9825
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
10846
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
10254
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
9379
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
7793
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
6979
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
5650
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5828
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4021
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.