Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[V8i MDL] Saved View name length

$
0
0

mdlView_saveNamed() takes a name and description for the saved view.  No mention is made of the maximum length that the function will accept for those strings.

In msdefs.h I found these macros...

#define     MAX_LINKAGE_STRING_LENGTH       512                         /* String length */
#define     MAX_LINKAGE_STRING_BYTES        1024                        /* max number of bytes string in a linkage  */
...
#define     MAX_NAMEDVIEW_NAME_LENGTH       MAX_LINKAGE_STRING_LENGTH
#define     MAX_NAMEDVIEW_NAME_BYTES        MAX_LINKAGE_STRING_BYTES

So a wide-char saved view could have 512 characters in its name?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>