Mike

You could try via CacheObject's Static method.

Private mF As CacheObject.Factory
Private mObj As Object
Private StrCon As String
Set mF= New CacheObject.Factory
StrCon=mF.Connect("cn_iptcp:127.0.0.1[1972]:USER")
Set mObj=mF.Static("%SYSTEM.Encryption")
somevar=mObj.AESEncode(text,key)

Let us know the results

Regards
Sukesh Hoogan

http://personal.vsnl.com/sukesh_hoogan



Mike Hershberger <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm trying to use the Cache Object Factory to expose the
%SYSTEM.Encryption
> class to a VB6 project.  I keep getting the message 'Failure to create
> %SYSTEM.Encryption. <METHOD DOES NOT EXIST>OpenObjectEx+8^%apiOLE' when
> trying to use Factory.OpenId or Factory.New with %SYSTEM.Encryption as the
> class name.  The connection to Cache was established successfully using
> Factory.Connect.  Does anyone have any thoughts on why this might be
> happening?  I can provide the code if needed.  Thanks.
>
> Mike
>
>



Reply via email to