Главная страница | назад

Article #19623: Porting FirstImpressions ActiveX control from BCB1 to BCB4

 Question and Answer Database

     FAQ: FAQ4623C - Porting FirstImpressions ActiveX control from BCB1 to BCB4
Category: ActiveX/OLE/COM/ActiveForm
Platform: All-32Bit
 Product: All-CBuilder,   


I have written an application in C++Builder 1.0 and I have now ported it
to C++Builder 4.0.  Everything seems to work properly except a form
which contained a FirstImpressions Chart control which was included with
C++Builder 1.0.  Apparently this control has been changed or maybe no
longer exist but there is an OCX with the same name.  If I try to import
the old FirstImpressions OCX the compiler tells me that it already exist
with that name. How can I solve this?


When you import the Control, you can change the name in the 'ClassName' memo
in the Import dialog. That's the way to import Controls with clashing names.
However, changing the name will require that your form changes its
references to that control. You may try to find out what's already with that
name on the palette and removing its package first. This will avoid the need
to change references in the Form.

6/16/99 2:54:26 PM

Last Modified: 01-SEP-99