borland

Compilation

My source code doesn't get compiled when i specify the compiler as Borland C. It gets compiled when the compiler is selected as Microsoft Visual Express. Once it gets compiled under Microsoft Visual Express, only then,it gets compiled under Borland C. Why is this happening? ...

set com.borland.dx.dataset.Column editable

hi, I use in an old java application some borland components (com.borland.dx.dataset.Column, com.borland.dbswing.JdbTable, ...). I don`t want that anybody is able to change the values of one column. So I used column0.setEditable(false); But now I have the problem, if I add a new row to the Table, I can't edit it :-). So how is it possi...

TADoConnection and pooling

Hello, I am working on all application that uses multiple threads that access a sql server 2005 db, i am currently using implicit connections by setting up the connection string property of the TADOQuery object, but that seems to open a lot of connections to the database. We need to reduce the number of connections that a single instanc...

how do i setup Borland C++ for OpenGL?

I am new to OpenGL. I want to setup my Borland c++ for openGL on Windows XP SP2. When I include windows.h or GL/glut.h I get "error: directory not found." I tried to include windows.h by using quotes as well as the angled brackets. How do I setup my PC for OpenGL application development? ...

Convert C++Builder AnsiString to std::string via boost::lexical_cast

For a school assignment I have to implement a project in C++ using Borland C++ Builder. As the VCL uses AnsiString for all GUI Components I have to convert all of my std::strings to AnsiString for the sake of displaying. std::string inp = "Hello world!"; AnsiString outp(inp.c_str()); works of course but is a bit tedious to write and ...

Default File Layout in Codegear C++ Builder (and Delphi)

I've had a major annoyance with the Borland/Codegear C++ Builder IDE for some time now. When I code I always use a standard layout for the code files. I have a standard header that I use, including, ie. the Licens of the file, filename, date, etc. But I haven't been able to find anywhere to insert this, so that when I - for instance - c...

What is the difference between bcc32 and bcc32ide in borland?

We are seeing a slight difference in how bcc32 and bcc32ide behave on a file. bcc32ide works and bcc32 crashes. Would there be any detrimental side effects to switching to bcc32ide for our automated builds? Also what is the difference between these two compilers? (other than one crashes and one doesn't) ...

BDS2006, C++: How to make own form template for creating dialogs?

When you create dialog in BDS IDE it's derived from TForm class and it's just an empty form. As our system has a GUI standard for how all forms should look like it would be nice to make a template and use it as a base for future dialogs instead of plain TForm. For example all our dialogs have our custom component with buttons aligned t...

How to compile RES file from commandline (Delphi 7)

I never worked with Delphi before, so maybe the question looks a simple minded, But I need to change FileVersion in RES resource file parameter from command line... Many thanks. ...

Borland c++ version 0.7 is it still available?

Hello, My cousin is actually asking me if it's still available but I can't find that version, since it's too old, he's complaining about version 5.5 saying that it doesn't recognize his libraries. Is there any link? I doubt but I thought I'll give it a shot. 0.7 is way too old i know :D thank you. ...

Migrating Borland C++ to C#

I have to execute project where I need to migrate Borland C++ code to C#, what are the important steps I need to follow for smooth migration of code? and please suggest any kind of Tips and Tricks? ...

Generating preprocessed files using bcc32

Does anyone know what the command line option is to generated a preprocessed file using bcc32.exe (version 5.6.4)? I know that using gcc you can use -E to generate .i files. ...

Explicitly Linking to Classes in DLL's

Hello, I have a class that is currently in a .lib file: class __declspec(dllexport) ReportData { public: list<FileData *> ReportFileData; list<SupressionData *> ReportSupressionData; static char *ClientName; static char *DataRecieved; std::string GenFileConfTemplate(); ~ReportData() ...

How to import external dll library to Borland C++ 6?

I build an application in Borland C++ 6 and I'd like to import external, non Borland library (FFTW, to be exact, http://www.fftw.org). I have downloaded the fftw dll file, used the implib.exe program to build a lib file known to Borland, included fftw.h in source and copied fftw.h to Borland/include, fftw.lib to Borland/lib and .h, .dll ...

Borland Can't Compile, what is going on, I can't even get started

C:\BORLAND\BCC55\BIN>bcc32 hello.cpp Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland hello.cpp: Error E2209 hello.cpp 2: Unable to open include file 'iostream' Error E2090 hello.cpp 6: Qualifier 'std' is not a class or namespace name in fun ction main() Error E2379 hello.cpp 6: Statement missing ; in function main() *** 3 er...

JBuilder 2006 multiple encodings

Hi, I just got a project in Borland JBuilder 2006 that I cannot even build. I have two resource files, one with Simplified Chinese text and the other in Traditional Chinese. When I try to build the project the text is misinterpreted and it sees an "illegal escape character". Now if I set the encoding in Project -> Project Properties ->...

How can I configure Vim to compile C code using Borland's compiler on Windows?

I am new to the text editor Vim. I want to use it for programming C. I am using Windows and the bcc32 compiler from Borland. I cannot seem to get my C code to compile. I think something is wrong with my setup. Can someone give step by step information on how to setup Vim for compiling using BCC? ...

any code conversion tool for converting borland c++ to visual studio C++

I have a old windows application written in borland C++ 5.0. this uses the OWL library very much in it's code. this has to be ported to Visual studio 2005/2008 (C++ or C#). search in google shows lot of links but nothing quite concrete or useful. can anyone show the correct direction to start this? also share any pitfalls or best practic...

Delphi 3 to SQL 2008

One my clients has a system written in Delphi 3 and the database is Paradox. My job is to convert it to use SQL Server 2008. How can I make it connect to SQL 2008? This is pretty old stuff, I know. I appreciate the help. Thanks ...

Borland C++ localization

I am currently using Codegear RAD Studio 2007. One of my company clients' decided that he would be interested in localized version of our software (to Russian - I don't know if it matters, that we won't be able to use standard windows code page). As a part of our software we are using RAVE to generate some reports. Is there any solution...