Hello,
I just recently upgraded my project from 1.8.1 to 1.9.1, and am having issues with the GeomVertexWriter, specifically with giving the writer a name. If I call:
vertex = GeomVertexWriter(pData, “vertex”);
I end up getting the following error when that line is executed:
Unhandled exception at 0x00859931 in test.exe: 0xC0000005: Access violation reading location 0x00000004.
This is the call stack when I see the error:
test.exe!std::_Tree<std::_Tmap_traits<char const *,PointerTo,pointer_hash,pallocator_single<std::pair<char const * const,PointerTo > >,0> >::_Lbound(const char * const & _Keyval) Line 2092 C++
test.exe!std::_Tree<std::_Tmap_traits<char const *,PointerTo,pointer_hash,pallocator_single<std::pair<char const * const,PointerTo > >,0> >::lower_bound(const char * const & _Keyval) Line 1572 C++
test.exe!std::_Tree<std::_Tmap_traits<char const *,PointerTo,pointer_hash,pallocator_single<std::pair<char const * const,PointerTo > >,0> >::find(const char * const & _Keyval) Line 1550 C++
test.exe!InternalName::make<7>(const char[7] & literal) Line 53 C++
I started using the InternalName::make(“vertex”) static function, but this makes no difference. I’m pulling my hair out, because this worked just fine in 1.8.1 and I can’t seem to figure out what I’m doing wrong.
Any help would be very much appreciated.