Re: EuCOM : Attn Matt : String Return Value
- Posted by Matt Lewis <matthewwalkerlewis at ?mail.com> Oct 05, 2007
- 722 views
Rad wrote: > > It is available for download as shareware from > http://www.atma-software.com/1crypt/index.html > This is really strange. I can get all of the members to work, except for EncryptString and DecryptString. Both of those give an error, and they crash if you call any combination of the two multiple times. It all worked fine using VBA and C#. But now it gets really weird. If I translate using Watcom (OW1.7) then it works. I tried wrapping the COM calls and translating to a dll, then using open_dll, etc, and if I run my onecrypt.exw using the interpreter, then it doesn't work. If I translate it and call the dll that way, then it works. This makes no sense to me. Perhaps the author could explain it. Are we (the calling application) expected to instantiate some interface? I tend to doubt this. I thought that maybe there was some difference between the way it was being called when translated vs interpreted (not that I could imagine what that difference might be), but I figured that by putting all of that code into a dll (i.e., eucom.ew, onecrypt.ew) that the problem would resolve itself. But apparently not. It's a truly bizarre thing that I can't explain. Matt