Thanks that sounds rather painful to have to go to python.

 

I was hoping there were an easier way. P/Invoke isn't exactly the easiest
thing to use.

 

Also what's the IDE for MC++?

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Preet Sangha
Sent: Saturday, 8 October 2011 3:47 PM
To: ozDotNet
Subject: Re: using win32 C++ Dynamic Dll in .NET

 

Just had a thought. You could use SWIG to generate a python wrapper that
could possibly be used from IronPython 1.1 (CLR 2+) or the 2.7 (CLR4+)

 

On 8 October 2011 17:44, Preet Sangha <[email protected]> wrote:

my suggestion is one of these

 

1. if you need a small subset of the functions write a P/Invoke or MC++
wrapper for the functions you need.

2. If you need to use a large subset of it, recompile it using MC++ with
appropriate exposure to functions you need using MC++

 

 

 

On 8 October 2011 16:28, Tom Gao <[email protected]> wrote:

Hi Everyone,

 

I'm trying to use crypto++ I have found a binary that's compiled using msvc
2005
http://sourceforge.net/projects/cryptopp/files/cryptopp/cryptopp530win32win6
4/cryptopp530win32win64.zip/download

 

However I'm not sure how I can interface it with .NET C#. I know I can't add
it as a reference and I need to create a wrapper class. But surely there're
easier ways to do this than manually creating all the functions. Has anyone
used SWIG http://sourceforge.net/projects/swig/ or any other tools to do
this.

 

Thank you,

Tom





 

-- 
regards,
Preet, Overlooking the Ocean, Auckland





 

-- 
regards,
Preet, Overlooking the Ocean, Auckland

Reply via email to