Delphi

Direct Commands to Printer - Passthrough/Escape

Author: Embarcadero USA Technical Information Database TI1497D.txt - Direct Commands to Printer - Passthrough/Escape Category :Printing Platform :All-32Bit Product :All32Bit, Description: Although Delphi's TPrinter unit makes it easy to interface to a given printer, there are times when you may need to drop down to the printers level and send device specific escape sequences. Under…
Read more
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…
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 *ptr; ptr=NULL; try { *ptr=5; } catch(...) { cerr << "Caught exception" <"throw" somewhere for you to…
Read more
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…
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