hi
i wanna detect if a anything is connected to the usb port
I am using system.management class for tht purpose
this is my code
class usbdetect
{
public static void Main()
{
usbdetect we = new usbdetect();
ManagementEventWatcher w= null;
WqlEventQuery q;
ManagementOperationObserver observer = new
ManagementOperationObserver();
// Bind to local machine
ManagementScope scope = new
ManagementScope("root\\CIMV2")*;
scope.Options.EnablePrivileges = true; //sets
required privilege
try
{
q = new WqlEventQuery();
q.EventClassName =
"__InstanceOperationEvent";
q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA
'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g);
w = new ManagementEventWatcher(scope,
q);
w.EventArrived += new
EventArrivedEventHandler(we.Us*bEventArrived);
w.Start();
Console.ReadLine(); // block main
thread for test purposes
}
catch(Exception e)
{
Console.WriteLine(e.Message);
}
finally
{
w.Stop();
}
}
public void UsbEventArrived(object sender,
EventArrivedEventArgs e)
{
//Get the Event object and display it
foreach(PropertyData pd in
e.NewEvent.Properties)
{
ManagementBaseObject mbo = null;
if(( mbo = pd.Value as
ManagementBaseObject) != null)
{
foreach(PropertyData prop in
mbo.Properties)
Console.WriteLine("{0}
- {1}", prop.Name, prop.Value);
}
}
}
}
event gets fired if anything is plugged in usb port
1)But the same event gets fired if device is inserted or removed..
so inside this event i wanna detect if device got inserted or
removed........CAN ANYONE HELP ME??????
2)also i wanna find Total storage (capacity) and Available
storage(unused) of device........CAN ANYONE HELP ME??????
THANX 7 13296
I posted this code snip to get you started, now it's up to you to try
understand what the code is doing and how it can be adapted to suit your
needs. Start reading the WMI docs in MSDN, search for the event types you
can watch for, like __InstanceOperationEvent, __InstanceCreationEvent and
__InstanceDeletionEvent and try to understand what they are and what they
might be used for.
Just a hint, the InstanceCreationEvent is fired when a new instance of
'Win32_USBControllerdevice' is recorded in the metabase, so this is the
event to watch for when you need USB insert detection.....
Willy.
"sanjana" <su****@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
hi
i wanna detect if a anything is connected to the usb port
I am using system.management class for tht purpose
this is my code
class usbdetect
{
public static void Main()
{
usbdetect we = new usbdetect();
ManagementEventWatcher w= null;
WqlEventQuery q;
ManagementOperationObserver observer = new
ManagementOperationObserver();
// Bind to local machine
ManagementScope scope = new
ManagementScope("root\\CIMV2")*;
scope.Options.EnablePrivileges = true; //sets
required privilege
try
{
q = new WqlEventQuery();
q.EventClassName =
"__InstanceOperationEvent";
q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA
'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g);
w = new ManagementEventWatcher(scope,
q);
w.EventArrived += new
EventArrivedEventHandler(we.Us*bEventArrived);
w.Start();
Console.ReadLine(); // block main
thread for test purposes
}
catch(Exception e)
{
Console.WriteLine(e.Message);
}
finally
{
w.Stop();
}
}
public void UsbEventArrived(object sender,
EventArrivedEventArgs e)
{
//Get the Event object and display it
foreach(PropertyData pd in
e.NewEvent.Properties)
{
ManagementBaseObject mbo = null;
if(( mbo = pd.Value as
ManagementBaseObject) != null)
{
foreach(PropertyData prop in
mbo.Properties)
Console.WriteLine("{0}
- {1}", prop.Name, prop.Value);
}
}
}
}
event gets fired if anything is plugged in usb port
1)But the same event gets fired if device is inserted or removed..
so inside this event i wanna detect if device got inserted or
removed........CAN ANYONE HELP ME??????
2)also i wanna find Total storage (capacity) and Available
storage(unused) of device........CAN ANYONE HELP ME??????
THANX
Hi
thanx
i got it
but i m making some minute error which i m not able to figure out..
i am able to detect insert/remove events..but the evnts are getting
fired twice
tht is if i remove a device at the usb port..the deviceremoveevent
gets executed twice..n if insert a device..the insert event get s
exeuted twice..
am i making some error......??
thanx
Willy Denoyette [MVP] wrote: I posted this code snip to get you started, now it's up to you to try understand what the code is doing and how it can be adapted to suit your needs. Start reading the WMI docs in MSDN, search for the event types you can watch for, like __InstanceOperationEvent, __InstanceCreationEvent and __InstanceDeletionEvent and try to understand what they are and what they might be used for.
Just a hint, the InstanceCreationEvent is fired when a new instance of 'Win32_USBControllerdevice' is recorded in the metabase, so this is the event to watch for when you need USB insert detection.....
Willy.
"sanjana" <su****@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code
class usbdetect { public static void Main() { usbdetect we = new usbdetect(); ManagementEventWatcher w= null; WqlEventQuery q; ManagementOperationObserver observer = new ManagementOperationObserver(); // Bind to local machine ManagementScope scope = new ManagementScope("root\\CIMV2")*; scope.Options.EnablePrivileges = true; //sets required privilege try { q = new WqlEventQuery(); q.EventClassName = "__InstanceOperationEvent"; q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA 'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g); w = new ManagementEventWatcher(scope, q);
w.EventArrived += new EventArrivedEventHandler(we.Us*bEventArrived); w.Start(); Console.ReadLine(); // block main thread for test purposes } catch(Exception e) { Console.WriteLine(e.Message); } finally { w.Stop(); } } public void UsbEventArrived(object sender, EventArrivedEventArgs e) { //Get the Event object and display it foreach(PropertyData pd in e.NewEvent.Properties) { ManagementBaseObject mbo = null; if(( mbo = pd.Value as ManagementBaseObject) != null) { foreach(PropertyData prop in mbo.Properties) Console.WriteLine("{0} - {1}", prop.Name, prop.Value); } } }
}
event gets fired if anything is plugged in usb port 1)But the same event gets fired if device is inserted or removed.. so inside this event i wanna detect if device got inserted or removed........CAN ANYONE HELP ME?????? 2)also i wanna find Total storage (capacity) and Available storage(unused) of device........CAN ANYONE HELP ME?????? THANX
Hi
thanx
i got it
but i m making some minute error which i m not able to figure out..
i am able to detect insert/remove events..but the evnts are getting
fired twice
tht is if i remove a device at the usb port..the deviceremoveevent
gets executed twice..n if insert a device..the insert event get s
exeuted twice..
am i making some error......
thanx
Willy Denoyette [MVP] wrote: I posted this code snip to get you started, now it's up to you to try understand what the code is doing and how it can be adapted to suit your needs. Start reading the WMI docs in MSDN, search for the event types you can watch for, like __InstanceOperationEvent, __InstanceCreationEvent and __InstanceDeletionEvent and try to understand what they are and what they might be used for.
Just a hint, the InstanceCreationEvent is fired when a new instance of 'Win32_USBControllerdevice' is recorded in the metabase, so this is the event to watch for when you need USB insert detection.....
Willy.
"sanjana" <su****@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code
class usbdetect { public static void Main() { usbdetect we = new usbdetect(); ManagementEventWatcher w= null; WqlEventQuery q; ManagementOperationObserver observer = new ManagementOperationObserver(); // Bind to local machine ManagementScope scope = new ManagementScope("root\\CIMV2")*; scope.Options.EnablePrivileges = true; //sets required privilege try { q = new WqlEventQuery(); q.EventClassName = "__InstanceOperationEvent"; q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA 'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g); w = new ManagementEventWatcher(scope, q);
w.EventArrived += new EventArrivedEventHandler(we.Us*bEventArrived); w.Start(); Console.ReadLine(); // block main thread for test purposes } catch(Exception e) { Console.WriteLine(e.Message); } finally { w.Stop(); } } public void UsbEventArrived(object sender, EventArrivedEventArgs e) { //Get the Event object and display it foreach(PropertyData pd in e.NewEvent.Properties) { ManagementBaseObject mbo = null; if(( mbo = pd.Value as ManagementBaseObject) != null) { foreach(PropertyData prop in mbo.Properties) Console.WriteLine("{0} - {1}", prop.Name, prop.Value); } } }
}
event gets fired if anything is plugged in usb port 1)But the same event gets fired if device is inserted or removed.. so inside this event i wanna detect if device got inserted or removed........CAN ANYONE HELP ME?????? 2)also i wanna find Total storage (capacity) and Available storage(unused) of device........CAN ANYONE HELP ME?????? THANX
Hi
thanx
i got it
but i m making some minute error which i m not able to figure out..
i am able to detect insert/remove events..but the evnts are getting
fired twice
tht is if i remove a device at the usb port..the deviceremoveevent
gets executed twice..n if insert a device..the insert event get s
exeuted twice..
am i making some error......??
thanx
Willy Denoyette [MVP] wrote: I posted this code snip to get you started, now it's up to you to try understand what the code is doing and how it can be adapted to suit your needs. Start reading the WMI docs in MSDN, search for the event types you can watch for, like __InstanceOperationEvent, __InstanceCreationEvent and __InstanceDeletionEvent and try to understand what they are and what they might be used for.
Just a hint, the InstanceCreationEvent is fired when a new instance of 'Win32_USBControllerdevice' is recorded in the metabase, so this is the event to watch for when you need USB insert detection.....
Willy.
"sanjana" <su****@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code
class usbdetect { public static void Main() { usbdetect we = new usbdetect(); ManagementEventWatcher w= null; WqlEventQuery q; ManagementOperationObserver observer = new ManagementOperationObserver(); // Bind to local machine ManagementScope scope = new ManagementScope("root\\CIMV2")*; scope.Options.EnablePrivileges = true; //sets required privilege try { q = new WqlEventQuery(); q.EventClassName = "__InstanceOperationEvent"; q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA 'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g); w = new ManagementEventWatcher(scope, q);
w.EventArrived += new EventArrivedEventHandler(we.Us*bEventArrived); w.Start(); Console.ReadLine(); // block main thread for test purposes } catch(Exception e) { Console.WriteLine(e.Message); } finally { w.Stop(); } } public void UsbEventArrived(object sender, EventArrivedEventArgs e) { //Get the Event object and display it foreach(PropertyData pd in e.NewEvent.Properties) { ManagementBaseObject mbo = null; if(( mbo = pd.Value as ManagementBaseObject) != null) { foreach(PropertyData prop in mbo.Properties) Console.WriteLine("{0} - {1}", prop.Name, prop.Value); } } }
}
event gets fired if anything is plugged in usb port 1)But the same event gets fired if device is inserted or removed.. so inside this event i wanna detect if device got inserted or removed........CAN ANYONE HELP ME?????? 2)also i wanna find Total storage (capacity) and Available storage(unused) of device........CAN ANYONE HELP ME?????? THANX
ooooops!! i got y the evnt gets fired twice..actually its getting
executed twice cause of 2 devices present :)
sanjana wrote: Hi thanx i got it but i m making some minute error which i m not able to figure out.. i am able to detect insert/remove events..but the evnts are getting fired twice tht is if i remove a device at the usb port..the deviceremoveevent gets executed twice..n if insert a device..the insert event get s exeuted twice.. am i making some error......??
thanx
Willy Denoyette [MVP] wrote: I posted this code snip to get you started, now it's up to you to try understand what the code is doing and how it can be adapted to suit your needs. Start reading the WMI docs in MSDN, search for the event types you can watch for, like __InstanceOperationEvent, __InstanceCreationEvent and __InstanceDeletionEvent and try to understand what they are and what they might be used for.
Just a hint, the InstanceCreationEvent is fired when a new instance of 'Win32_USBControllerdevice' is recorded in the metabase, so this is the event to watch for when you need USB insert detection.....
Willy.
"sanjana" <su****@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code
class usbdetect { public static void Main() { usbdetect we = new usbdetect(); ManagementEventWatcher w= null; WqlEventQuery q; ManagementOperationObserver observer = new ManagementOperationObserver(); // Bind to local machine ManagementScope scope = new ManagementScope("root\\CIMV2")*; scope.Options.EnablePrivileges = true; //sets required privilege try { q = new WqlEventQuery(); q.EventClassName = "__InstanceOperationEvent"; q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA 'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g); w = new ManagementEventWatcher(scope, q);
w.EventArrived += new EventArrivedEventHandler(we.Us*bEventArrived); w.Start(); Console.ReadLine(); // block main thread for test purposes } catch(Exception e) { Console.WriteLine(e.Message); } finally { w.Stop(); } } public void UsbEventArrived(object sender, EventArrivedEventArgs e) { //Get the Event object and display it foreach(PropertyData pd in e.NewEvent.Properties) { ManagementBaseObject mbo = null; if(( mbo = pd.Value as ManagementBaseObject) != null) { foreach(PropertyData prop in mbo.Properties) Console.WriteLine("{0} - {1}", prop.Name, prop.Value); } } }
}
event gets fired if anything is plugged in usb port 1)But the same event gets fired if device is inserted or removed.. so inside this event i wanna detect if device got inserted or removed........CAN ANYONE HELP ME?????? 2)also i wanna find Total storage (capacity) and Available storage(unused) of device........CAN ANYONE HELP ME?????? THANX
Depending on the device it's quite possible that even more events gets
fired.
USB devices are quite complex things, and mostly they consists of more than
one logical device. The device driver mostly consists of several layers and
each layer is able to signal it presence by creating a WMI class instance
when inserted.
What you should do is filter the events according the properties of
interest, but again this depends highly on the device.
Willy.
"sanjana" <su****@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
ooooops!! i got y the evnt gets fired twice..actually its getting
executed twice cause of 2 devices present :)
sanjana wrote: Hi thanx i got it but i m making some minute error which i m not able to figure out.. i am able to detect insert/remove events..but the evnts are getting fired twice tht is if i remove a device at the usb port..the deviceremoveevent gets executed twice..n if insert a device..the insert event get s exeuted twice.. am i making some error......??
thanx
Willy Denoyette [MVP] wrote: I posted this code snip to get you started, now it's up to you to try understand what the code is doing and how it can be adapted to suit your needs. Start reading the WMI docs in MSDN, search for the event types you can watch for, like __InstanceOperationEvent, __InstanceCreationEvent and __InstanceDeletionEvent and try to understand what they are and what they might be used for.
Just a hint, the InstanceCreationEvent is fired when a new instance of 'Win32_USBControllerdevice' is recorded in the metabase, so this is the event to watch for when you need USB insert detection.....
Willy.
"sanjana" <su****@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code
class usbdetect { public static void Main() { usbdetect we = new usbdetect(); ManagementEventWatcher w= null; WqlEventQuery q; ManagementOperationObserver observer = new ManagementOperationObserver(); // Bind to local machine ManagementScope scope = new ManagementScope("root\\CIMV2")*; scope.Options.EnablePrivileges = true; //sets required privilege try { q = new WqlEventQuery(); q.EventClassName = "__InstanceOperationEvent"; q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA 'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g); w = new ManagementEventWatcher(scope, q);
w.EventArrived += new EventArrivedEventHandler(we.Us*bEventArrived); w.Start(); Console.ReadLine(); // block main thread for test purposes } catch(Exception e) { Console.WriteLine(e.Message); } finally { w.Stop(); } } public void UsbEventArrived(object sender, EventArrivedEventArgs e) { //Get the Event object and display it foreach(PropertyData pd in e.NewEvent.Properties) { ManagementBaseObject mbo = null; if(( mbo = pd.Value as ManagementBaseObject) != null) { foreach(PropertyData prop in mbo.Properties) Console.WriteLine("{0} - {1}", prop.Name, prop.Value); } } }
}
event gets fired if anything is plugged in usb port 1)But the same event gets fired if device is inserted or removed.. so inside this event i wanna detect if device got inserted or removed........CAN ANYONE HELP ME?????? 2)also i wanna find Total storage (capacity) and Available storage(unused) of device........CAN ANYONE HELP ME??????
THANX
hi willy
ok thanx for advice
ok is there way to detect if
sd card is insered or removed from the device at usb
tht is i want to check sd card insert/remove events
thanx
Willy Denoyette [MVP] wrote: Depending on the device it's quite possible that even more events gets fired. USB devices are quite complex things, and mostly they consists of more than one logical device. The device driver mostly consists of several layers and each layer is able to signal it presence by creating a WMI class instance when inserted. What you should do is filter the events according the properties of interest, but again this depends highly on the device.
Willy.
"sanjana" <su****@gmail.com> wrote in message news:11**********************@z14g2000cwz.googlegr oups.com... ooooops!! i got y the evnt gets fired twice..actually its getting executed twice cause of 2 devices present :)
sanjana wrote: Hi thanx i got it but i m making some minute error which i m not able to figure out.. i am able to detect insert/remove events..but the evnts are getting fired twice tht is if i remove a device at the usb port..the deviceremoveevent gets executed twice..n if insert a device..the insert event get s exeuted twice.. am i making some error......??
thanx
Willy Denoyette [MVP] wrote: I posted this code snip to get you started, now it's up to you to try understand what the code is doing and how it can be adapted to suit your needs. Start reading the WMI docs in MSDN, search for the event types you can watch for, like __InstanceOperationEvent, __InstanceCreationEvent and __InstanceDeletionEvent and try to understand what they are and what they might be used for.
Just a hint, the InstanceCreationEvent is fired when a new instance of 'Win32_USBControllerdevice' is recorded in the metabase, so this is the event to watch for when you need USB insert detection.....
Willy.
"sanjana" <su****@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code
class usbdetect { public static void Main() { usbdetect we = new usbdetect(); ManagementEventWatcher w= null; WqlEventQuery q; ManagementOperationObserver observer = new ManagementOperationObserver(); // Bind to local machine ManagementScope scope = new ManagementScope("root\\CIMV2")*; scope.Options.EnablePrivileges = true; //sets required privilege try { q = new WqlEventQuery(); q.EventClassName = "__InstanceOperationEvent"; q.WithinInterval = new TimeSpan(0,0,3);
q.Condition = @"TargetInstance ISA 'Win32_USBControllerdevice'";
Console.WriteLine(q.QueryStrin*g); w = new ManagementEventWatcher(scope, q);
w.EventArrived += new EventArrivedEventHandler(we.Us*bEventArrived); w.Start(); Console.ReadLine(); // block main thread for test purposes } catch(Exception e) { Console.WriteLine(e.Message); } finally { w.Stop(); } } public void UsbEventArrived(object sender, EventArrivedEventArgs e) { //Get the Event object and display it foreach(PropertyData pd in e.NewEvent.Properties) { ManagementBaseObject mbo = null; if(( mbo = pd.Value as ManagementBaseObject) != null) { foreach(PropertyData prop in mbo.Properties) Console.WriteLine("{0} - {1}", prop.Name, prop.Value); } } }
}
event gets fired if anything is plugged in usb port 1)But the same event gets fired if device is inserted or removed.. so inside this event i wanna detect if device got inserted or removed........CAN ANYONE HELP ME?????? 2)also i wanna find Total storage (capacity) and Available storage(unused) of device........CAN ANYONE HELP ME??????
THANX This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Amir Hardon |
last post by:
I am dynamically adding rows to a table, and each row have a button which
removes it.
I have successfully implemented this for mozilla but I'm having troubles
with IE, here is how I did it:
...
|
by: code_wrong |
last post by:
Hi
Firefox does not support the IE specific 'event' identifier and just quits
running the script.
..... even though the identifier only turns up in code marked for IE only ...
Does this seem...
|
by: sanjana |
last post by:
hi
i wanna detect if a anything is connected to the usb port
I am using system.management class for tht purpose
this is my code
class usbdetect
{
public static void Main()
{
usbdetect we =...
|
by: Russell Smallwood |
last post by:
Hello all,
Why can't I wire up an event during the "Raise PostBackEvent" stage of a
postback?
Just in case this is the wrong question, the situation:
deep in the bowls of some code-behind...
|
by: |
last post by:
I am having trouble figuring out to call a database INSERT procedure from a
simple submit form.
It appears I should use the onclick event to trigger the procedure called
BUT when I do this I...
|
by: Lee |
last post by:
I am getting this error trying to run a win forms .net app using the .net 2.0
serial port control. This occurs when the app tries to open the port. I knwo
this is some type of security access...
|
by: Paul |
last post by:
I want to run MySQL on server but it only be accessible to programs on
localhost. I see that port 3306 is open on server so I need to close
it.
How do I do that while keeping it available to...
|
by: Peter Michaux |
last post by:
Hi,
I just did a bunch of testing and was surprised with the results. If
anyone doesn't know this stuff here is what I found about
event.clientX.
The event.clientX property in Safari is in...
|
by: =?Utf-8?B?UmljaA==?= |
last post by:
On a form - I have a datagridview which is docked to the entire form. The
datagridview allows users to Delete and/or Add Rows. On the Form_Load event
I Fill the datagridview source table with a...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
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
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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,...
|
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,...
| |