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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

800 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