I tried your suggestion and, while I no longer get the <METHOD DOES NOT
EXIST> error, it still doesn't work.  I spoke with a support technician who
suggested creating a wrapper class of my own that exposes the
%SYSTEM.Encryption class.  I should then be able to use the object factory
to interface with the class I create and do the encryption that way.  Thanks
for the suggestion.

Mike

"Sukesh Hoogan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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