Limitations with Borland C++ Builder

When you first install the Common Dialog ActiveX control into the Borland C++ Builder IDE, you will get an error message during the library build process. The error message will be "Integer Constant Too Large", and will refer to the constant DLG_IMG_AUTOPROCESS. In the file \cbuilder\lib\ltdlg14n.pas, change the line:

DLG_IMG_AUTOPROCESS = -2147483648;

to

DLG_IMG_AUTOPROCESS = $80000000;

Then, rebuild the component library using the Component | Rebuild Library menu item. When prompted to save \cbuilder\lib\ltdlg14n.pas, choose "Yes".