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

Nagaraju srirangamnagaraju at gmail.com
Thu Jun 21 12:09:01 CEST 2012


Hi Niall,

Thanks a lot for your time.

I checked all the DLL's. Everything is showing ok. Only one is, IEFrame.DLL
and in that for one function it is showing red in color. Function name as
"#270".

We are not using that function/DLL anways.

Regards,
Raju.

On Thu, Jun 21, 2012 at 3:23 PM, Niall Douglas <s_sourceforge at nedprod.com>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,
> >
> > 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_sourceforge at 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 at python.org
> > > http://mail.python.org/mailman/listinfo/cplusplus-sig
> > >
> >
>
>
> --
> 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 at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20120621/31125a6a/attachment.html>


More information about the Cplusplus-sig mailing list