473,386 Members | 1,699 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,386 software developers and data experts.

Windows API --AddPrinter Does not seem to work

ken
Hello Everyone,

I am trying (for the pass 4 days) to try and add a server printer to my
computer. Below is the code I used to add the printer, the problem is that
nothing seems to happen!! I followed the code and it has no problem,
however, when I go to start-- settings--printers there is no new printer. I
need to know what I am doing wrong. Do I have to (declare/or declare and
populate) a DevMode structure? Do I have to also create a printerconnection
using the printer pointer? I have found very little on the net or microsoft
about what is required. Some of what is below was sent to me through this
news group, but there are some inconsistancies. I found a scrap of code that
actual has an entry point for addprinter "AddPrinterA" , should I use that?
It amazes me that microsoft has spent so little time on knowledge base and
support issues about this subject.
Any help and direction on this problem would be greatly appreciated. I have
found myself going over the same ground and no change in the results.

Thank You in Advance for any Help,
Ken

[DllImport("winspool.drv",CharSet=CharSet.Auto)]
private static extern IntPtr AddPrinter(string myserver,
uint dwLevel, ref PRINTER_INFO_2 pi );

private void menuItem4_Click(object sender,
System.EventArgs e)
{
string mynull;
mynull = null;
IntPtr mystrptr = new IntPtr(0);
bool mysend;
IntPtr mysend2;
PRINTER_INFO_2 pi = new
PRINTER_INFO_2();
string myservername;
myservername = "blahblah"

pi.pServerName = "\\\\" + myservername ;
pi.pPrinterName = "\\\\" + myservername + "\\" + "CN-3-NCA" ;
pi.pShareName = "CN-3-NCA";
pi.pPortName = "123.123.123.27:print";
pi.pDriverName = "Cannon iR2200-3300 PCL6";
pi.pComment = "No Comment";
pi.pLocation = "3rd Floor North
Alcove Copy Center";
pi.pDevMode = mystrptr;
pi.pSepFile = "";
pi.pPrintProcessor = "WinPrint";
pi.pDatatype = "RAW";
pi.pParameters = "";
pi.pSecurityDescriptor = mystrptr;
//pi.Attributes = mystrptr;
//pi.Priority = mystrptr;
//pi.DefaultPriority = mystrptr;
//pi.StartTime = mystrptr;
//pi.UntilTime = mystrptr;
//pi.Status = mystrptr;
//pi.cJobs = mystrptr;
//pi.AveragePPM = mystrptr;
mysend2 = AddPrinter(mynull,2, ref
pi);
}

[StructLayout(LayoutKind.Sequential,
CharSet=CharSet.Auto)]

private class PRINTER_INFO_2
{
public string pServerName;
public string
pPrinterName;
public string pShareName;
public string pPortName;
public string pDriverName;
public string pComment;
public string pLocation;
public IntPtr pDevMode;
public string pSepFile;
public string
pPrintProcessor;
public string pDatatype;
public string pParameters;
public IntPtr
pSecurityDescriptor;
public uint Attributes;
public uint Priority;
public uint
DefaultPriority;
public uint StartTime;
public uint UntilTime;
public uint Status;
public uint cJobs;
public uint AveragePPM;
}
Nov 15 '05 #1
5 4417
ken wrote:
|| Hello Everyone,
||
|| I am trying (for the pass 4 days) to try and add a server printer to
|| my computer. Below is the code I used to add the printer, the
|| problem is that nothing seems to happen!! I followed the code and it
|| has no problem, however, when I go to start-- settings--printers
|| there is no new printer. I need to know what I am doing wrong. Do I
|| have to (declare/or declare and populate) a DevMode structure? Do I
|| have to also create a printerconnection using the printer pointer? I
|| have found very little on the net or microsoft about what is
|| required. Some of what is below was sent to me through this news
|| group, but there are some inconsistancies. I found a scrap of code
|| that actual has an entry point for addprinter "AddPrinterA" , should
|| I use that? It amazes me that microsoft has spent so little time on
|| knowledge base and support issues about this subject.
|| Any help and direction on this problem would be greatly appreciated.
|| I have found myself going over the same ground and no change in the
|| results.
||
|| Thank You in Advance for any Help,
|| Ken
||
|| [DllImport("winspool.drv",CharSet=CharSet.Auto)]
|| private static extern IntPtr AddPrinter(string myserver,
|| uint dwLevel, ref PRINTER_INFO_2 pi );
||
|| private void menuItem4_Click(object sender,
|| System.EventArgs e)
|| {
|| string mynull;
|| mynull = null;
|| IntPtr mystrptr = new IntPtr(0);
|| bool mysend;
|| IntPtr mysend2;
|| PRINTER_INFO_2 pi = new
|| PRINTER_INFO_2();
|| string myservername;
|| myservername = "blahblah"
||
|| pi.pServerName = "\\\\" + myservername ;
|| pi.pPrinterName = "\\\\" + myservername + "\\" + "CN-3-NCA" ;
|| pi.pShareName = "CN-3-NCA";
|| pi.pPortName = "123.123.123.27:print";
|| pi.pDriverName = "Cannon iR2200-3300 PCL6";
|| pi.pComment = "No Comment";
|| pi.pLocation = "3rd Floor North
|| Alcove Copy Center";
|| pi.pDevMode = mystrptr;
|| pi.pSepFile = "";
|| pi.pPrintProcessor = "WinPrint";
|| pi.pDatatype = "RAW";
|| pi.pParameters = "";
|| pi.pSecurityDescriptor = mystrptr;
|| //pi.Attributes = mystrptr;
|| //pi.Priority = mystrptr;
|| //pi.DefaultPriority = mystrptr;
|| //pi.StartTime = mystrptr;
|| //pi.UntilTime = mystrptr;
|| //pi.Status = mystrptr;
|| //pi.cJobs = mystrptr;
|| //pi.AveragePPM = mystrptr;
|| mysend2 = AddPrinter(mynull,2, ref
|| pi);
|| }
||
|| [StructLayout(LayoutKind.Sequential,
|| CharSet=CharSet.Auto)]
||
|| private class PRINTER_INFO_2
|| {
|| public string pServerName;
|| public string
|| pPrinterName;
|| public string pShareName;
|| public string pPortName;
|| public string pDriverName;
|| public string pComment;
|| public string pLocation;
|| public IntPtr pDevMode;
|| public string pSepFile;
|| public string
|| pPrintProcessor;
|| public string pDatatype;
|| public string pParameters;
|| public IntPtr
|| pSecurityDescriptor;
|| public uint Attributes;
|| public uint Priority;
|| public uint
|| DefaultPriority;
|| public uint StartTime;
|| public uint UntilTime;
|| public uint Status;
|| public uint cJobs;
|| public uint AveragePPM;
|| }
In general if you have to go down the PInvoke road take some time to read the API description in platform SDK documentation.
AddPrinter returns a NULL handle if the function failed, a non-null handle to be passed to the ClosePrinter API when succeeded, when
NULL is returned one should call "Marshal.GetLastWin32Error" to get the reason for the failure.
Nowhere in your code I see a check for the handle returned (IntPtr), nor a call to GetLastWin32Error.

Please add error checking to your code and search the SDK platform documentation for an error description.

Willy.
Nov 15 '05 #2
Ken
Hello Willy,

I am receiving no error messages, here is what I am using:
What would you sugest next? Also, what is the SDK Platform
CD you are refering too? I am using W2K.

Thank You for All Your Help,
Ken
P.S. If microsoft wants people to buy into C#, then they
need to have better documentation!!!!!!!!
Let's here it for Googles

catch
(System.Runtime.InteropServices.MarshalDirectiveEx ception
exs)
{
MessageBox.Show ("Here is the error message" +
exs.Message);
}
catch ( System.Exception ex)
{
MessageBox.Show ("Here is the error message" + ex.Message);
}

The IntPtr = 1527664;
next time =1520616;
next time = 1528184;

-----Original Message-----
ken wrote:
|| Hello Everyone,
||
|| I am trying (for the pass 4 days) to try and add a server printer to|| my computer. Below is the code I used to add the printer, the|| problem is that nothing seems to happen!! I followed the code and it|| has no problem, however, when I go to start-- settings- -printers|| there is no new printer. I need to know what I am doing wrong. Do I|| have to (declare/or declare and populate) a DevMode structure? Do I|| have to also create a printerconnection using the printer pointer? I|| have found very little on the net or microsoft about what is|| required. Some of what is below was sent to me through this news|| group, but there are some inconsistancies. I found a scrap of code|| that actual has an entry point for addprinter "AddPrinterA" , should|| I use that? It amazes me that microsoft has spent so little time on|| knowledge base and support issues about this subject.
|| Any help and direction on this problem would be greatly appreciated.|| I have found myself going over the same ground and no change in the|| results.
||
|| Thank You in Advance for any Help,
|| Ken
||
|| [DllImport("winspool.drv",CharSet=CharSet.Auto)]
|| private static extern IntPtr AddPrinter(string myserver,|| uint dwLevel, ref PRINTER_INFO_2 pi );
||
|| private void menuItem4_Click(object sender,
|| System.EventArgs e)
|| {
|| string mynull;
|| mynull = null;
|| IntPtr mystrptr = new IntPtr(0);
|| bool mysend;
|| IntPtr mysend2;
|| PRINTER_INFO_2 pi = new
|| PRINTER_INFO_2();
|| string myservername;
|| myservername = "blahblah"
||
|| pi.pServerName = "\\\\" + myservername ;
|| pi.pPrinterName = "\\\\" + myservername + "\\" + "CN- 3-NCA" ;|| pi.pShareName = "CN-3-NCA";
|| pi.pPortName = "123.123.123.27:print";
|| pi.pDriverName = "Cannon iR2200-3300 PCL6";
|| pi.pComment = "No Comment";
|| pi.pLocation = "3rd Floor North
|| Alcove Copy Center";
|| pi.pDevMode = mystrptr;
|| pi.pSepFile = "";
|| pi.pPrintProcessor = "WinPrint";
|| pi.pDatatype = "RAW";
|| pi.pParameters = "";
|| pi.pSecurityDescriptor = mystrptr;
|| //pi.Attributes = mystrptr;
|| //pi.Priority = mystrptr;
|| //pi.DefaultPriority = mystrptr;
|| //pi.StartTime = mystrptr;
|| //pi.UntilTime = mystrptr;
|| //pi.Status = mystrptr;
|| //pi.cJobs = mystrptr;
|| //pi.AveragePPM = mystrptr;
|| mysend2 = AddPrinter(mynull,2, ref
|| pi);
|| }
||
|| [StructLayout(LayoutKind.Sequential,
|| CharSet=CharSet.Auto)]
||
|| private class PRINTER_INFO_2
|| {
|| public string pServerName;
|| public string
|| pPrinterName;
|| public string pShareName;
|| public string pPortName;
|| public string pDriverName;
|| public string pComment;
|| public string pLocation;
|| public IntPtr pDevMode;
|| public string pSepFile;
|| public string
|| pPrintProcessor;
|| public string pDatatype;
|| public string pParameters;
|| public IntPtr
|| pSecurityDescriptor;
|| public uint Attributes;
|| public uint Priority;
|| public uint
|| DefaultPriority;
|| public uint StartTime;
|| public uint UntilTime;
|| public uint Status;
|| public uint cJobs;
|| public uint AveragePPM;
|| }
In general if you have to go down the PInvoke road take some time to read the API description in platform SDK
documentation.AddPrinter returns a NULL handle if the function failed, a non-null handle to be passed to the ClosePrinter API
when succeeded, whenNULL is returned one should call "Marshal.GetLastWin32Error" to get the reason for
the failure.Nowhere in your code I see a check for the handle returned (IntPtr), nor a call to GetLastWin32Error.
Please add error checking to your code and search the SDK platform documentation for an error description.
Willy.
.

Nov 15 '05 #3
You could create a tempoary .vbs script that adds the printer via
AddPrinterConnection(), and execute it via Process.Start

"ken" <kk*****@mindspring.com> wrote in message
news:OQ**************@TK2MSFTNGP12.phx.gbl...
Hello Everyone,

I am trying (for the pass 4 days) to try and add a server printer to my
computer. Below is the code I used to add the printer, the problem is that
nothing seems to happen!! I followed the code and it has no problem,
however, when I go to start-- settings--printers there is no new printer. I need to know what I am doing wrong. Do I have to (declare/or declare and
populate) a DevMode structure? Do I have to also create a printerconnection using the printer pointer? I have found very little on the net or microsoft about what is required. Some of what is below was sent to me through this
news group, but there are some inconsistancies. I found a scrap of code that actual has an entry point for addprinter "AddPrinterA" , should I use that? It amazes me that microsoft has spent so little time on knowledge base and
support issues about this subject.
Any help and direction on this problem would be greatly appreciated. I have found myself going over the same ground and no change in the results.

Thank You in Advance for any Help,
Ken

[DllImport("winspool.drv",CharSet=CharSet.Auto)]
private static extern IntPtr AddPrinter(string myserver,
uint dwLevel, ref PRINTER_INFO_2 pi );

private void menuItem4_Click(object sender,
System.EventArgs e)
{
string mynull;
mynull = null;
IntPtr mystrptr = new IntPtr(0);
bool mysend;
IntPtr mysend2;
PRINTER_INFO_2 pi = new
PRINTER_INFO_2();
string myservername;
myservername = "blahblah"

pi.pServerName = "\\\\" + myservername ;
pi.pPrinterName = "\\\\" + myservername + "\\" + "CN-3-NCA" ;
pi.pShareName = "CN-3-NCA";
pi.pPortName = "123.123.123.27:print";
pi.pDriverName = "Cannon iR2200-3300 PCL6";
pi.pComment = "No Comment";
pi.pLocation = "3rd Floor North
Alcove Copy Center";
pi.pDevMode = mystrptr;
pi.pSepFile = "";
pi.pPrintProcessor = "WinPrint";
pi.pDatatype = "RAW";
pi.pParameters = "";
pi.pSecurityDescriptor = mystrptr;
//pi.Attributes = mystrptr;
//pi.Priority = mystrptr;
//pi.DefaultPriority = mystrptr;
//pi.StartTime = mystrptr;
//pi.UntilTime = mystrptr;
//pi.Status = mystrptr;
//pi.cJobs = mystrptr;
//pi.AveragePPM = mystrptr;
mysend2 = AddPrinter(mynull,2, ref
pi);
}

[StructLayout(LayoutKind.Sequential,
CharSet=CharSet.Auto)]

private class PRINTER_INFO_2
{
public string pServerName;
public string
pPrinterName;
public string pShareName;
public string pPortName;
public string pDriverName;
public string pComment;
public string pLocation;
public IntPtr pDevMode;
public string pSepFile;
public string
pPrintProcessor;
public string pDatatype;
public string pParameters;
public IntPtr
pSecurityDescriptor;
public uint Attributes;
public uint Priority;
public uint
DefaultPriority;
public uint StartTime;
public uint UntilTime;
public uint Status;
public uint cJobs;
public uint AveragePPM;
}

Nov 15 '05 #4
Ken,
see inline ****

Ken wrote:
|| Hello Willy,
||
|| I am receiving no error messages, here is what I am using:
|| What would you sugest next? Also, what is the SDK Platform
|| CD you are refering too? I am using W2K.

**** The Platform SDK is available as a free download from : http://www.microsoft.com/msdownload/...sdk/sdkupdate/ and is also
part of the MSDN Library CD.

You can also consult the MSDN library online : http://msdn.microsoft.com/library/default.asp
To search the MSDN site goto MSDN home page http://msdn.microsoft.com and search for the API description, f.i searchinf for
AddPrinter returns:
http://msdn.microsoft.com/library/de...tspol_1po2.asp
||
|| Thank You for All Your Help,
|| Ken
|| P.S. If microsoft wants people to buy into C#, then they
|| need to have better documentation!!!!!!!!
**** The documentation is available, as I said what you are trying is to call a native Win32 API, this has nothing to do with C#.
||
|| The IntPtr = 1527664;
|| next time =1520616;
|| next time = 1528184;
||

**** You should call the Win32 "ClosePrinter API using this IntPtr (Handle) as argument.

Willy.
Nov 15 '05 #5

Hi Ken,

Yes, just as Gunter said you can add a printer via WSH.
Maybe you can get some information in the below links:
http://msdn.microsoft.com/library/de...us/script56/ht
ml/wsmthaddwindowsprinterconnection.asp
and
http://www.aspemporium.com/aspEmpori...sp?mid=620&fid
=1

Hope it helps.

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: "Günter Prossliner" <g.**********@gmx.at>
| References: <OQ**************@TK2MSFTNGP12.phx.gbl>
| Subject: Re: Windows API --AddPrinter Does not seem to work
| Date: Mon, 4 Aug 2003 18:16:15 +0200
| Lines: 109
| 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: <eJ**************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 80.240.224.178
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:174024
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| You could create a tempoary .vbs script that adds the printer via
| AddPrinterConnection(), and execute it via Process.Start
|
| "ken" <kk*****@mindspring.com> wrote in message
| news:OQ**************@TK2MSFTNGP12.phx.gbl...
| > Hello Everyone,
| >
| > I am trying (for the pass 4 days) to try and add a server printer to my
| > computer. Below is the code I used to add the printer, the problem is
that
| > nothing seems to happen!! I followed the code and it has no problem,
| > however, when I go to start-- settings--printers there is no new
printer.
| I
| > need to know what I am doing wrong. Do I have to (declare/or declare and
| > populate) a DevMode structure? Do I have to also create a
| printerconnection
| > using the printer pointer? I have found very little on the net or
| microsoft
| > about what is required. Some of what is below was sent to me through
this
| > news group, but there are some inconsistancies. I found a scrap of code
| that
| > actual has an entry point for addprinter "AddPrinterA" , should I use
| that?
| > It amazes me that microsoft has spent so little time on knowledge base
and
| > support issues about this subject.
| > Any help and direction on this problem would be greatly appreciated. I
| have
| > found myself going over the same ground and no change in the results.
| >
| > Thank You in Advance for any Help,
| > Ken
| >
| > [DllImport("winspool.drv",CharSet=CharSet.Auto)]
| > private static extern IntPtr AddPrinter(string myserver,
| > uint dwLevel, ref PRINTER_INFO_2 pi );
| >
| > private void menuItem4_Click(object sender,
| > System.EventArgs e)
| > {
| > string mynull;
| > mynull = null;
| > IntPtr mystrptr = new IntPtr(0);
| > bool mysend;
| > IntPtr mysend2;
| > PRINTER_INFO_2 pi = new
| > PRINTER_INFO_2();
| > string myservername;
| > myservername = "blahblah"
| >
| > pi.pServerName = "\\\\" + myservername ;
| > pi.pPrinterName = "\\\\" + myservername + "\\" + "CN-3-NCA" ;
| > pi.pShareName = "CN-3-NCA";
| > pi.pPortName = "123.123.123.27:print";
| > pi.pDriverName = "Cannon iR2200-3300 PCL6";
| > pi.pComment = "No Comment";
| > pi.pLocation = "3rd Floor North
| > Alcove Copy Center";
| > pi.pDevMode = mystrptr;
| > pi.pSepFile = "";
| > pi.pPrintProcessor = "WinPrint";
| > pi.pDatatype = "RAW";
| > pi.pParameters = "";
| > pi.pSecurityDescriptor = mystrptr;
| > //pi.Attributes = mystrptr;
| > //pi.Priority = mystrptr;
| > //pi.DefaultPriority = mystrptr;
| > //pi.StartTime = mystrptr;
| > //pi.UntilTime = mystrptr;
| > //pi.Status = mystrptr;
| > //pi.cJobs = mystrptr;
| > //pi.AveragePPM = mystrptr;
| > mysend2 = AddPrinter(mynull,2, ref
| > pi);
| > }
| >
| > [StructLayout(LayoutKind.Sequential,
| > CharSet=CharSet.Auto)]
| >
| > private class PRINTER_INFO_2
| > {
| > public string pServerName;
| > public string
| > pPrinterName;
| > public string pShareName;
| > public string pPortName;
| > public string pDriverName;
| > public string pComment;
| > public string pLocation;
| > public IntPtr pDevMode;
| > public string pSepFile;
| > public string
| > pPrintProcessor;
| > public string pDatatype;
| > public string pParameters;
| > public IntPtr
| > pSecurityDescriptor;
| > public uint Attributes;
| > public uint Priority;
| > public uint
| > DefaultPriority;
| > public uint StartTime;
| > public uint UntilTime;
| > public uint Status;
| > public uint cJobs;
| > public uint AveragePPM;
| > }
| >
| >
|
|
|

Nov 15 '05 #6

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

Similar topics

7
by: Jonas | last post by:
This works fine in Win XP but does not work at all in Win 98. Private WithEvents objIExplorer As InternetExplorer I have to do it like this to get it to work in Win 98 Dim objIExplorer As...
1
by: sriramva | last post by:
The following code does not work from an ASP.Net application on Windows 2003 IIS 6 (application isolation mode). Basically I am trying to connect to a Sharepoint catalog through the oledb provider...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
11
by: Michi Henning | last post by:
Hi, I'm using a blocking Select() call on a socket with a timeout value of -1. I'd expect the call to block indefinitely, but it doesn't. When I use Poll() instead, a timeout of -1 works fine...
0
by: Markus | last post by:
Hi NG, I've got the following problem: I'am developing a Web-Application with asp.net but the debug-mode does not work. Developing in Visual Studio 2003 on win2000pro.
1
by: Jeff McPhail | last post by:
I have a (C#) webservice that works fine on Windows xp and Windows 2000 but does not on Windows 2000 Server. The problem is that IIS does not have an application mapping for .asmx file extentions...
1
by: lm2b2005 | last post by:
Hi I've written, installed, started and debugged my vb.net 2005 windows service and all works fine. But only while I am debugging it in Visual studio 2005. Any idea how I can get my WS to...
5
by: S Moran | last post by:
following this tutorial http://www.c-sharpcorner.com/UploadFile/mahesh/window_service11262005045007AM/window_service.aspx installutil seems to complete successfully, but the service is not...
1
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
1. What is a difference between System.Windows.Forms.Timer and System.Threading.Timer ? 2. How does it work? How is elpasing time counted? I.e interval is set to 10ms and a timer starts working -...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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,...
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
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,...

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.