ODBC and Linux with Borland C++ 5 Standard Edition

Posted on 2003-03-07
Medium Priority
Last Modified: 2008-03-06
I need to write an application which can access an SQL database. The decision which one to take is not yet done. I want to make my program as platform independant as possible.

The thing is, when I start work using the Borland C++ 5 compiler, will my program ever be able to be compiled successfully on a Linux system?
Is the Borland C++ 5 Standard compiler capable of opening ODBC connections? I want to write my own SQL Strings and I don't a DB designer or something like that. I just want to send and read data using pure SQL.

I'm not experienced with C++ at all, but learned much about C and Java. My choice was C++ because of its OO capabilities in combination with all the options C offers, as a compromise between these both.
That's why I'm asking questions like these. ;-)

I'm not a bloody beginner. I have most experience in VB6 (nearly 2.5 years), but I want to get far, far away from VB.
Question by:zzconsumer
1 Comment
LVL 22

Accepted Solution

Mohammed Nasman earned 200 total points
ID: 8093202
  ODBC is Microsoft technology for Windows, so I'm not sure if it's works in Linux

  I'm not working Borland C++, just Borland Delphi, in Delphi you can Compile your application under Linux using Kylix, also in Kylix 3, it's support C++ language under Linux
  as I said, I haven't worked with BC++, but if I'm right, BC++ support the ANSI C and C++, so if you use standard C++ it will compile under linux, but if you use Borland library that's comes with BC++, I don't think that will compile under linux except if there's an edition of BC++ for Linux

Best regards
Mohammed Nasman

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question