Dear All,
Kenapa code di bawah ini menghasilkan 2 hal yang berbeda ya ?

procedure TStFrm.ActivateDQuery( dbm: TDataModule, nI: Integer );
var
  oQry: TZMySqlQuery;

begin
   oQry :=  dbm.Components[nI] as TZMySqlQuery; //--> ini yang buat error
   oQry.Active := True;
end;

kalau saya simpan di dalam .dll, maka muncul error Invalid class typecast
sedangkan bila include-kan ke dalam project, bisa jalan dengan baik ?
Mohon bantuannya, apa yang salah dengan code tsb.
Terima kasih.



Regards,


Sobari  Tanuwijaya
ICQ# 141027563

-------------------------------------------------------------------------------------------------------------------------
-------
           Trust is the highest form of human motivation.
It brings out the very best in people but it takes time and patience.


[Non-text portions of this message have been removed]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Upgrade to 128-Bit SSL Security!
http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/i7folB/TM
---------------------------------------------------------------------~->

Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


Kirim email ke