borland

DLL plugin that creates a parented window doesn't handle messages correctly

I'm creating a plugin framework, where my application loads a series of plugin DLL's, then creates a new window and pass this new window's handle to the plugin. The plugin can, then, use this handle to create their own GUI. Everything seems to be working very well. The only problem is that when I press TAB on a plugin widget (An editbox...

How to keep track of the references to an object?

In a world where manual memory allocation and pointers still rule (Borland Delphi) I need a general solution for what I think is a general problem: At a given moment an object can be referenced from multiple places (lists, other objects, ...). Is there a good way to keep track of all these references so that I can update them when the o...

Why is Borland C++ better than Visual C++

Why is Borland C++ better than VC++? ...

How do I get a particular labeled version of a folder in Borland StarTeam?

I'm about to perform a bunch of folder moving operations in StarTeam (including some new nesting levels) and I would like to set a label so that I can roll back in case of issues. I figured out how to set a label on a folder and all its children, but I couldn't figure out how to get the version of that folder corresponding to that parti...

Testing StarTeam operations

In a Java application I need to checkout files from Borland Starteam 2006 R2 using Starteam API by various parameters (date, label). Is there any framework that helps to write automatic tests for such functionality? ...

How do you increase the maximum heap size for the javac process in Borland JBuilder 2005/2006

In most modern IDEs there is a parameter that you can set to ensure javac gets enough heap memory to do its compilation. For reasons that are not worth going into here, we are tied for the time being to JBuilder 2005/2006, and it appears the amount of source code has exceeded what can be handled by javac. Please keep the answer specifi...

What is the comparative robustness of C++ Builder versions?

Our development team work with Borland C++ Builder 6 and CodeGear C++ Builder 2007 (as well as Visual Studio). I hear a lot of comments that the Builder 2007 IDE crashes a lot more than BCB6 does. Does anyone out there have any experience of the C++ Builder 2009 IDE yet, particularly with a decent size application, and if so how does thi...

Calculate client-server time difference in Borland Starteam server 8

Problem. I need a way to find Starteam server time through Starteam Java SDK 8.0. Version of server is 8.0.172 so method Server.getCurrentTime() is not available since it was added only in server version 9.0. Motivation. My application needs to use views at specific dates. So if there's some difference in system time between client (whe...

Borland x86 inlined assembler; get a label's address?

Hello I am using Borland Turbo C++ with some inlined assembler code, so presumably Turbo Assembler (TASM) style assembly code. I wish to do the following: void foo::bar( void ) { __asm { mov eax, SomeLabel // ... } // ... SomeLabel: // ... } So the address of SomeLabel is placed into EAX. This doesn't ...

Best way to connect to Interbase 7.1 using .NET C#

Hi there, Could someone please explain the best way to connect to an Interbase 7.1 database using .NET/C#? The application will be installed on many end user computers so the less "add-ons" that I will have to package with my application the better. ...

How to check in/out of StarTeam via VBScript?

According to Borland you can access StarTeam via VBScript. I was wondering if anyone had any sample code showing how to do this. ...

Does Visual Studio have anything like Borland's CodeGuard?

Is there anything in Visual Studio that will report memory leaks like Codeguard? eg: Error 00001. 0x300010 (Thread 0x0FA4): Resource leak: The object (0xC65D84) was never deleted The object (0x00C65D84) [size: 4 bytes] was created with new | element2.cpp line 3: | #include "element2.h" | |>CS225::Element2::Element2(int _val) : p_val(...

Borland Dev Studio 2006 Turbo C++ Explorer compile issue

G'day everyone I'm a newbie to C++ and even more so to Borland Turbo C++ Explorer. I've just encountered this compile error. Any clues as to how to fix it? [C++ Error] comsvcs.h(3209): E2015 Ambiguity between 'ITransaction' and 'Oledb::ITransaction' [C++ Error] comsvcs.h(3275): E2015 Ambiguity between 'ITransaction' and 'Oledb::ITrans...

Borland C++: Ambiguity with std

Hello I've been developing a DLL in Visual Studio 2005. At the moment it compiles and does what it's supposed to. However, I wanted to compile it using Borland C++ 2006 because I've heard that is better and makes faster code. When I try to do it I get error messages like this one: E2015 Ambiguity between strcmp(const char *,const char...

Open a Specified File in Excel from a GUI - Borland C++

I am using Borland Builder C++ 2009. I want to add a button to a form that allows the user to open a file in Excel that I specify. I can't think of how to do this. I know how to link with other code and executables -- is there a Microsoft Excel executable that I could use? How could I specify the file then? Any hints on this, or at least...

Unwanted xmlns="" in _di_IXMLNode

I'm creating a xml-file for display in Excel using _di_IXMLDocument. But for some tags I get an unwanted extra (empty) xmlns attribute witch makes the file unreadable for Excel... This is what i do: ... _di_IXMLNode worksheet = workbook->AddChild("Worksheet"); worksheet->SetAttribute("ss:Name",Now().DateString()); ... and this is what...

What is the format of a Borland 5.0 project file?

I have an old Borland project which I would like to port to VS2008. Is there any way to dump, in a human readable format, the source file, compile options and dependency information from a .ide file? I'd like something a bit more comprehensive than the 'Generate Makefile' option. ...

Borland C++ Builder 5 - Cancel Via Escape Key Not Working

I'm having a rather perplexing problem with the Escape key handler on a dialog box in Borland C++ Builder 5. Are there any other requirements for the Escape key to fire a cancel event (other than those I've listed below)? The "Cancel" button (a TBitBtn) has its Cancel property set to true. The "Cancel" button has its Default property ...

Is it possible to convert an OCX file to a TLB file for Borland C++?

I'm trying to automate a build, but the instructions require openning an OCX in Borland C++ Builder and saving it as a TLB. How can I reproduce this process through the command line? ...

How do I build project files and packages for Borland C++ Builder 5 from the command line?

How do I build Borland C++ project files (bpr) and package files (bpk) from the command line? Project groups (bpg) are apparently make files and can be compile with make. But bpks and bprs are xml based and the Export to Makefile won't compile with make. If I put a project in a bpg, make can't seem to find any of the files specified in...