473,765 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Driver Files in C++

dex
Hi,
Is it possible to write driver files in C++? if not why...

thanks,

Feb 27 '06 #1
5 2592
dex wrote:
Is it possible to write driver files in C++?


Yes.

Feb 27 '06 #2
TB
dex skrev:
Hi,
Is it possible to write driver files in C++? if not why...

thanks,


Why wouldn't it be? With the right support any langauge could
write device drivers.

--
TB @ SWEDEN
Feb 27 '06 #3

dex wrote:
Hi,
Is it possible to write driver files in C++? if not why...


http://netlab.ru.is/exception/LinuxCXX.shtml

Feb 27 '06 #4

TB wrote:
dex skrev:
Hi,
Is it possible to write driver files in C++? if not why...

thanks,


Why wouldn't it be? With the right support any langauge could
write device drivers.


That's untrue. Some languages require that you access the OS functions;
some OS require that you don't access OS functions from drivers.

Standard C++ says nothing about this, so it's left to each
implementation.
In practice, most drivers can be written in "any language that looks
like C",
e.g. a subset of C++. /Which/ subset again depends on the
implementation.

HTH,
Michiel Salters

Feb 27 '06 #5
Mi************* @tomtom.com wrote:

TB wrote:
dex skrev:
> Hi,
> Is it possible to write driver files in C++? if not why...
>
> thanks,
>


Why wouldn't it be? With the right support any langauge could
write device drivers.


That's untrue. Some languages require that you access the OS functions;
some OS require that you don't access OS functions from drivers.

Standard C++ says nothing about this, so it's left to each implementation.
In practice, most drivers can be written in "any language that looks
like C", e.g. a subset of C++. /Which/ subset again depends on the
implementation.


Hmm, now I really wonder what "TB" could have meant by "with the right
support"...

Feb 27 '06 #6

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

Similar topics

6
4929
by: Philip | last post by:
Hi, i'am looking for a db2 driver for windows the DB2 servers runs on as400 if that makes any difference. Thanks, Philip
3
17882
by: David | last post by:
Hello all, I have been trying to use the OCI driver to connect to Oracle 9i, but have been getting the following error: java.sql.SQLException: Closed Connection at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2364) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:480)
1
2987
by: Ajay | last post by:
Hi, Could some please tell me whether Microsoft provides Type 2 and Type 4 jdbc driver ? For Type 4 MS provides com.microsoft.jdbc.sqlserver.SQLServerDriver driver. What is the cofiguration required for type 2 driver and what driver class files required ? Its very urgent to me please reply. Ajay
0
3083
by: Bing | last post by:
Hi, I am configuring the same DB2 v8.1 JDBC universal driver (db2jcc.jar and db2jcc_license_cisuz.jar) from DB2 SP5 fix pack under WSAD 5.1.x environment and WebSphere application Server 5.0.2 on Windows 2000 machines. I configured a connection pool data source using type 4 for a local test environment in WSAD 5.1.x, and a connection pool data source on the WebSphere Server too. Both data sources are accessing the same database.
6
9681
by: Raquel | last post by:
This is the scenario: We have DB2 Connect EE V8.1 installed on Sun sever. On my Windows PC, I have DB2 UDB PE 8.1 installed (Expiry date "Permanent"). When I try to access z/OS data using type 2 driver through a Java program on my PC, works fine. However, when I try to access z/OS data using type 4 driver through a Java program on my PC, it gives a message:
1
2748
by: Tolik Gusin | last post by:
Hello All, Whether supports DB2 UDB 8.2 FP7 for Linux the ODBC-driver ? If yes, whether that enters this driver into delivery DB2 UDB 8.2 FP7 for Linux ? If it is possible, bring please an example of customization of the ODBC-driver for DB2 under Linux. -- Best Regards, Stalker
1
8738
by: MLH | last post by:
I'm running XP. Is it required that a given ODBC driver be selected or set somehow as a default driver? Look at this... Here's the error: Error: ODBC call failed... Datasource not found and no default ODBC driver specified. I think I can work my way around the Datasource, but the default driver thing (#0) - dunno?
2
2021
by: zacks | last post by:
I have an application that uses the Microsoft Text Driver to read ASCII delimited files. Most of the time these files are either CSV or TXT file extension. Recently I needed to read some that had a DAT file extension. When I tried to open it with the Microsoft Text Driver an exception was thrown that said the file was already in use. But if I simply rename the file with a TXT file extension the application opens and reads the file just...
3
22839
by: Anoop | last post by:
Is it true that there are no type 4 jdbc drivers to connect to a DB2 server v7.1? The DB2 server is hosted on ACF2 (OS/390). We would be connecting from windows and solaris boxes. If it is true, what are my options? Will I have to install db2 connect on every client machine that needs to connect to the DB2 servers? Is the DB2 Connect freely available or will we have to purchase it? I have also read on this group that we can install DB2...
7
6650
by: cj2 | last post by:
I'm trying to access VFP 8 tables from VB 2008. How can I determine the version of the VFP OLEDB driver on my PC? What is the latest version?
0
9399
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
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
10007
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
8832
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
7379
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
6649
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
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
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.