Share

AcString::kACharPtr

C++

const wchar_t * kACharPtr() const;

Description

Gets a pointer to the current string as a widechar Unicode.

Returns

A pointer to a null-terminated widechar string.

Remarks

The pointer is only valid until this object is next modified.

Links

AcString

Previous Declaration

AutoCAD 2024 and earlier

const ACHAR * kACharPtr() const;

inline const ACHAR * AcString::kACharPtr() const;

History

AutoCAD 2025

Function now returns wchar_t instead of ACHAR.

Was this information helpful?