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





Article #19350: How do I put a Form in a Package?

 Question and Answer Database

FAQ4350C.txt   :How do I put a Form in a Package?
Category   :VCL
Platform    :Win95/NT
Product    :All-CBuilder,   

Question:
How do I put a Form in a Package? When I put a Form in a Package I get
undefined symbols on the Form name I'm trying to use.

Answer:
The declaration of a Form exported from a package needs
to be exported using the PACKAGE keyword. For example,
in MyForm.h, TMyForm would be declared as:

class PACKAGE TMyForm : public TForm
{
...
};

2/10/1999 3:04:13 PM
 

Last Modified: 01-SEP-99