Programming and animation
Programming and animation ideas, articles, tutors, scripts, plugins in the 3d-
OR SDK and STL string
Posted on 6 February 2010 Neill No commentsOR SDK and STL string together generate a 118 error when compiling from error C2365: ‘operator new’: redefinition; previous definition was ‘function’It seems to be why they combine, because in the OR SDK has a class for the line – FBString. However, with such a challenge comes when you want to connect third-party libraries or their development, often it’s all tied to the STL string and get rid of that there is no possibility.OR SDK and STL string together generate 118 errors when compiling from error C2365: ‘operator new’: redefinition; previous definition was ‘function’
It seems that there is no reason to combine them, because in the OR SDK there is a class for the string – FBString. However, such a challenge comes when you want to connect third-party libraries or own development, often it’s all tied to the STL string and get rid of that there is no possibility.
MotionBuilder, Programming C++, OpenReality, SDK, string, Tips -
FBString, be careful
Posted on 31 July 2009 Neill No commentsWhen working with FBString revealed one feature – the constructor does not initialize the string memory. Ie if you do not assign a variable value and want to use it, you get an error. While the familiar course when the string class assign empty string value by default in constructor, but in the case of FBString this is empty pointer.
MotionBuilder, Programming C++, SDK, string -
Python. String operations
Posted on 29 July 2009 Neill No comments
Quite often I have contact with the objects through their names, and accordingly I perform various operations with a text variable. Now I show several important things about strings in Python.
MotionBuilder, Programming Python, Script, string

English
Russian
Recent Comments