Thanks to all for the help. Had to specify use namespace OpenBabel; and it worked perfectly.
-- Peter -- View this message in context: http://forums.openbabel.org/Cannot-create-objects-using-C-API-tp4655946p4655956.html Sent from the General discussion mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss