cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

Problems with String functions

Anonymous
Not applicable
Hy there!

I'm having a lot of troubles recently in developing Archicad add-ons because I can't any <string.h> function to work. It seems that when encountering a call to one of these functions, the add-on simply stops. Any ideas?
2 REPLIES 2
Marius wrote:
Hy there!

I'm having a lot of troubles recently in developing Archicad add-ons because I can't any <string.h> function to work. It seems that when encountering a call to one of these functions, the add-on simply stops. Any ideas?
Don't use any standard C/C++ functions in conjunction with the ArchiCAD API. They make assumptions about the string representation that aren't necessarily true (hence the crashes). Use the ArchiCAD API String Manager instead (refer to the GSRoot documentation, subsection on String Manager).
Ralph Wessel BArch
Central Innovation
Anonymous
Not applicable
Thank you!