C++

Linking to Functions in Third-Party DLLs

Author: Embarcadero USA Technical Information Database TI2407C.txt Linking to Functions in Third-Party DLLs Category :General Platform :All Product :Borland C++ All Description: Linking to Functions in Third-Party Dynamic Link Libraries ======= == ========= == =========== ======= ==== ========= The use of dynamic link libraries, or DLLs, is fundamental to Windows…
Read more
C++

Converting an AnsiString to Char*

Author: Embarcadero USA Question and Answer Database FAQ1360C.txt Converting an AnsiString to Char* Category :VCL Platform :All Product :C++Builder 1.x Question: I am trying to convert a String to char* but keep receiving the error: "Cannot cast…
C++

How do I make a ComboBox Read-Only?

Author: Embarcadero USA Question and Answer Database FAQ971C.txt How do I make a ComboBox Read-Only? Category :VCL Platform :All Product :C++Builder 1.x Question: How do I make a ComboBox Read-Only? Answer: The same effect can be achieved by…
C++

Bad object file record in...

Author: Embarcadero USA Question and Answer Database FAQ563C.txt Bad object file record in... Category :Linker Platform :All Product :BC++ 5.x Question: What's a possible cause for the linker error Fatal: Bad object file record in file xxx near module offset 0x00000000 Answer: There are more legitimate means of getting this error, of course, but often when it is at offset zero it…
Read more
C++

Showing a splash screen at startup

Author: Embarcadero USA Question and Answer Database FAQ533C.txt Showing a splash screen at startup Category :VCL Platform :All Product :C++Builder 1.x Question: Where is the best place to open a splash screen on program start up? Answer: The best place to…
C++

Catching an access violation exception

Author: Embarcadero USA Question and Answer Database FAQ1750C.txt Catching an access violation exception Category :C/C++ Language Issues Platform :All Product :BC++ 5.x Question: Why does my attempt at catching an access violation fail? main() { char…
C++

Sharing Violation Error with Paradox Tables.

Author: quinn Technical Information Database TI265B.txt Sharing Violation Error with Paradox Tables Category :General Programming Platform :All Product :BDE All Description: This error is most commonly caused by a "Lock File Contention". A lock file contention occurs in this situation: One user, User "A", is accessing one or more Paradox tables in a directory. "A" is closing…
Read more
C++

Convert Hex String to an Integer Value.

Author: Embarcadero USA Technical Information Database TI2203C.txt Convert Hex String to an Integer Value. Category :General Platform :All Product :C/C++ All Description: This document provides a method to read hexadecimal numbers. The atoi() function…
C++

Output Numbers with Thousands Separator

Author: Embarcadero USA Technical Information Database TI2183C.txt Output Numbers with Thousands Separator Category :General Platform :All Product :C/C++ All Description: How do I output comma-formatted numbers such as 1,000,000 with C++ IOStreams?
C++

How to Build and Use a Simple DLL

Author: Embarcadero USA Technical Information Database TI2195C.txt How to Build and Use a Simple DLL Category :General Platform :All Product :C/C++ All Description: This document discusses how to create dynamically linked libraries (DLLs) using version 5.0 of the Borland C++ compiler. Topics covered include 16-bit and 32-bit DLLs, linking explicitly or linking on startup, exporting…
Read more