C++

Displaying an error string from GetLastError.

Author: Embarcadero USA Technical Information Database TI2459C.txt Displaying an error string from GetLastError. Category :General Platform :All Product :Borland C++ All Description: Displaying an Error Message with GetLastError GetLastError is a WIN32 API that returns an error code indicating the most recent error. The most recent error will be set by the failing…
Read more
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 ======= ==…
C++

Filtering Your DataSet in C++Builder

Author: Embarcadero USA Technical Information Database TI2367C.txt Filtering Your DataSet in C++Builder Category :General Platform :All Product :C++Builder All Description: Filtering your DataSet In C++ Builder Filtering lets you specify criteria to…
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 from System::AnsiString to Char*". Below is my code. What am I doing wrong? String s; char* ch; s…
Read more
C++

C++Builder WinExec() and CreateProcess()

Author: Embarcadero USA Question and Answer Database FAQ1378C.txt C++Builder WinExec() and CreateProcess() Category :Windows API Platform :All Product :C++Builder 1.x Question: I am updating my code for Win32 and changing my WinExec() calls to…
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++

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 considering designing a database application using Delphi and the BDE. Prerequisites A basic knowledge or interest in Paradox…
Read more