s not registered, and so CoCreateInstance was giving
out a -ve value on loading the dll, and this function was accessing vectors
that were not initialized by the previous function.
Thanks for the help!
On Mon, Mar 22, 2010 at 10:44 AM, Jim Bosch wrote:
> On Fri, 2010-03-19 at 14:45 +0800, hites
The definition for the CFunctionRequest is CFunctionRequest(BYTE* pRequest,
DWORD* pLength)
This is where the problem occurs. Above this, it works fine.
Do let me know if some more info is needed.
Thanks.
On Fri, Mar 19, 2010 at 2:50 PM, Jim Bosch wrote:
> On Fri, 2010-03-19 at 14:45 +080
ssion: Vector subscript out of range
Surprisingly, this error only occurs when a particular function is called,
Until that point, the code works perfectly.
Could someone guide me what to do??
--
Regards,
Hitesh Dhiman
Electrical Engineering
National University of Sing
Hi Jim
Thanks...thats what i'm trying to do right now. Will post if any problems
occur.
On Fri, Mar 19, 2010 at 11:22 AM, Jim Bosch wrote:
> On Fri, 2010-03-19 at 10:56 +0800, hitesh dhiman wrote:
> >
> >
> > -- Forwarded message ------
> > From: h
-- Forwarded message --
From: hitesh dhiman
Date: Thu, Mar 18, 2010 at 11:39 AM
Subject: passing pointers from python
To: Development of Python/C++ integration ,
boost-us...@lists.boost.org
Hi all,
i'm trying to wrap c++ functions that have pointer variables. The test
ex
ntly in the wrapper file?
--
Regards,
Hitesh Dhiman
Electrical Engineering
National University of Singapore
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig
wrote:
> On Fri, 2010-03-12 at 12:01 +0800, hitesh dhiman wrote:
> > hi Jim
> > Will it help if i post my jam-root file? Its included below:
> > import python ;
> >
> >
> > if ! [ python.configured ]
> > {
> > ECHO "notice: no Python con
totally ignoring Test1.cpp. Any definition/declaration in
Test1.cpp file doesn't work.
On Fri, Mar 12, 2010 at 11:38 AM, Jim Bosch wrote:
> On Fri, 2010-03-12 at 10:36 +0800, hitesh dhiman wrote:
> > This error occurs when i declare the class constructor in the c++
> > he
This error occurs when i declare the class constructor in the c++ header
file and the definition in the .cpp file. Bjam throws up a LNK2019 error,
unresolved symbol.
But if i declare the class constructor in the header file itself, the code
compiles.
Here's the code:
*Test1.h*
#include
//using na