[C++-SIG] Playing with CXX 5.0b
mark.mcmahon at eur.autodesk.com
mark.mcmahon at eur.autodesk.com
Sun Dec 3 19:04:10 CET 2000
Hi,
I just downloaded this for SourceForge.
I tried an extremely simple app (I never tried cxx before - so please flame me if I am doing something completely wrong!)
Below is my short sample - I get a "Breakpoint" exception when the PyObject* p is being decreffed in Release().
Got an idea?
Details - MSVC++6 (sp3), Python 2.0
Mark
//-------------------------------------------
#include "stdafx.h"
#pragma warning(disable: 4786)
#include "..\CXX\Objects.hxx"
#include "python.h"
#include <iostream>
int main(int argc, char* argv[])
{
Py_Initialize();
Py::String str("my string");
Py_Finalize();
return 0;
}
//-------------------------------------------
More information about the Cplusplus-sig
mailing list