高难度!高分 怎么把C++Builder__classid(TForm)转成Delphi 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 支持一下,一样的名字。不过我的注册名更好。 yeeyee BCB://---------------------------------------------------------------------------#ifndef Unit1H#define Unit1H//---------------------------------------------------------------------------#include <Classes.hpp>#include <Controls.hpp>#include <StdCtrls.hpp>#include <Forms.hpp>//---------------------------------------------------------------------------class TForm1 : public TForm{__published: // IDE-managed Componentsprivate: // User declarationspublic: // User declarations __fastcall TForm1(TComponent* Owner);};//---------------------------------------------------------------------------extern PACKAGE TForm1 *Form1;//---------------------------------------------------------------------------#endifdelphi:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs;type TForm1 = class(TForm) private { Private declarations } public { Public declarations } end;var Form1: TForm1;implementation{$R *.dfm}end. class TMYCollection: public TCollectionItem;class TYCollections: public TCollection;tmp = new TMYCollections(sCon, __classid(TMYCollection)); tmp = TMYCollections(sCon, TMYCollection); 错了,是tmp = TMYCollections.Create(sCon, TMYCollection); 寻问一个关于进程理论上的问题. xml中如何得到某个字段的最大值 如何通过程序访问邮箱,也就是说在程序窗体中填写好用户名和密码登录后在网页中打开。 一个LISTTREE的打印问题 介绍一本深入学习VCL的书籍 谁有FASTREPORT的简单例子,有中文注释的更好!谢谢!!! 如何自动从一篇文章中找到章节名称,自动生成目录,还要知道章节的页码。 请问如何从数据库中读取数据,替换文本型文件中的数据? 寻求xpcontrols控件包 两个笨问题 MDIform的问题 怎么在程序中输入数据库查询条件
不过我的注册名更好。 yeeyee
//---------------------------------------------------------------------------#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
delphi:
unit Unit1;interfaceuses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;type
TForm1 = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.dfm}end.
tmp = TMYCollections.Create(sCon, TMYCollection);