library Project1;{ Important note about DLL memory management: ShareMem must be the
  first unit in your library's USES clause AND your project's (select
  Project-View Source) USES clause if your DLL exports any procedures or
  functions that pass strings as parameters or function results. This
  applies to all strings passed to and from your DLL--even those that
  are nested in records and classes. ShareMem is the interface unit to
  the BORLNDMM.DLL shared memory manager, which must be deployed along
  with your DLL. To avoid using BORLNDMM.DLL, pass string information
  using PChar or ShortString parameters. }uses
  SysUtils,
  Classes,adodb;{$R *.res}
  function conndb(pw,user,db,computer:string):boolean;stdcall;
  var connection:tadoconnection;
    connstr:string;
  begin
      try
    connection:=tadoconnection.Create(self);//---------------------提示此处未定义
    connstr:= 'Provider=SQLOLEDB.1;Password='+pw+';Persist Security Info=True;User ID='+user+';Initial Catalog='+db+';Data Source='+computer;
    connection.ConnectionString:=  connstr;
    connection.LoginPrompt:=false;
    connection.Connected:=true;
    result:=true;
    except
    result:=false;
    end;
  end;
  exports conndb;
begin
end.编译时提示未定义"SELF"
请问:
1,可以在DLL里用CREATE来创建控件的吗?
2,如果可以的话,怎解决上面的未定义的问题?
3,SELF的作用主要是什么.