CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BCB3]Using VCL and MFC



Hi! All:
I want TForm class useing MFC 
  
#include <vcl.h>
#pragma hdrstop
#include <mfc\afx.h>
#include "Unit1.h"
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
__fastcall TForm1::TForm1(TComponent* Owner)
    : TForm(Owner)
{
}
void __fastcall TForm1::FormCreate(TObject *Sender)
{
 CFile *cMyFile;
}

But Bcb 3.0 compiler Error! Why?
Please Help Me.
Thank.

W Komornicki's Home Page | Main Index | Thread Index