Message 1 of 5

Not applicable
08-30-2016
07:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In objectARX program, to list and select AutoCAD plot device, there are two ways I found:
// Returns the device name or PC3 file name
class AcPlPlotConfigInfo's deviceName() method,
ACPL_PORT const ACHAR * deviceName() const;
// Returns an array of all available plot devices found on the system.
class AcDbPlotSettingsValidator's plotDeviceList() method.
virtual Acad::ErrorStatus plotDeviceList(AcArray<const ACHAR *> & deviceList) = 0;
But the strings returned by them can't be freed with acutDelString(), does that mean memory leak?
Solved! Go to Solution.