Hi Niall,

I have used the DW and all the libraries are present.

The same code works, if I use LoadLibrary in C++. But when I try to build
the C++ DLL code with extention ".pyd", it is throwing error.

FYI, the C++ Class names are mangled.

Regards,
Raju.

On Thu, Jun 21, 2012 at 2:30 PM, Niall Douglas <s_sourcefo...@nedprod.com>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 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 (compiling it as .pyd), but when I try to import
> this
> > in python with "import PythonSample", it is throwing following error.
> >
> > Import Error: DLL Load Failed: The specified procedure could not be
> found.
> >
> > Can you tell me, how to find what went wrong? I tried googling it, but
> > could not find suitable solution.
> >
> > I am using Python 2.7 version.
> >
> > Thanks for your time.
> >
> > Regards,
> > Raju.
> >
>
>
> --
> Technology & Consulting Services - ned Productions Limited.
> http://www.nedproductions.biz/. VAT reg: IE 9708311Q.
> Work Portfolio: http://careers.stackoverflow.com/nialldouglas/
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig@python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to