• [v8i MDL] Can I use 'new' instead dlmSystem_mdlMalloc to dynamically allocate memory for an array of DPoint3d?

    Nabil Kherouf
    Nabil Kherouf
    Hi All I've been using the 'new' operator to allocate vectors as follows: DPoint3d *pnts = new DPoint3d[_size_]; ........ delete [] pnts; My question is: is it safer to use dlmSystem_mdlMalloc and dlmSystem_mdlFree to allocate and free memory…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i MDL] Can I use 'new' instead dlmSystem_mdlMalloc to dynamically allocate memory for an array of DPoint3d?

    Nabil Kherouf
    Nabil Kherouf
    Hi All! I've been using the 'new' operator to allocate vectors as follows: DPoint3d *pnts = new DPoint3d[_size_]; ........ delete [] pnts; My question is: is it safer to use dlmSystem_mdlMalloc and dlmSystem_mdlFree to allocate and free memory…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • View related content throughout MicroStation Programming
  • More
  • Cancel