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…
Delphi

Passing Multidimensional Arrays as Parameters

Author: Embarcadero USA Technical Information Database TI1477D.txt - Passing Multidimensional Arrays as Parameters Category :Object Pascal Platform :All-32Bit Product : Description: Passing an array to a procedure or function is straight forward and behaves as expected. However, passing a multi-dimensional array to a function or procedure is not handled in the same way. Consider…
Read more
C++

BDE and Database Desktop Locking Protocol

Author: Embarcadero USA Technical Information Database TI1437D.txt - BDE and Database Desktop Locking Protocol Category :Database Programming Platform :All Windows Product : Description: Intended Audience This information will be of benefit to anyone…
Delphi

How to dynamically create a TPageControl

Author: Embarcadero USA Technical Information Database TI1321D.txt - How to dynamically create a TPageControl Category :VCL Platform :All-32Bit Product :All32Bit, Description: This document demonstrates how to dynamically add tab sheets (TTabSheet objects) to…
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++

How to call a C++ member function in a DLL

Author: Embarcadero USA Technical Information Database TI2191C.txt How to call a C++ member function in a DLL Category :General Platform :All Product :C/C++ All Description: Calling Member Functions in a DLL ================================= How to call C++…
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? As common as this would seem, C++ IOStreams have no support for this. The function shown in the code sample below serves…
Read more