Mungkin ada teman2 yang bisa bantu ?

saya punya masalah waktu mengakses method dari application server (MIDAS)
dengan menggunakan early binding.

Help dari Delphi yang berjudul : "calling server interfaces" menyebutkan

When you are using DCOM or CORBA as a communications protocol, you can use
early binding of AppServer calls. Use the as operator to cast the AppServer
variable to the IAppServer descendant you created when you
created the remote data module. For example:

with MyConnection.AppServer as IMyAppServer do

  SpecialMethod(x,y);

Tapi code di atas sama sekali gak bisa dicompile di Delphi 6 di mesin saya.
Compilernya selalu menyebutkan :
Operator not applicable to this operand type. Seems like the as operator
can't be used against the variant type (TCustomRemoteServer.Appserver adalah
variant).

Ada yang bisa kasih direction, apa masalahnya ? saya sudah install
UpdatePack 2 untuk delphi 6 (the build number is: 6.240).

salam

Jonathan L.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/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