Robert Dailey <rcdailey <at>
gmail.com> writes:
> However, the above results in the following exception if I pass a pointer
> type to the 'global' parameter in my AddGlobal function. Note that the
> pointer type is that of a user defined class, like Interface*:First-chance
> exception at 0x7d4e2366 in Crusades_Debug.exe: Microsoft C++ exception:
> boost::python::error_already_set at memory location 0x0012ed44..
> Anyone know why this is happening? I haven't exposed the class in question
> (class Interface) through class_(). Could this be the problem?
Please try to compile in release mode to see if it works.