Re: [C++-sig] Specified procedure could not be found

2012-06-21 Thread Nagaraju
3:23 PM, Niall Douglas wrote: > With DW it's not so much that the libraries are present, but to check > that there are no failed symbol imports. Your error suggests a failed > symbol import. > > Niall > > On 21 Jun 2012 at 14:34, Nagaraju wrote: > > > Hi Niall, &g

Re: [C++-sig] Specified procedure could not be found

2012-06-21 Thread Nagaraju
PM, Niall Douglas wrote: > You might find Microsoft's Dependency Walker useful. > > http://www.dependencywalker.com/ > > Niall > > > On 21 Jun 2012 at 10:01, Nagaraju wrote: > > > Hi All, > > > > I have written a C++ DLL. That DLL depends on

[C++-sig] Specified procedure could not be found

2012-06-20 Thread Nagaraju
Hi All, I have written a C++ DLL. That DLL depends on some other libraries. I have kept all those dependent libraries in the release folder. Now in a seperate project in Visual Studio 2008, I used BOOST Python and called a function from one of the classes in C++ DLL. It is compiling fine (compil

Re: [C++-sig] Accessing Class Member Function from Python

2012-06-09 Thread Nagaraju
Hi All, Sorry for spamming. I got it worked. Regards, Raju. On Sat, Jun 9, 2012 at 11:28 AM, Nagaraju wrote: > Hi Nat and All, > > I have created a TestProject.pyd file and imported it into Python as > import TestProject > planet = TestProject.MyClass() > planet.add(1,1) >

Re: [C++-sig] Accessing Class Member Function from Python

2012-06-08 Thread Nagaraju
et.add(int(1),int(1)) ArgumentError: Python argument types in MyClass.add(MyClass, int, int) did not match C++ signature: add(int, int) Python version is: 2.7 Can anybody tell me how to resolve this issue? Thanks in advance. Regards, Raju. On Wed, Jun 6, 2012 at 7:08 PM, Nagaraju wrote:

Re: [C++-sig] Accessing Class Member Function from Python

2012-06-06 Thread Nagaraju
Hi Nat, Thank you very much for the reply. I tried making the target as ".pyd" and I am able to import it in Python script. Thanks again. Regards, Raju. On Wed, Jun 6, 2012 at 6:57 PM, Nat Linden wrote: > On Wed, Jun 6, 2012 at 6:57 AM, Nagaraju > wrote: > > > Tha

Re: [C++-sig] Accessing Class Member Function from Python

2012-06-06 Thread Nagaraju
I do this? Regards, Raju. On Wed, Jun 6, 2012 at 4:20 PM, Nat Linden wrote: > On Wed, Jun 6, 2012 at 5:09 AM, Nagaraju > wrote: > > > I wrote a wrapper class in the same file as BOOST_PYTHON_MODULE(hello). > > > > Now when I compiled this DLL, I get Test.DLL. > &g

[C++-sig] Accessing Class Member Function from Python

2012-06-06 Thread Nagaraju
Hi, I have written a sample DLL in C++. It has a class and functions for add, sub, mul and div. I wrote a wrapper class in the same file as BOOST_PYTHON_MODULE(hello). Now when I compiled this DLL, I get Test.DLL. Now from Python, I wrote a script to load this Test.DLL. How can I access add, s