|
-
Jun 11th, 2009, 09:40 AM
#1
Create wrapper
*Edit* More info in the 2nd post *end edit*
First off, I'm using LotusScript, not VBScript, but they're fairly similar, so I figured I would post here.
I've been using CAPICOM.dll in some code to encrypt data being passed between servers. The code works on 32 bit systems but fails on 64 bit.
I've done some research and everyone says to use dllhost.exe to create a wrapper for the CAPICOM.dll and it should work. I have no idea where to start with this.
I've tried looking up wrapper examples, but am stumped on exactly what I need to do in this instance. Most examples I've seen just have a comment about a wrapper and then create a shell object.
Any help at all would be appreciated.
Last edited by kfcSmitty; Jun 12th, 2009 at 02:14 PM.
-
Jun 12th, 2009, 02:13 PM
#2
Re: Create wrapper
Ok, so after some more research, it seems I cannot do this natively in LotusScript since it is running x64 the entire time. What I think I need to do, is write a dll in C++ and call the capicom.dll methods from in there.
Then I need to compile the wrapper on a 64 bit system and it will call the 32 bit dll...Does that make any sense or sound right at all?
-
Jun 12th, 2009, 04:39 PM
#3
Re: Create wrapper
Makes total sense. Sounds about right too... sounds similar to something I did back in the 16->32 bit change... I wrote a 32-bit wrapper around 16-bit ODBC so that MS Exchange forms could use a database we were using at the time. It worked then... don't see why it wouldn't here.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|